|
|||||||||||
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
Represents an operation that can be executed. An operation may be contained in an Application, or may run independent of any Application. Note that a single Operation object is often shared by multiple users of an Application, so user specific data should not be stored in an Operation.
Nested Class Summary |
Nested classes inherited from class planetj.database.Row |
Row.SpacingRow |
Field Summary | |
static java.lang.String |
className
Class name. |
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 | |
Operation()
|
Method Summary | |
void |
adjustRequest(IMagicRequest mr,
java.lang.Object result,
HttpServletRequest req,
HttpServletResponse res)
Some magic requests may invoke this method to adjust their settings |
AbstractAction |
createAction(java.lang.String name,
ExecutingContext ec)
Create an action for the given action name. |
IMagicRequest |
createMagicRequest(Field basedOnField,
Row basedOnRow,
HttpServletRequest request,
HttpServletResponse response)
Creates a MagicRequest for viewing this operation. |
IMagicRequest |
createMagicRequest(HttpServletRequest request,
HttpServletResponse response)
Creates a MagicRequest for viewing this operation. |
IMagicRequest |
createMagicRequest(java.lang.String id,
Field basedOnField,
Row basedOnRow,
HttpServletRequest request,
HttpServletResponse response)
Deprecated. id no longer needed - used createMagicRequest(Field, Row, request, response) |
IMagicRequest |
createMagicRequest(java.lang.String id,
HttpServletRequest request,
HttpServletResponse response)
Deprecated. id no longer needed used createMagicRequest(request, response) |
IMagicRequest |
createMagicRequest(java.lang.String id,
Row row,
HttpServletRequest request,
HttpServletResponse response)
Deprecated. method is no longer supported |
Row |
createRow(Row row)
Initializes this SQLOperation as it is retrieved from the DB |
protected SQLContext |
createSQLContextForDelete(ExecutingContext ec)
Creates a new SQLContext which will be used for deleting this row. |
protected SQLContext |
createSQLContextForInsert(ExecutingContext ec)
Creates a new SQLContext which will be used for inserting this row. |
protected SQLContext |
createSQLContextForUpdate(ExecutingContext ec)
Creates a new SQLContext which will be used for updating this row. |
protected void |
dataTransferred(Row oldRow)
This method is invoked after this row has data transferred to it from another row. |
java.lang.Object |
execute()
Executes this operation. |
java.lang.Object |
execute(ExecutingContext ec)
Executes this operation from the given executing context and Field. |
java.lang.Object |
execute(ExecutingContext ec,
Field field)
Executes this operation from the given executing context and Field. |
java.lang.Object |
execute(ExecutingContext ec,
Row row)
Executes this operation from the given executing context and Row. |
java.lang.Object |
execute(Field field)
Executes this operation from the given executing context and Field. |
java.lang.Object |
execute(Field field,
Row row,
ExecutingContext ec)
Executes this operation from the given executing context and Row. |
java.lang.String |
getActionDefaultLocation()
Gets the default location for OperationActions |
ActionDescriptor |
getActionDescriptor(AbstractAction action)
Gets the action descriptor for the specified action |
java.util.List |
getActions(ExecutingContext ec)
Get a List of the actions this object supports. |
java.util.List |
getActionsForType(java.lang.String type)
Gets any actions for the given type of action that this operation contains. |
Application |
getApplication()
Gets the Application assoicated with this Operation (may be null if there is no such application). |
int |
getApplicationId()
Gets the ID of this SQLOperation's Application |
java.lang.Integer |
getApplicationIdAsInteger()
Gets the ID of this SQLOperation's Application |
int |
getAutoRunId()
Gets the autorun ID of this SQLOperation |
AutoRunOperation |
getAutoRunOperation()
Get this operation's auto-run operation, which describes how and if this operation should be automatically run. |
int |
getAutoRunStatus()
Gets the autorun status of this operation. |
RowCollection |
getChildren()
Gets the children Operations of this Operation (may be null if Operation does not have any children) |
java.lang.String |
getConnectionAlias()
Get the alias of the system where this Operation's data is located. |
java.lang.String |
getConnectionAlias(boolean checkApp)
Get the alias of the system where this Operation's data is located. |
ConnectionRow |
getConnectionRow()
Gets the ConnectionRow assoicated with this Operation |
ConnectionRow |
getConnectionRow(boolean checkApp)
Gets the ConnectionRow assoicated with this Operation |
java.lang.String |
getCSSLinkClass()
Gets the CSS class to use when displaying this operation's link in the TOC |
java.lang.String |
getCurrentTab(HttpServletRequest req)
Gets the name of this operation's current tab. |
java.lang.String |
getDefaultOperationCode()
Return a default string to use on the operation field. |
java.lang.String |
getDeleteConfirmationMessage()
Get the message used when deleting an operation. |
RowCollection |
getDependants()
Gets the dependant Operations of this Operation (may be null if Operation does not have any children) |
Operation |
getDependsOn()
Gets the Operation this Operation depends on (may be null if Operation does not depend on another Operation) |
int |
getDependsOnId()
Get the id of the Operation this Operation depends on. |
java.lang.Integer |
getDependsOnIdAsInteger()
Get the id of the Operation this Operation depends on. |
java.lang.String |
getDetailsJspFile()
Gets the JSP used to display this SQLOperation's details |
java.util.List |
getDisplayColumns()
Gets the display columns as Strings in a List |
java.lang.String |
getDisplayColumnsAsString()
Gets the display columns, separated by commas in a String |
java.lang.String[] |
getDisplayColumnsAsStringArray()
Gets the display columns as Strings in an Array. |
java.lang.String |
getDisplayLocation()
Gets this operation's display location, which section in the layout it should be listed. |
int |
getDisplayOrder()
Gets this SQLOperation's display order. |
int |
getDisplayRule()
Field for future expansion. |
int |
getExecutionRule()
Gets the execution rule, either PROMPT_THEN_EXECUTE or EXECUTE_THEN_PROMPT |
java.lang.Object |
getFieldDefaultValue(Field field,
ExecutingContext ec)
Get the field's default value as a String. |
int |
getId()
Gets the id of this Operation |
java.lang.Integer |
getIdAsInteger()
Gets the id of this operation. |
java.lang.String |
getInstructions()
Gets this Operation's instructions |
java.lang.String |
getJspFile()
Gets this Operation's JSP file |
java.lang.String |
getLabel()
Gets the label for this SQLOperation . |
LayoutDisplayPropertyGroup |
getLayoutProperties()
Gets this Operation's layout properties. |
java.lang.String |
getNavigationSuffix()
Gets the navigation suffix to use for this operation. |
IOperationContext |
getNewContext()
Gets a new IOperationContext for this operation. |
IOperationContext |
getNewContext(Field field,
Row row,
ExecutingContext ec)
Gets a new IOperationContext for this operation. |
protected IOperationContext |
getNewContextInternal()
Deprecated. |
protected IOperationContext |
getNewContextInternal(Field field,
Row row,
ExecutingContext ec)
Gets a new IOperationContext for this operation. |
static java.lang.Class |
getOperationClass(int operationType)
Gets the Operation java class which should be used to represent an operation of the specified type |
java.lang.String |
getOperationCode()
Gets this Operation's code |
java.util.List |
getOperationHandledActionNames(ExecutingContext ec)
Get a List of names of actions handled by this Operation. |
java.lang.String |
getOperationSetName()
Gets this SQLOperation's operation set name. |
java.lang.String |
getOriginalInstructions()
Gets this Operation's instructions, exactly as they were entered by the user before any parameter substitution |
java.lang.String |
getOutputAlias()
Gets this SQLOperation's Output Alias |
int |
getOwnerId()
Gets the owner ID of this SQLOperation |
Field |
getOwnerIdField()
Returns the Owner Id Field |
java.lang.String |
getParametersJspFile()
Gets the JSP used to query the user for this Operation's parameters |
Operation |
getParent()
Gets the parent Operation of this Operation (may be null if Operation does not have a parent) |
int |
getParentId()
Get the parent id of this Operation. |
java.lang.Integer |
getParentIdAsInteger()
Get the parent id of this operation. |
java.lang.String |
getPropertyFieldName()
Get the name of the Field containing this Row's properties.. |
java.lang.Class |
getRowClass()
Gets the Row class to use when this SQLOperation's query is run (may be null) |
java.lang.String |
getRowClassName()
Gets the name of the Row class to use when this SQLOperation's query is run (may be null) |
java.lang.Class |
getRowCollectionClass()
Gets the RowCollection class to use when this SQLOperation's query is run (may be null) |
java.lang.String |
getRowCollectionClassName()
Gets the name of the RowCollection class to use when this SQLOperation's query is run (may be null) |
int |
getRowCount()
Gets the row count to use when retrieving rows for this SQLOperation |
PropertyGroupList |
getRowPropertyGroups()
Gets this SQLOperation's operation set name. |
int |
getSecurityId()
Gets the security ID of this SQLOperation |
int |
getSecurityType()
Check whether this Operation is protected (secured) |
java.lang.String |
getTitle()
Gets the title for this Operation, exactly as it was entered by the user, before parameter substitution |
java.lang.String |
getTitleForDisplay()
Gets the title for this Operation, exactly as it was entered by the user, before parameter substitution |
int |
getType()
Gets the type of this Operation. |
int |
getUsageId()
Gets the usageId of the field. |
java.lang.String |
getUserMessageForOperation(int changeCount,
int mode)
Returns a message for the user based on the Mode of the Row |
boolean |
hasDependants()
Tests to see if this Operation has any dependant operations. |
protected void |
initializeRow(java.util.List fieldNames,
ExecutingContext ec)
Creates Fields for this Row for the given List of field names based upon the Row's Table's FieldDescriptors. |
int |
insert(SQLContext context)
Inserts this Row into its table. |
boolean |
isAllowDeletes()
Tests whether or not rows can be deleted from this results of this SQLOperation if this SQLOperation is a query |
boolean |
isAllowDetails()
Tests whether or not the details of a row in this ListView can be viewed |
boolean |
isAllowInserts()
Tests whether or not rows can be inserted into the results of this SQLOperation |
boolean |
isAllowUpdates()
Tests whether or not the results of this SQLOperation can be updated, if this SQLOperation is a query |
boolean |
isAssociation()
Check if this Operation is an association. |
boolean |
isAuthentication()
Test if this SQLOperation is a Authentication type. |
boolean |
isAuthorizedForExecution(ExecutingContext ec)
Test for authority to execute this operation. |
boolean |
isAutoPopulate()
Test if this SQLOperation is an Auto Populate. |
boolean |
isAutoRunOperation()
Tests if this operation is an autorun operation. |
boolean |
isBlobDownload()
Test if this SQLOperation is a Blob Download. |
boolean |
isChild()
Test to see if this Operation has a parent Operation. |
boolean |
isContextCurrent(IOperationContext context)
Test if the context was created from this operation, and if the contents of the context are still valid. |
boolean |
isDependant()
Test to see if this Operation depends on another Operation. |
boolean |
isDisplayable(ExecutingContext pEc)
Test if this SQLOperation is displayable |
boolean |
isDisplayRule(int displayRuleId,
ExecutingContext ec)
Check to see if this operation is part of the given layout section. |
boolean |
isExecutionGroup()
Check to see if this operation is an execution group. |
boolean |
isFileUpload()
Test if this SQLOperation is a File Upload. |
boolean |
isHide()
Test if this operation should be hidden from the menus. |
boolean |
isHtml()
Tests if this operation is an HTML operation |
boolean |
isHTMLAssociation()
Check if this Operation is an HTML assocation type. |
boolean |
isHtmlCode()
Check to see if this operation is HTML code. |
boolean |
isHtmlCodeAssocation()
Check to see if this operation is an HTML code association. |
boolean |
isHtmlReference()
Check to see if this operation is a HTML reference. |
boolean |
isHtmlReferenceAssociation()
Check to see if this operation is an HTML reference association. |
boolean |
isJava()
Tests if this operation is an Java operation |
boolean |
isJavaAssociation()
Check to see if this operation is a Associated Java Operation |
boolean |
isJSPReference()
Check to see if this operation is a JSP reference. |
boolean |
isJSPReferenceAssociation()
Check to see if this operation is a JSP reference. |
boolean |
isOneToManyAssociation()
Test if this SQLOperation is a 1-Many association. |
boolean |
isOneToOneAssociation()
Test if this SQLOperation is a 1-1 association. |
boolean |
isParent()
Test to see if this Operation has any children Operations. |
boolean |
isPleaseWait(ExecutingContext ec)
Is this operation a please wait operation? |
boolean |
isPossibleValues()
Test if this SQLOperation is a Possible Values type. |
boolean |
isPossibleValuesSearch()
Test if this SQLOperation is a Possible Values Search type. |
boolean |
isPossibleValuesSelector()
Test if this SQLOperation is a PossibleValuesSelector. |
boolean |
isSQL()
Test if this SQLOperation is a SQL type. |
boolean |
isSQLAssociation()
Test if this SQLOperation is a Association type. |
boolean |
isTabDataOperation()
Tests if this is a tab data operation (i.e. |
boolean |
isUserAuthenticationListOperation()
Test if this SQLOperation is a User Authentication List Operation type. |
boolean |
isUserAuthorizationListOperation()
Test if this SQLOperation is a User Authorization List Operation type. |
boolean |
isUserAuthorizationOperation()
Test if this SQLOperation is a User Authorization Operation type. |
boolean |
isUserPromptingRequired()
Does the user need to be prompted for input. |
void |
openForExecution(Row associatedRow,
ExecutingContext ec)
|
protected void |
postDelete(int changed,
ExecutingContext ec)
This method provides a "hook" for altering the current Row after a delete is performed. |
protected void |
postInsert(int changed,
ExecutingContext exContext)
This method provides a "hook" for altering the current row after an insert is performed. |
void |
prepareForRun(IOperationContext context,
ExecutingContext ec)
Invoked on an operation each time prior to its being run. |
void |
setApplicationId(int id)
Sets the id of this operation's application. |
void |
setConnectionAlias(java.lang.String newConnectionAlias)
Sets the connection alias for this operation |
void |
setCurrentTab(java.lang.String tab,
HttpServletRequest req)
Sets the name of this operation's current tab. |
void |
setDefaultOperationCode()
Sets the default operation code for this operation instance. |
void |
setDisplayColumns(java.util.List cols)
Sets the display columns as Strings in a List |
void |
setDisplayColumns(java.lang.String value)
Sets this display columns for this SQLOperation as a String, containing the column names separated by commas |
void |
setDisplayColumns(java.lang.String[] cols)
Sets the display columns as Strings in an Array |
void |
setId(int value)
Sets the id of this Operation |
void |
setId(java.lang.Integer value)
Sets the id of this Operation |
void |
setOperationCode(java.lang.String code)
Sets this Operation's code |
void |
setOwnerId(int id)
Sets the id of this operation's owner. |
void |
setRowClass(java.lang.Class newRowClass)
Sets the Java class to use when retrieving this SQLOperation's rows |
protected void |
setRowClassInternal(java.lang.Class newRowClass)
Sets the Java class to use when retrieving this SQLOperation's rows |
void |
setRowClassName(java.lang.String rowClass)
Sets the Java class to use when retrieving this SQLOperations's rows |
protected void |
setRowClassNameInternal(java.lang.String rowClass)
Sets the Java class to use when retrieving this SQLOperation's rows |
void |
setRowCollectionClass(java.lang.Class newRowCollectionClass)
Sets the Java class to use when retrieving this SQLOperation's row collection |
protected void |
setRowCollectionClassInternal(java.lang.Class newRowCollectionClass)
Sets the Java class to use when retrieving this SQLOperation's row collection |
void |
setRowCollectionClassName(java.lang.String rowCollectionClass)
Sets the Java class to use when retrieving this SQLOperation's row collection |
protected void |
setRowCollectionClassNameInternal(java.lang.String rowCollectionClass)
Sets the Java class to use when retrieving this listview's row collection |
void |
setRowCount(int value)
Sets this SQLOperation's row count |
void |
setUsageId(int usageid)
Gets the usageId of the field. |
Row |
statusChanged(Field pField,
ExecutingContext ec)
Invoked when a status change takes place on of this Row's fields. |
java.lang.String |
toString()
Returns a String representation of this Row. |
int |
update(java.sql.Connection conn,
ExecutingContext ec)
Updates the database with the values in this Row. |
boolean |
validate(ExecutingContext ec)
Validate this Operation. |
protected boolean |
validateOperationCode(ExecutingContext ec)
Validate the operations code. |
Methods inherited from class planetj.dataengine.PropertyRow |
getProperties, getRowPropertyGroup, getRowPropertyGroups, setProperties, setPropertiesInternal, setRowPropertyGroups, setRowPropertyGroupsInternal, transferDataTo, transferPropertiesTo |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface planetj.dataengine.action.IActionObject |
getActionRequest, getActionRequest, handleAction, isActionApplicable |
Field Detail |
public static final java.lang.String className
Constructor Detail |
public Operation()
Method Detail |
public java.lang.String getTitle()
public java.lang.String getTitleForDisplay()
public void adjustRequest(IMagicRequest mr, java.lang.Object result, HttpServletRequest req, HttpServletResponse res) throws CMException
mr
- The magic request invoking this methodresult
- The result of executing the magic request
CMException
public AbstractAction createAction(java.lang.String name, ExecutingContext ec)
IActionObject
createAction
in interface IActionObject
createAction
in class Row
public java.lang.String getDeleteConfirmationMessage()
getDeleteConfirmationMessage
in class Row
public final IMagicRequest createMagicRequest(java.lang.String id, HttpServletRequest request, HttpServletResponse response) throws CMException
CMException
public final IMagicRequest createMagicRequest(java.lang.String id, Row row, HttpServletRequest request, HttpServletResponse response) throws CMException
CMException
public final IMagicRequest createMagicRequest(Field basedOnField, Row basedOnRow, HttpServletRequest request, HttpServletResponse response) throws CMException
CMException
public final IMagicRequest createMagicRequest(java.lang.String id, Field basedOnField, Row basedOnRow, HttpServletRequest request, HttpServletResponse response) throws CMException
CMException
public IMagicRequest createMagicRequest(HttpServletRequest request, HttpServletResponse response) throws CMException
CMException
public Row createRow(Row row) throws CMException
createRow
in interface IRowCreator
createRow
in class PropertyRow
CMException
protected SQLContext createSQLContextForDelete(ExecutingContext ec) throws CMException
createSQLContextForDelete
in class Row
CMException
protected SQLContext createSQLContextForInsert(ExecutingContext ec) throws CMException
createSQLContextForInsert
in class Row
CMException
protected SQLContext createSQLContextForUpdate(ExecutingContext ec) throws CMException
createSQLContextForUpdate
in class Row
CMException
public final java.lang.Object execute() throws CMException
CMException
public final java.lang.Object execute(ExecutingContext ec) throws CMException
ec
- ExecutingContext in which to execute this Operation
CMException
public final java.lang.Object execute(Field field) throws CMException
CMException
public final java.lang.Object execute(ExecutingContext ec, Field field) throws CMException
ec
- ExecutingContext in which to execute this Operationfield
- Field containing a value and Row with values that may be used in execution of this Operation
CMException
public final java.lang.Object execute(ExecutingContext ec, Row row) throws CMException
ec
- ExecutingContext in which to execute this Operationrow
- Row containing values that may be used in execution of this Operation
CMException
public java.lang.Object execute(Field field, Row row, ExecutingContext ec) throws CMException
ec
- ExecutingContext in which to execute this Operationrow
- Row containing values that may be used in execution of this Operation
CMException
public java.lang.String getActionDefaultLocation()
getActionDefaultLocation
in interface IActionObject
getActionDefaultLocation
in class Row
public ActionDescriptor getActionDescriptor(AbstractAction action)
getActionDescriptor
in interface IActionObject
getActionDescriptor
in class Row
public java.util.List getActions(ExecutingContext ec)
IActionObject
getActions
in interface IActionObject
getActions
in class Row
public java.util.List getActionsForType(java.lang.String type) throws CMException
CMException
public Application getApplication() throws CMException
CMException
public int getApplicationId()
public java.lang.Integer getApplicationIdAsInteger()
public int getAutoRunStatus()
public int getAutoRunId()
public AutoRunOperation getAutoRunOperation() throws CMException
CMException
public RowCollection getChildren() throws CMException
getChildren
in class Row
CMException
public java.lang.String getConnectionAlias()
public java.lang.String getConnectionAlias(boolean checkApp)
public ConnectionRow getConnectionRow() throws CMException
CMException
public ConnectionRow getConnectionRow(boolean checkApp) throws CMException
CMException
public java.lang.String getCSSLinkClass()
public java.lang.String getCurrentTab(HttpServletRequest req)
protected void dataTransferred(Row oldRow)
dataTransferred
in class Row
public java.lang.String getDefaultOperationCode()
public RowCollection getDependants() throws CMException
CMException
public Operation getDependsOn() throws CMException
CMException
public int getDependsOnId()
public java.lang.Integer getDependsOnIdAsInteger()
public java.lang.String getDetailsJspFile()
public java.util.List getDisplayColumns()
public java.lang.String getDisplayColumnsAsString()
public java.lang.String[] getDisplayColumnsAsStringArray()
public java.lang.String getDisplayLocation()
public int getDisplayOrder()
public int getDisplayRule()
public int getExecutionRule()
public java.lang.Object getFieldDefaultValue(Field field, ExecutingContext ec) throws CMException
Row
getFieldDefaultValue
in class Row
CMException
public int getId()
public java.lang.Integer getIdAsInteger()
public java.lang.String getInstructions()
public java.lang.String getJspFile()
public java.lang.String getLabel()
public LayoutDisplayPropertyGroup getLayoutProperties()
public java.lang.String getNavigationSuffix()
public final IOperationContext getNewContext() throws CMException
CMException
public final IOperationContext getNewContext(Field field, Row row, ExecutingContext ec) throws CMException
CMException
protected final IOperationContext getNewContextInternal() throws CMException
CMException
protected IOperationContext getNewContextInternal(Field field, Row row, ExecutingContext ec) throws CMException
CMException
public static java.lang.Class getOperationClass(int operationType)
public java.lang.String getOutputAlias()
public java.lang.String getOriginalInstructions()
public java.lang.String getOperationCode()
public void setOperationCode(java.lang.String code) throws CMException
CMException
public java.util.List getOperationHandledActionNames(ExecutingContext ec)
public java.lang.String getOperationSetName()
public int getOwnerId()
public Field getOwnerIdField()
IOwner
public java.lang.String getParametersJspFile()
public Operation getParent() throws CMException
CMException
public int getParentId()
public java.lang.Integer getParentIdAsInteger()
public java.lang.String getPropertyFieldName()
getPropertyFieldName
in class PropertyRow
public java.lang.Class getRowClass()
public java.lang.String getRowClassName()
public java.lang.Class getRowCollectionClass()
public java.lang.String getRowCollectionClassName()
public int getRowCount()
public PropertyGroupList getRowPropertyGroups()
getRowPropertyGroups
in class PropertyRow
public int getSecurityId()
public int getSecurityType()
getSecurityType
in interface IGuarded
getSecurityType
in class Row
public int getType()
public int getUsageId()
public java.lang.String getUserMessageForOperation(int changeCount, int mode)
getUserMessageForOperation
in class Row
(see Row constants to find the modes.
public boolean hasDependants() throws CMException
CMException
protected void initializeRow(java.util.List fieldNames, ExecutingContext ec) throws CMException
initializeRow
in class Row
CMException
public int insert(SQLContext context) throws CMException
insert
in class PropertyRow
CMException
public boolean isAllowDeletes()
public boolean isAllowDetails()
public boolean isAllowInserts()
public boolean isAllowUpdates()
public boolean isAssociation()
public boolean isAuthentication()
public boolean isAuthorizedForExecution(ExecutingContext ec) throws CMException
CMException
public boolean isAutoPopulate()
public boolean isAutoRunOperation()
public boolean isBlobDownload()
public boolean isChild()
public boolean isContextCurrent(IOperationContext context) throws CMException
CMException
public boolean isDependant() throws CMException
CMException
public boolean isDisplayable(ExecutingContext pEc)
public boolean isDisplayRule(int displayRuleId, ExecutingContext ec)
public boolean isExecutionGroup()
public boolean isFileUpload()
public boolean isHide()
public boolean isHtml()
public boolean isHTMLAssociation()
public boolean isHtmlCode()
public boolean isHtmlCodeAssocation()
public boolean isHtmlReference()
public boolean isHtmlReferenceAssociation()
public boolean isJava()
public boolean isJavaAssociation()
public boolean isJSPReference()
public boolean isJSPReferenceAssociation()
public boolean isOneToManyAssociation()
public boolean isOneToOneAssociation()
public boolean isParent() throws CMException
CMException
public boolean isPleaseWait(ExecutingContext ec) throws CMException
CMException
public boolean isPossibleValues()
public boolean isPossibleValuesSearch()
public boolean isPossibleValuesSelector()
public boolean isSQL()
public boolean isSQLAssociation()
public boolean isTabDataOperation()
public boolean isUserAuthenticationListOperation()
public boolean isUserAuthorizationListOperation()
public boolean isUserAuthorizationOperation()
public boolean isUserPromptingRequired() throws CMException
CMException
public final void openForExecution(Row associatedRow, ExecutingContext ec) throws CMException
CMException
public void prepareForRun(IOperationContext context, ExecutingContext ec) throws CMException
CMException
public void setApplicationId(int id) throws CMException
CMException
public void setConnectionAlias(java.lang.String newConnectionAlias) throws CMException
CMException
public void setCurrentTab(java.lang.String tab, HttpServletRequest req)
public void setDefaultOperationCode() throws CMException
CMException
public void setDisplayColumns(java.lang.String[] cols) throws CMException
CMException
public void setDisplayColumns(java.lang.String value) throws CMException
CMException
public void setDisplayColumns(java.util.List cols) throws CMException
CMException
public void setId(int value) throws CMException
CMException
public void setId(java.lang.Integer value) throws CMException
CMException
public void setOwnerId(int id) throws CMException
CMException
public void setRowClass(java.lang.Class newRowClass) throws CMException
CMException
protected void setRowClassInternal(java.lang.Class newRowClass) throws CMException
CMException
public void setRowClassName(java.lang.String rowClass) throws CMException
CMException
protected void setRowClassNameInternal(java.lang.String rowClass) throws CMException
CMException
public void setRowCollectionClass(java.lang.Class newRowCollectionClass) throws CMException
CMException
protected void setRowCollectionClassInternal(java.lang.Class newRowCollectionClass) throws CMException
CMException
public void setRowCollectionClassName(java.lang.String rowCollectionClass) throws CMException
CMException
protected void setRowCollectionClassNameInternal(java.lang.String rowCollectionClass) throws CMException
CMException
public void setRowCount(int value) throws CMException
CMException
public void setUsageId(int usageid) throws CMException
CMException
public Row statusChanged(Field pField, ExecutingContext ec) throws CMException
statusChanged
in class Row
pField
- The field whose status has changedec
- The current executing context
CMException
public java.lang.String toString()
public int update(java.sql.Connection conn, ExecutingContext ec) throws CMException
update
in class PropertyRow
conn
- The connection to use for the update
CMException
public boolean validate(ExecutingContext ec) throws CMException
validate
in class Row
ec
- current context in which application is executing
CMException
protected boolean validateOperationCode(ExecutingContext ec) throws CMException
CMException
protected void postDelete(int changed, ExecutingContext ec) throws CMException
Row
postDelete
in class Row
ec
- current context in which code is running
CMException
protected void postInsert(int changed, ExecutingContext exContext) throws CMException
Row
postInsert
in class Row
CMException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |