|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectplanetj.database.Row
planetj.dataengine.PropertyRow
planetj.dataengine.operation.Operation
planetj.dataengine.sqloperation.SQLOperation
planetj.dataengine.sqloperation.TabbedOperation
| Nested Class Summary |
| Nested classes inherited from class planetj.database.Row |
Row.SpacingRow |
| Field Summary | |
protected static java.util.List |
TAB_OP_APPLICABLE_PROPERTY_GROUPS
|
| Fields inherited from class planetj.dataengine.sqloperation.SQLOperation |
SQL_OP_APPLICABLE_PROPERTY_GROUPS |
| Fields inherited from class planetj.dataengine.operation.Operation |
className |
| Fields inherited from class planetj.database.Row |
DISPLAY_ORDER_COMPARATOR, MODE_ALTER, MODE_COPY, MODE_DELETE, MODE_INSERT, MODE_READ, MODE_SEARCH, MODE_UNKNOWN, MODE_UPDATE, mRowEventListeners |
| Fields inherited from interface planetj.dataengine.security.IGuarded |
TYPE_ID_UNKNOWN, TYPE_NAME_FIELD, TYPE_NAME_SQLOPERATION, TYPE_SECURED_BY_LEVEL, TYPE_SECURED_BY_OPERATION, TYPE_UNSECURED |
| Constructor Summary | |
TabbedOperation()
|
|
| Method Summary | |
protected void |
addTabMagicRequest(IMagicRequest magicr,
java.lang.Object result,
HttpServletRequest req,
HttpServletResponse res)
After this request runs, we need to run another magic request to display the tab data |
protected void |
adjustCurrentRow(IMagicRequest magicr,
java.lang.Object result,
HttpServletRequest req)
Tweak settings on the magic request to support tabs navigation |
void |
adjustRequest(IMagicRequest magicr,
java.lang.Object result,
HttpServletRequest req,
HttpServletResponse res)
Tweak settings on the magic request to support tabs |
protected void |
dataTransferred(Row oldRow)
This method is invoked after this row has data transferred to it from another row. |
java.util.List |
getApplicablePropertyGroupNames()
Gets the names of the applicable property groups for this operation. |
java.lang.String |
getCurrentTab(HttpServletRequest req)
Gets the name of this operation's current tab. |
java.lang.String |
getDetailsJspFile()
Gets this SQLOperation's Details JSP file |
int |
getFieldDisplayComponent(java.lang.String fieldName)
Gets the display component which should be used to display the specified field. |
java.lang.String |
getPossibleValuesKey(Field field)
Gets the possible values SQLOperation for the specified field |
boolean |
isDisplayable(ExecutingContext pEc)
Test if this SQLOperation is displayable |
boolean |
isFieldRequired(Field pField,
ExecutingContext pContext)
Tests if a field is required or not. |
boolean |
isSQL()
Test if this SQLOperation is a SQL type. |
void |
setCurrentTab(java.lang.String tab,
HttpServletRequest req)
Sets the name of this operation's current tab. |
Row |
transferDataTo(java.lang.Class pNewRowClass)
Transfers all the data in this Row into a different Row. |
| Methods inherited from class planetj.dataengine.PropertyRow |
getProperties, getRowPropertyGroup, getRowPropertyGroups, setProperties, setPropertiesInternal, setRowPropertyGroups, transferDataTo, transferPropertiesTo |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface planetj.dataengine.application.IOwner |
getOwnerIdField |
| Methods inherited from interface planetj.dataengine.action.IActionObject |
getActionRequest, getActionRequest, handleAction, isActionApplicable |
| Field Detail |
protected static final java.util.List TAB_OP_APPLICABLE_PROPERTY_GROUPS
| Constructor Detail |
public TabbedOperation()
| Method Detail |
protected void addTabMagicRequest(IMagicRequest magicr,
java.lang.Object result,
HttpServletRequest req,
HttpServletResponse res)
throws CMException
CMException
public void adjustRequest(IMagicRequest magicr,
java.lang.Object result,
HttpServletRequest req,
HttpServletResponse res)
throws CMException
adjustRequest in class Operationmagicr - The magic request invoking this methodresult - The result of executing the magic request
CMException
protected void adjustCurrentRow(IMagicRequest magicr,
java.lang.Object result,
HttpServletRequest req)
throws CMException
CMExceptionprotected void dataTransferred(Row oldRow)
Operation
dataTransferred in class SQLOperationpublic java.util.List getApplicablePropertyGroupNames()
getApplicablePropertyGroupNames in class SQLOperationpublic java.lang.String getCurrentTab(HttpServletRequest req)
getCurrentTab in class Operationpublic java.lang.String getDetailsJspFile()
getDetailsJspFile in class Operation
public int getFieldDisplayComponent(java.lang.String fieldName)
throws CMException
Row
getFieldDisplayComponent in class RowCMException
public java.lang.String getPossibleValuesKey(Field field)
throws CMException
Row
getPossibleValuesKey in class RowCMExceptionpublic boolean isDisplayable(ExecutingContext pEc)
Operation
isDisplayable in class Operation
public boolean isFieldRequired(Field pField,
ExecutingContext pContext)
Row
isFieldRequired in class RowpField - The whose required status is being testedpContext - The current executing context which may be nullpublic boolean isSQL()
Operation
isSQL in class Operation
public void setCurrentTab(java.lang.String tab,
HttpServletRequest req)
setCurrentTab in class Operation
public Row transferDataTo(java.lang.Class pNewRowClass)
throws CMException
Row
transferDataTo in class RowpNewRowClass - The new type of Row to copy the data to.
CMException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||