planetj.database.possiblevalues
Class UserMessageRow

java.lang.Object
  extended byplanetj.database.Row
      extended byplanetj.database.possiblevalues.UserMessageRow
All Implemented Interfaces:
java.lang.Cloneable, IActionObject, IBatchProcessObject, IBusinessObject, ICSVRow, IFDFObject, IGuarded, INamedCollection, INavigationObject, IPossibleValue, IRowCreator, IXMLObject, java.io.Serializable

public class UserMessageRow
extends Row
implements IPossibleValue

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class planetj.database.Row
Row.SpacingRow
 
Field Summary
 
Fields inherited from class planetj.database.Row
className, 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.database.possiblevalues.IPossibleValue
DISPLAY_ORDER, DISPLAY_VALUE, DISPLAY_VALUE_SQL_TYPE, ERROR_MESSAGE_KEY_DELETE, ERROR_MESSAGE_KEY_INSERT, ERROR_MESSAGE_KEY_UPDATE, FIELD_NAME, KEY, LIBRARY_NAME, OWNER_ID, POSSIBLE_VALUES_TABLE_NAME, SYSTEM_ALIAS, TABLE_NAME, TYPE, TYPE_CONFIG_PROPERTY, TYPE_POSSIBLE_VALUE, TYPE_USER_MESSAGE, TYPE_WOW_UPDATE, USER_MESSAGE_KEY_DELETE, USER_MESSAGE_KEY_INSERT, USER_MESSAGE_KEY_UPDATE, VALUE
 
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
UserMessageRow()
           
 
Method Summary
 java.lang.String getAlias()
          Returns the system alias for the field.
 java.lang.String getDeleteConfirmationMessage()
          Get the delete confirmation message.
 java.lang.String getDisplayValue()
          Returns the display value for the value.
 int getDisplayValueSQLType()
          Returns the display value sql type.
 java.lang.String getExternalName(java.lang.String fieldName)
          Gets the external name of a field
 java.lang.String getFieldFieldSetName(Field field)
          Gets the name of the given Field's FieldSet NOTE: This method will not get called unless you override the isUseRowForFieldSets method to return true.
 java.lang.String getFieldName()
          Returns the field name for the field.
 java.lang.String getKey()
          Returns the key for the field.
 java.util.List getKeyFields()
          Returns the key fields for this Row.
 java.lang.String getLibrary()
          Returns the library for the field.
 java.lang.String getNameOfTable()
          Returns the table for the field.
 java.lang.String getPossibleValuesKey(Field field)
          Gets the possible values key for the given field
 java.lang.String getValue()
          Returns the value for the field.
 boolean isFieldApplicable(Field fld, ExecutingContext ec)
          Tests if a field is applicable in the current scenario
 boolean isFieldDisplayable(Field field, ExecutingContext ec)
          Check to see if this Field is displayable.
 boolean isFieldRequired(Field field, ExecutingContext pContext)
          Tests if a field is required or not.
 boolean isUseRowForFieldSets()
          Check to see if the row should be used to obtain field sets.
 void setAlias(java.lang.String sysAlias)
          Sets the system alias.
 void setDisplayValue(java.lang.String dspValue)
          Sets the display value field.
 void setDisplayValueSQLType(int sqlType)
          Sets the value sql type.
 void setFieldName(java.lang.String fldNam)
          Sets the field name.
 void setKey(java.lang.String key)
          Sets the key.
 void setLibraryName(java.lang.String libNam)
          Sets the library name.
 void setOwnerId(int value)
          Sets the ID of this application's owner
 void setOwnerId(java.lang.Integer value)
          Sets the ID of this application's owner
 void setTableName(java.lang.String tblNam)
          Sets the table name.
 void setType(int type)
          Sets the type.
 void setValue(java.lang.String value)
          Sets the value field.
 boolean validate(ExecutingContext context)
          Validate this Row based on it's configuration and field values.
 
Methods inherited from class planetj.database.Row
add, add, addObject, addPropertyChangeListener, addPropertyChangeListener, addRowEventListener, addRowEventListeners, addTable, addToRowCollection, 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, create, create, create, create, createAction, createNamedActionRequest, createRow, createSQLContextForDelete, createSQLContextForInsert, createSQLContextForUpdate, dataTransferred, defaultMerge, delete, delete, delete, delete, deleteObject, divide, duplicateKey, duplicateKey, enforceExclusiveOr, equals, equals, equalsInstance, fieldHasPossibleValuesSQLOperation, firePropertyChange, fireRowEvent, getActionDefaultLocation, getActionDescriptor, getActionRequest, getActionRequest, getActions, getActionsForFields, getActionsForOperation, getAssociation, getAssociation, getAssociationByOperationUsageId, getAssociationOperation, getAttribute, getAutoIncrementDatabaseDrivenField, getBackgroundColor, getChangedFields, getChildren, getColumnSpan, getCompleteRow, getCompleteRow, getConcurrentFields, getConfigProperty, getCopiedFieldValues, getCreationContext, getCSVRow, getCSVRow, getDatabaseRow, getDatabaseRow, getDatabaseRow, getDatabaseRow, getDBSystem, getDeleteConfirmation, getDisjointRowClass, getDisplayValue, getDisplayValueByUsageId, getDisplayValueForKey, getErrorMessageForOperation, getExternalNames, getFDFData, getFDTable, getField, getField, getField, getFieldAssociationOperation, getFieldCollection, getFieldDefaultValue, getFieldDescriptor, getFieldDescriptor, getFieldDescriptor, getFieldDescriptorsWithUsage, getFieldDescriptorsWithUsageId, getFieldDescriptorWithUsageId, getFieldDisplayComponent, getFieldDisplayOrder, getFieldDisplayValue, getFieldDisplayValue, getFieldExternalName, getFieldFieldClassParameters, getFieldIncrementor, getFieldMaxLength, getFieldNames, getFieldNames, getFieldPossibleValues, getFields, getFields, getFieldSearchDefaultValue, getFieldSets, getFieldsForInsert, getFieldSQLObject, getFieldStatusChange, getFieldsToDisplay, getFieldsToDisplayStrict, getFieldsToDisplayStrict, getFieldStyleClass, getFieldsWithUsageId, getFieldUsageIds, getFieldValue, getFieldValueWithUsageId, getFieldWithUsageId, getHeaderText, getHorizontalAlignment, getJSPFor, getKeyFieldNames, getKeyFields, getLibraryName, getMaxFieldLengths, getMaxFieldLengths, getMaxInsertRetries, getMetaDataSystemAlias, getNamed, getNamed, getNamesOfUpdatedFields, getNavigationKey, getNavigationListKey, getNextOperationToRun, getOperation, getOperation, getOperationFromDB, getOperationFromDBByUsage, getPercentage, getPhysicalFieldNames, getPossibleValueClass, getPossibleValueClass, getPossibleValues, getPossibleValuesOperation, getPropertyChangeSupport, getPropertyGroup, getPropertyGroups, getPropertyGroups, getReplacementFieldsToDisplay, getReplacementFieldsToDisplay, getRequiredFields, getRow, getRowCollection, getRowDisplayAttributes, getRowDisplayAttributes, getRowHandledActionNames, getRowKey, getSecuredTypeId, getSecuredTypeName, getSecurityType, getSQL, getSQLContext, getStaticAttribute, getStaticAttributes, getSum, getSystemAlias, getTabbedOperation, getTable, getTable, getTableName, getTables, getTimestamp, getUpdatedFields, getUserMessageForOperation, getUserMessageForOperation, getUseWOWLibrary, getValidationExceptions, getValueAsBoolean, getValueAsByte, getValueAsDate, getValueAsDate, getValueAsDouble, getValueAsDouble, getValueAsFloat, getValueAsFullLengthString, getValueAsInt, getValueAsInt, getValueAsLong, getValueAsNumber, getValueAsNumber, getValueAsShort, getValueAsString, getValueAsString, getValueAsStringByUsageId, getValueByUsageId, getValueForKey, getValues, getXMLData, getXMLData, getXMLHeaderData, goToNextOperation, handleAction, hasAssociationOperation, hasChildRows, hasMultipleStyleClasses, hasPossibleValuesKeyClassOrOp, hasPossibleValuesOperation, hasPropertyChangeListeners, incrementFieldValue, initializeRow, initializeRow, initializeRow, initializeRow, initializeRow, initializeRow, insert, insert, insert, insert, is, isActionApplicable, isActionRepeatable, isARow, isARowCollection, isChanged, isChanged, isChangedRealTime, isChangedSinceLastCheck, isCloneNeeded, isContainsAllFields, isCopyable, isCurrent, isDeletable, isDistinctRow, isEditable, isEmpty, isFieldAuthorizedForEdit, isFieldAuthorizedForRead, isFieldAutoIncrement, isFieldAutoIncrementDatabaseDriven, isFieldAutoIncrementWOWDriven, isFieldPresent, isFieldReadOnly, isFieldReadOnlyOnSearch, isFieldRequiredOnSearch, isFieldsChanged, isFieldUpdateable, isFieldValueNotBlank, isFieldValuePossibleValue, isFieldValuesDatabaseDefaults, isGenerateChildRows, isGroupByRow, isGuarded, isHasColumnNames, isInARowCollection, isIncrementorResetAfterMaxInsertRetries, isInitializeDerivedFieldEnabled, isInitializeDerivedFieldsEnabled, isJoinedRow, isKeyFieldsPresent, isLogicalRow, isMultipleDeleteEnabled, isParameterRow, isPersistent, isPhysicalRow, isPrepareFieldValue, isPropertyChangeEventsEnabled, isReturningFromPossibleValuesSearch, isRowDisplayable, isRowKeyed, isSelectable, isStatusChange, isToBeSelected, isUnionRow, isUpdateable, isValidateDerivedFields, isValidateRequired, isValidationRequiredForAutoPopulate, isViewable, iterator, joinedDatabaseAccessFailure, joinedDelete, joinedDelete, joinedInsert, joinedInsert, joinedUpdate, joinedUpdate, merge, newField, newField, newField, newField, openFor, persist, populate, populate, populate, populateFD, postCreate, postDelete, postExtract, postInsert, postInsert, postUpdate, postUpdate, preDelete, preInsert, prepareForDetails, prepareForParameters, prepareForResultsDisplay, prepareFromFieldNames, preUpdate, removeField, removeField, removeNavigationKey, removePropertyChangeListener, removePropertyChangeListener, removeRowEventListener, removeRowEventListeners, replaceField, replaceFields, replaceFieldValues, replaceNumbersWithNames, reread, rereadIfNeeded, resetDisplayValues, rollbackChanges, runSQLQuery, runSQLQuery, runSQLStatement, runSQLStatement, setAttribute, setAutoUpdateFieldValues, setCreationContext, setCreationOperation, setFieldInitialValue, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setFieldValueAsString, setFieldValueAsString, setFieldValuesAsDate, setFieldValuesToDefault, setFieldValuesWithCommonFieldNames, setFieldValuesWithCommonFieldNames, setFieldValuesWithCommonFieldNames, setFieldValuesWithCommonUsageIds, setFieldValueToDefault, setMultipleDeleteEnabled, setNavigationKey, setParameterRow, setPersistent, setPropertyChangeEventsEnabled, setPropertyGroups, setReturningFromPossibleValuesSearch, setRowDisplayAttributes, setSavepoint, setSavepoint, setSavepoint, setStaticAttribute, setTables, setTables, setUseWOWLibrary, setValidateDerivedFields, setValidateRequired, setValues, size, splitAndSetFieldValues, statusChanged, swapFieldValues, toCSV, toDOC, toDOC, toFDF, toPDF, toPDF, toString, toUpperCase, toXML, transferDataTo, transferDataTo, update, update, update, update, updateFieldValues, updateGlobalValues, updateObject, validate, validate, validateField, validateRowOperation
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserMessageRow

public UserMessageRow()
Method Detail

setOwnerId

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

Throws:
CMException

setOwnerId

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

Throws:
CMException

getAlias

public java.lang.String getAlias()
                          throws CMException
Returns the system alias for the field.

Returns:
String
Throws:
CMException

getDeleteConfirmationMessage

public java.lang.String getDeleteConfirmationMessage()
Description copied from class: Row
Get the delete confirmation message.

Overrides:
getDeleteConfirmationMessage in class Row

getDisplayValue

public java.lang.String getDisplayValue()
                                 throws CMException
Returns the display value for the value.

Returns:
String
Throws:
CMException

getDisplayValueSQLType

public int getDisplayValueSQLType()
                           throws CMException
Returns the display value sql type.

Returns:
int
Throws:
CMException

getFieldName

public java.lang.String getFieldName()
                              throws CMException
Returns the field name for the field.

Returns:
String
Throws:
CMException

getKey

public java.lang.String getKey()
                        throws CMException
Returns the key for the field.

Returns:
String
Throws:
CMException

getLibrary

public java.lang.String getLibrary()
                            throws CMException
Returns the library for the field.

Returns:
String
Throws:
CMException

getNameOfTable

public java.lang.String getNameOfTable()
                                throws CMException
Returns the table for the field.

Returns:
String
Throws:
CMException

getPossibleValuesKey

public java.lang.String getPossibleValuesKey(Field field)
                                      throws CMException
Gets the possible values key for the given field

Overrides:
getPossibleValuesKey in class Row
Throws:
CMException

getValue

public java.lang.String getValue()
                          throws CMException
Returns the value for the field.

Returns:
String
Throws:
CMException

setAlias

public void setAlias(java.lang.String sysAlias)
              throws CMException
Sets the system alias.

Parameters:
sysAlias - String
Throws:
CMException

setDisplayValue

public void setDisplayValue(java.lang.String dspValue)
                     throws CMException
Sets the display value field.

Throws:
CMException

setDisplayValueSQLType

public void setDisplayValueSQLType(int sqlType)
                            throws CMException
Sets the value sql type.

Parameters:
sqlType - int
Throws:
CMException

setFieldName

public void setFieldName(java.lang.String fldNam)
                  throws CMException
Sets the field name.

Parameters:
fldNam - String
Throws:
CMException

setKey

public void setKey(java.lang.String key)
            throws CMException
Sets the key.

Parameters:
key - String
Throws:
CMException

setLibraryName

public void setLibraryName(java.lang.String libNam)
                    throws CMException
Sets the library name.

Parameters:
libNam - String
Throws:
CMException

setTableName

public void setTableName(java.lang.String tblNam)
                  throws CMException
Sets the table name.

Parameters:
tblNam - String
Throws:
CMException

setType

public void setType(int type)
             throws CMException
Sets the type.

Parameters:
type - int
Throws:
CMException

setValue

public void setValue(java.lang.String value)
              throws CMException
Sets the value field.

Parameters:
value - String
Throws:
CMException

validate

public boolean validate(ExecutingContext context)
                 throws CMException
Validate this Row based on it's configuration and field values.

Overrides:
validate in class Row
Parameters:
context - current context in which application is executing
Returns:
true, if Row and Fields are valid; false otherwise.
Throws:
CMException

getExternalName

public java.lang.String getExternalName(java.lang.String fieldName)
                                 throws CMException
Gets the external name of a field

Overrides:
getExternalName in class Row
Throws:
CMException

getFieldFieldSetName

public java.lang.String getFieldFieldSetName(Field field)
Description copied from class: Row
Gets the name of the given Field's FieldSet NOTE: This method will not get called unless you override the isUseRowForFieldSets method to return true.

Overrides:
getFieldFieldSetName in class Row

isUseRowForFieldSets

public boolean isUseRowForFieldSets()
                             throws CMException
Description copied from class: Row
Check to see if the row should be used to obtain field sets. Subclasses may override to allow field's to have dynamic display order and field set values.

Overrides:
isUseRowForFieldSets in class Row
Throws:
CMException

isFieldRequired

public boolean isFieldRequired(Field field,
                               ExecutingContext pContext)
Description copied from class: Row
Tests if a field is required or not. The default behavior is to ask the FD, but subclasses may override this method and implement a different behavior

Overrides:
isFieldRequired in class Row
Parameters:
field - The whose required status is being tested
pContext - The current executing context which may be null

isFieldDisplayable

public boolean isFieldDisplayable(Field field,
                                  ExecutingContext ec)
                           throws CMException
Description copied from class: Row
Check to see if this Field is displayable.

Overrides:
isFieldDisplayable in class Row
Parameters:
ec - context in which code is running.
Returns:
true if Field is displayable
Throws:
CMException

isFieldApplicable

public boolean isFieldApplicable(Field fld,
                                 ExecutingContext ec)
                          throws CMException
Description copied from class: Row
Tests if a field is applicable in the current scenario

Overrides:
isFieldApplicable in class Row
Parameters:
fld - The field which may or may not be applicable
Throws:
CMException

getKeyFields

public java.util.List getKeyFields()
                            throws CMException
Description copied from class: Row
Returns the key fields for this Row. If this Row does not contain all keys fields from its tables, then null is returned.

Overrides:
getKeyFields in class Row
Throws:
CMException