planetj.dataengine.application
Class Application

java.lang.Object
  |
  +--planetj.database.Row
        |
        +--planetj.dataengine.PropertyRow
              |
              +--planetj.dataengine.application.Application
All Implemented Interfaces:
Cloneable, IApplication, IApplicationJSPs, IBatchProcessObject, IBusinessObject, ICSVRow, IDistributedExecutableObject, IFDFObject, IGuarded, INamedCollection, INavigationObject, IOwner, IRowCreator, ISecured, IXMLObject, Serializable

public class Application
extends PropertyRow
implements Serializable, IApplication, ISecured, IOwner, IApplicationJSPs

Contains information describing a DataEngine application Creation date: (3/21/2002 1:11:21 PM)

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class planetj.database.Row
Row.SpacingRow
 
Field Summary
 
Fields inherited from class planetj.dataengine.PropertyRow
className
 
Fields inherited from class planetj.database.Row
COPY, DELETE, INSERT, MODE_COPY, MODE_DELETE, MODE_INSERT, MODE_READ, MODE_SEARCH, MODE_UNKNOWN, MODE_UPDATE, READ, UPDATE
 
Fields inherited from interface planetj.dataengine.application.IApplication
APPLICATION_CLASS, APPLICATION_HTTP_ID, APPLICATION_ID, APPLICATION_JSP_FILE, APPLICATION_METADATA_ALIAS, APPLICATION_NAME, APPLICATION_RESULTS_KEY, APPLICATION_TABLE_NAME, AUTO_RUN_STATUS, COMPANY_ID, COMPANY_NAME, CONNECTION_ALIAS, CURRENT_EXECUTING_APPLICATION, CURRENT_WOW_APPLICATION, DESCRIPTION, ERROR_JSP_FILE, INITIAL_VIEW, MANAGE, OPTIONAL_SIGNON, OWNER_ID, PASSWORD, PROPERTIES, SERVLET_URI, SIGN_ON_CLASS, SIGN_ON_OP_ID, SIGN_ON_URI, THEME_ID, USER_ID, VERIFY_CONNECTION
 
Fields inherited from interface planetj.dataengine.security.http.ISecured
SECURED_APPLICATION
 
Fields inherited from interface planetj.dataengine.application.IApplicationJSPs
APPLICATION_ADD_JSP, APPLICATION_DETAILS_JSP, APPLICATION_EDIT_JSP, APPLICATION_ERROR_JSP, APPLICATION_HEADER_JSP, APPLICATION_INVALID_LICENSE_JSP, APPLICATION_JSP, APPLICATION_MESSAGE_JSP, APPLICATION_OPERATIONS_TOC, APPLICATION_RESULTS_JSP, APPLICATION_SIGN_ON_JSP, APPLICATION_TEMPLATE_JSP, APPLICATION_TOC_JSP, APPLICATION_VIEW_JSP
 
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
Application()
           
 
Method Summary
 Row createRow(Row pDefaultRow)
          Creates a new Row.
 SQLOperation createSQLOperation(Map pValues)
          Creates a SQLOperation using the given values and adds it to this Application.
 Class getApplicationClass()
          Gets the Java class for this Application.
 String getApplicationClassName()
          Gets the Java class for this Application.
static Operation getApplicationOperationByUsageId(int usageId, ExecutingContext ec)
          Gets this Operation with the given usage id from the Application in the current executing context.
 SQLOperation getAuthenticationOperation()
          Gets this Application's Operation with a type of Authorization.
 int getAutoRunStatus()
          Gets a constant representing the auto-run status.
 String getCompanyName()
          Gets the company name associated with this secured object
 String getConnectionAlias()
          Gets the connection alias for this application
 ConnectionRow getConnectionRow()
          Gets the ConnectionRow assoicated with this Application
 String getDeleteConfirmationMessage()
          Get the message used when deleting an application.
 String getDescription()
          Gets the description for this application
 String getErrorJsp()
          Gets the name of the JSP used for displaying errors.
 String getHeaderText(ExecutingContext ec)
          Returns information for the user that will be displayed in the header of the Row
 int getId()
          Gets the ID of this application
 Integer getIdAsInteger()
          Gets the ID of this application
 Operation getInitialOperation()
          Gets this application's initial operation (may be null)
 String getJspFile()
          Gets this application's JSP file
 LayoutDisplayPropertyGroup getLayoutProperties()
          Gets this application's layout properties
 String getName()
          Gets the name of this application
 Operation getOperationById(int opId)
          Gets this application's operations for the given usage id.
 Operation getOperationByUsageId(int usageId, ExecutingContext executingContext)
          Gets this application's operations for the given usage id.
 RowCollection getOperations()
          Returns all the SQL Opps for this App.
 RowCollection getOperations(ExecutingContext executingContext)
          Gets this application's operations.
 RowCollection getOperationsByUsageId(int usageId, ExecutingContext executingContext)
          Gets this application's operations for the given usage id.
 int getOwnerId()
          Gets the ID of this application's owner
 Integer getOwnerIdAsInteger()
          Gets the ID of this application's owner
 Field getOwnerIdField()
          Returns the Owner Id Field
 String getPassword()
          Gets the password for this application
 String getProperties()
          Gets the property string associated with this SQLOperation
 String getPropertyFieldName()
          Get the name of the Field containing this Row's properties..
 RefererAuthorizationOperation getRefererAuthorizationOperation()
          Gets this Application's Operation with a type ofn Referer Authorization
 Class getSignOnClass()
          Gets the sign on class for this Application.
 String getSignOnClassName()
          Gets the sign on class for this Application.
 int getSignOnOperationId()
          Gets the sign on operation for this Application.
 String getSignOnURI()
          Gets the uri for signing onto this application
 RowCollection getSQLOperations()
          Deprecated. replaced with getOperations()
 RowCollection getSQLOperations(ExecutingContext executingContext)
          Deprecated. replaced with getOperations(ExecutingContext)
 Theme getTheme()
          Gets the Theme associated with this application.
 int getThemeId()
          Gets the ID of this application's theme.
 Integer getThemeIdAsInteger()
          Gets the ID of this application's theme.
 String getTranslatedName(UserProperties up)
          Gets the translated name of this application
 UserAuthenticationListOperation getUserAuthenticationListOperation()
          Gets this Application's Operation with a type of User Authorization List.
 String getUserId()
          Gets the userid for this application
 String getUserMessageForOperation(int pMode)
          Returns a message for the user based on the Mode of the Row
 boolean hasDisplayableOperation(ExecutingContext executingContext)
          Test if this Application contains a SQLOperation that is displayable
 int insert(SQLContext context)
          Inserts this Row into the specified database.
 boolean isContainSQLOperation()
          Deprecated.  
 boolean isEnabled(AutoRunOperation op)
          Tests if the auto-run operation's type is enabled for this application
 boolean isSignOnOptional()
          Tests if the sign-on for this application is optional
 void setApplicationClass(Class newAppClass)
          Sets the Java class for this Application.
 void setApplicationClassName(String applicationClass)
          Sets the Java class for this Application.
 void setCompanyName(String name)
          Sets the name of this application
 void setConnectionAlias(String newConnectionAlias)
          Sets the connection alias for this application
 void setDescription(String value)
          Sets the description for this application
 void setErrorJspFile(String newJspFile)
          Sets this application's error JSP file
 void setId(int value)
          Sets the ID of this application
 void setId(Integer value)
          Sets the ID of this application
 void setInitialOperation(Operation operation)
          Sets this Application's initial Operation
 void setInitialView(View pInitialView)
          Sets this application's initial view
 void setJspFile(String newJspFile)
          Sets this application's JSP file
 void setName(String name)
          Sets the name of this application
 void setOwnerId(int value)
          Sets the ID of this application's owner
 void setOwnerId(Integer value)
          Sets the ID of this application's owner
 void setPassword(String value)
          Sets the password for this application
 void setSignOnClass(Class newSignOnClass)
          Sets the sign on class for this Application.
 void setSignOnClassName(String name)
          Sets the sign on class for this Application.
 void setSignOnOperationId(int id)
          Sets the sign on operation for this Application.
 void setSignOnURI(String value)
          Sets the URI for signing onto this application
 void setThemeId(int value)
          Sets the ID of this application's theme.
 void setThemeId(Integer value)
          Sets the ID of this application's theme.
 void setUserId(String value)
          Sets the userid for this application
 void startConnections()
          Ensures that all of the connection that this application may use have been started
 String toString()
          Returns a String representation of this Application.
 int update(Connection conn, ExecutingContext ec)
          Updates the database with the values in this Row.
 boolean validate(ExecutingContext pContext)
          Validate this Row based on its configuration and field values.
 
Methods inherited from class planetj.dataengine.PropertyRow
getRowPropertyGroup, getRowPropertyGroups, getRowPropertyGroups, setProperties, transferDataTo
 
Methods inherited from class planetj.database.Row
add, add, addObject, addPropertyChangeListener, addPropertyChangeListener, addRowEventListener, addRowEventListeners, addTable, appendDisplayType, batchProcess, clearFields, clearTables, clearValidationException, clone, cloneRow, commitFieldValues, commitFieldValues, commitFieldValues, concatenateFieldFullLengthValues, concatenateFieldValues, containsField, copy, copyIntoRowFieldsWithCommonFieldNames, copyIntoRowFieldsWithCommonFieldNames, copyIntoRowFieldsWithCommonUsageIds, copyIntoRowFieldsWithGivenFieldNames, copyIntoRowFieldsWithGivenFieldNames, create, create, create, create, create, create, create, create, create, create, create, create, create, create, create, defaultMerge, delete, delete, delete, delete, deleteObject, divide, duplicateKey, equals, equals, equalsInstance, executeDistributedAction, fieldHasPossibleValuesSQLOperation, getAssociation, getAssociation, getAssociationByOperationUsageId, getAssociationOperation, getAttribute, getChildren, getColumnSpan, getCompleteRow, getCompleteRow, getConfigProperty, getCopiedFieldValues, getCSVRow, getCSVRow, getDatabaseRow, getDatabaseRow, getDeleteConfirmation, getDisplayValue, getDistributedRequestorURL, getExternalName, getExternalNames, getFDFData, getFDTable, getField, getField, getField, getFieldDefaultValue, getFieldDescriptor, getFieldDescriptor, getFieldDescriptor, getFieldDescriptorsWithUsage, getFieldDescriptorsWithUsageId, getFieldDescriptorWithUsageId, getFieldDisplayValue, getFieldNames, getFields, getFields, getFieldSets, getFieldSQLObject, getFieldsToDisplay, getFieldsToDisplayStrict, getFieldsToDisplayStrict, getFieldStyleClass, getFieldValue, getFieldWithUsageId, getLibraryName, getMaxFieldLengths, getMaxFieldLengths, getMaxInsertRetries, getMetaDataSystemAlias, getNamed, getNamesOfUpdatedFields, getNavigationKey, getNavigationListKey, getPercentage, getPhysicalFieldNames, getPropertyGroup, getPropertyGroups, getPropertyGroups, getRowCollection, getRowDisplayAttributes, getRowDisplayAttributes, getRowKey, getSecuredTypeId, getSecuredTypeName, getSecurityType, getSQL, getSQLContext, getStaticAttribute, getSum, getSystemAlias, getTable, getTable, getTableName, getTables, getTimestamp, getUpdatedFields, getUseWOWLibrary, getValidationExceptions, getValueAsBoolean, getValueAsByte, getValueAsDate, getValueAsDate, getValueAsDouble, getValueAsDouble, getValueAsFloat, getValueAsFullLengthString, getValueAsInt, getValueAsLong, getValueAsNumber, getValueAsNumber, getValueAsShort, getValueAsString, getValueAsString, getValueByUsageId, getValues, getXMLData, getXMLData, getXMLHeaderData, handleDistributed, hasChildRows, hasMultipleStyleClasses, hasPropertyChangeListeners, insert, insert, insert, is, isARow, isARowCollection, isChanged, isChangedRealTime, isChangedSinceLastCheck, isCloneNeeded, isContainsAllFields, isCopyable, isDeletable, isDistinctRow, isDistributed, isEditable, isEmpty, isFieldApplicable, isFieldAuthorizedForEdit, isFieldAuthorizedForRead, isFieldDisplayable, isFieldReadOnly, isFieldRequired, isFieldRequiredOnSearch, isFieldsChanged, isFieldValueNotBlank, isFieldValuesDatabaseDefaults, isGenerateChildRows, isGroupByRow, isGuarded, isHasColumnNames, isInARowCollection, isIncrementorResetAfterMaxInsertRetries, isInitializeDerivedFieldsEnabled, isJoinedRow, isKeyFieldsPresent, isLogicalRow, isMultipleDeleteEnabled, isPhysicalRow, isPropertyChangeEventsEnabled, isReturningFromPossibleValuesSearch, isRowKeyed, isSelectable, isUnionRow, isValidateRequired, isValidationRequiredForAutoPopulate, isViewable, iterator, merge, newField, newField, newField, newField, populate, postCreate, prepareForDetails, prepareFromFieldNames, removeNavigationKey, removePropertyChangeListener, removePropertyChangeListener, removeRowEventListener, removeRowEventListeners, replaceField, replaceFieldValues, rollbackChanges, setAttribute, setDistributed, setDistributedRequestorURL, setDistributedTargetURL, setFieldInitialValue, setFieldValue, setFieldValue, setFieldValue, setFieldValueAsString, setFieldValueAsString, setFieldValuesAsDate, setFieldValuesToDefault, setFieldValuesWithCommonFieldNames, setFieldValuesWithCommonFieldNames, setFieldValuesWithCommonUsageIds, setFieldValueToDefault, setMultipleDeleteEnabled, setNavigationKey, setPropertyChangeEventsEnabled, setPropertyGroups, setReturningFromPossibleValuesSearch, setSavepoint, setSavepoint, setSavepoint, setStaticAttribute, setTables, setTables, setUseWOWLibrary, setValidateRequired, setValues, size, splitAndSetFieldValues, statusChanged, toCSV, toDOC, toDOC, toFDF, toPDF, toPDF, toString, toUpperCase, toXML, transferDataTo, update, update, update, updateObject, validate, validate, validateRowOperation
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface planetj.dataengine.security.http.ISecured
getSystemAlias
 

Constructor Detail

Application

public Application()
Method Detail

getHeaderText

public String getHeaderText(ExecutingContext ec)
Description copied from class: Row
Returns information for the user that will be displayed in the header of the Row

Overrides:
getHeaderText in class Row
Returns:
String

getDeleteConfirmationMessage

public String getDeleteConfirmationMessage()
Get the message used when deleting an application.

Overrides:
getDeleteConfirmationMessage in class Row

createRow

public Row createRow(Row pDefaultRow)
              throws CMException
Creates a new Row. Information from the database is read into a default Row by the DataEngine; this method is then invoked to get a Row of the correct type based on the information in the default Row. Typically the data in the Row is examined by this method, a Row of the appropriate type is created, and then the transferDataTo() method is used to move the data from the default Row to the newly created Row. Override this method if the type of Row to add needs to be dynamically determined from the retrieved data.

Specified by:
createRow in interface IRowCreator
Overrides:
createRow in class PropertyRow
Parameters:
pDefaultRow - A Row containing data read from the database (it will always be equal to this)
Returns:
A Row which the DataEngine will add to a RowCollection
CMException

createSQLOperation

public SQLOperation createSQLOperation(Map pValues)
                                throws CMException
Creates a SQLOperation using the given values and adds it to this Application. Note: This does not save a SQLOperation to the database.

Parameters:
pValues - Map of values for the newly created SQLOperation
CMException

getApplicationClass

public Class getApplicationClass()
Gets the Java class for this Application.


getApplicationClassName

public String getApplicationClassName()
Gets the Java class for this Application.


getApplicationOperationByUsageId

public static Operation getApplicationOperationByUsageId(int usageId,
                                                         ExecutingContext ec)
                                                  throws CMException
Gets this Operation with the given usage id from the Application in the current executing context.

Parameters:
usageId - usage id of the Operation to get
ec - ExecutingContext in which to retrieve the desired Operation return Operation for the given usage id; Note: if no application is set on the ExecutingContext, then no Operation can be retrieved.
CMException

getAuthenticationOperation

public SQLOperation getAuthenticationOperation()
Gets this Application's Operation with a type of Authorization.


getAutoRunStatus

public int getAutoRunStatus()
Gets a constant representing the auto-run status. If no value is set, the application's auto run status is disabled


getCompanyName

public String getCompanyName()
Description copied from interface: ISecured
Gets the company name associated with this secured object

Specified by:
getCompanyName in interface ISecured

getConnectionAlias

public String getConnectionAlias()
Gets the connection alias for this application


getConnectionRow

public ConnectionRow getConnectionRow()
                               throws CMException
Gets the ConnectionRow assoicated with this Application

CMException

getDescription

public String getDescription()
Gets the description for this application


getErrorJsp

public String getErrorJsp()
Gets the name of the JSP used for displaying errors. If no such value is stored in the database, a default value will be returned.


getId

public int getId()
Gets the ID of this application

Specified by:
getId in interface ISecured

getIdAsInteger

public Integer getIdAsInteger()
Gets the ID of this application


getInitialOperation

public Operation getInitialOperation()
                              throws CMException
Gets this application's initial operation (may be null)

CMException

getJspFile

public String getJspFile()
Gets this application's JSP file


getLayoutProperties

public LayoutDisplayPropertyGroup getLayoutProperties()
Gets this application's layout properties

Specified by:
getLayoutProperties in interface ISecured

getName

public String getName()
Gets the name of this application

Specified by:
getName in interface ISecured

getOperationById

public Operation getOperationById(int opId)
                           throws CMException
Gets this application's operations for the given usage id.

CMException

getOperationByUsageId

public Operation getOperationByUsageId(int usageId,
                                       ExecutingContext executingContext)
                                throws CMException
Gets this application's operations for the given usage id.

CMException

getOperations

public RowCollection getOperations()
                            throws CMException
Returns all the SQL Opps for this App. Creation date: (7/18/2002 5:19:23 PM)

CMException

getOperations

public RowCollection getOperations(ExecutingContext executingContext)
                            throws CMException
Gets this application's operations.

CMException

getOperationsByUsageId

public RowCollection getOperationsByUsageId(int usageId,
                                            ExecutingContext executingContext)
                                     throws CMException
Gets this application's operations for the given usage id.

CMException

getOwnerId

public int getOwnerId()
Gets the ID of this application's owner

Specified by:
getOwnerId in interface ISecured

getOwnerIdAsInteger

public Integer getOwnerIdAsInteger()
Gets the ID of this application's owner


getOwnerIdField

public Field getOwnerIdField()
Returns the Owner Id Field

Specified by:
getOwnerIdField in interface IOwner
Returns:
planetj.database.Field
See Also:
IOwner

getPassword

public String getPassword()
Gets the password for this application


getProperties

public String getProperties()
Gets the property string associated with this SQLOperation

Overrides:
getProperties in class PropertyRow

getPropertyFieldName

public String getPropertyFieldName()
Get the name of the Field containing this Row's properties..

Specified by:
getPropertyFieldName in class PropertyRow

getRefererAuthorizationOperation

public RefererAuthorizationOperation getRefererAuthorizationOperation()
Gets this Application's Operation with a type ofn Referer Authorization


getSignOnClass

public Class getSignOnClass()
Gets the sign on class for this Application. If this is null anyone will be able to use the Application.

Specified by:
getSignOnClass in interface ISecured

getSignOnClassName

public String getSignOnClassName()
Gets the sign on class for this Application. If this is null anyone will be able to use the Application.


getSignOnOperationId

public int getSignOnOperationId()
Gets the sign on operation for this Application.


getSignOnURI

public String getSignOnURI()
Gets the uri for signing onto this application

Specified by:
getSignOnURI in interface ISecured

getSQLOperations

public RowCollection getSQLOperations()
                               throws CMException
Deprecated. replaced with getOperations()

Returns all the SQL Opps for this App. Creation date: (7/18/2002 5:19:23 PM)

CMException

getSQLOperations

public RowCollection getSQLOperations(ExecutingContext executingContext)
                               throws CMException
Deprecated. replaced with getOperations(ExecutingContext)

Gets this application's operations.

CMException

getTheme

public Theme getTheme()
               throws CMException
Gets the Theme associated with this application.

CMException

getThemeId

public int getThemeId()
Gets the ID of this application's theme.


getThemeIdAsInteger

public Integer getThemeIdAsInteger()
Gets the ID of this application's theme.


getTranslatedName

public String getTranslatedName(UserProperties up)
Gets the translated name of this application


getUserAuthenticationListOperation

public UserAuthenticationListOperation getUserAuthenticationListOperation()
Gets this Application's Operation with a type of User Authorization List.


getUserId

public String getUserId()
Gets the userid for this application


getUserMessageForOperation

public String getUserMessageForOperation(int pMode)
Returns a message for the user based on the Mode of the Row

Overrides:
getUserMessageForOperation in class Row
Returns:
String message for the user
See Also:
(see Row constants to find the modes.

hasDisplayableOperation

public boolean hasDisplayableOperation(ExecutingContext executingContext)
                                throws CMException
Test if this Application contains a SQLOperation that is displayable

CMException

insert

public int insert(SQLContext context)
           throws CMException
Inserts this Row into the specified database.

Overrides:
insert in class PropertyRow
Returns:
The number of Rows that were inserted
CMException

isContainSQLOperation

public boolean isContainSQLOperation()
                              throws CMException
Deprecated.  

Test if this Application contains a SQLOperation that is of a SQL type.

CMException

isEnabled

public boolean isEnabled(AutoRunOperation op)
Tests if the auto-run operation's type is enabled for this application


isSignOnOptional

public boolean isSignOnOptional()
Tests if the sign-on for this application is optional


setApplicationClass

public void setApplicationClass(Class newAppClass)
                         throws CMException
Sets the Java class for this Application.

CMException

setApplicationClassName

public void setApplicationClassName(String applicationClass)
                             throws CMException
Sets the Java class for this Application.

CMException

setCompanyName

public void setCompanyName(String name)
                    throws CMException
Sets the name of this application

CMException

setConnectionAlias

public void setConnectionAlias(String newConnectionAlias)
                        throws CMException
Sets the connection alias for this application

CMException

setDescription

public void setDescription(String value)
                    throws CMException
Sets the description for this application

CMException

setErrorJspFile

public void setErrorJspFile(String newJspFile)
                     throws CMException
Sets this application's error JSP file

CMException

setId

public void setId(int value)
           throws CMException
Sets the ID of this application

CMException

setId

public void setId(Integer value)
           throws CMException
Sets the ID of this application

CMException

setInitialOperation

public void setInitialOperation(Operation operation)
                         throws CMException
Sets this Application's initial Operation

CMException

setInitialView

public void setInitialView(View pInitialView)
                    throws CMException
Sets this application's initial view

CMException

setJspFile

public void setJspFile(String newJspFile)
                throws CMException
Sets this application's JSP file

CMException

setName

public void setName(String name)
             throws CMException
Sets the name of this application

CMException

setOwnerId

public void setOwnerId(int value)
                throws CMException
Sets the ID of this application's owner

CMException

setOwnerId

public void setOwnerId(Integer value)
                throws CMException
Sets the ID of this application's owner

CMException

setPassword

public void setPassword(String value)
                 throws CMException
Sets the password for this application

CMException

setSignOnClass

public void setSignOnClass(Class newSignOnClass)
                    throws CMException
Sets the sign on class for this Application. If this is null anyone will be able to use the Application.

CMException

setSignOnClassName

public void setSignOnClassName(String name)
                        throws CMException
Sets the sign on class for this Application. If this is null anyone will be able to use the Application.

CMException

setSignOnOperationId

public void setSignOnOperationId(int id)
                          throws CMException
Sets the sign on operation for this Application.

CMException

setSignOnURI

public void setSignOnURI(String value)
                  throws CMException
Sets the URI for signing onto this application

CMException

setThemeId

public void setThemeId(int value)
                throws CMException
Sets the ID of this application's theme.

CMException

setThemeId

public void setThemeId(Integer value)
                throws CMException
Sets the ID of this application's theme.

CMException

setUserId

public void setUserId(String value)
               throws CMException
Sets the userid for this application

CMException

startConnections

public void startConnections()
                      throws CMException
Ensures that all of the connection that this application may use have been started

CMException

toString

public String toString()
Returns a String representation of this Application.

Overrides:
toString in class Object
Returns:
String

update

public int update(Connection conn,
                  ExecutingContext ec)
           throws CMException
Updates the database with the values in this Row. If concurrent alterations to the database prevent this row from being updated, a ConcurrentAlterationException is thrown.

Overrides:
update in class PropertyRow
Parameters:
conn - The connection to use for the update
Returns:
The number of updated rows
CMException

validate

public boolean validate(ExecutingContext pContext)
                 throws CMException
Validate this Row based on its configuration and field values. If the field values are valid, return true, if not return an exception that encapsulates the error.

Overrides:
validate in class Row
Returns:
true, if Row and Fields are valid; false otherwise.
CMException