|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplanetj.database.Row
planetj.database.possiblevalues.UserMessageRow
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 java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UserMessageRow()
Method Detail |
public void setOwnerId(int value) throws CMException
CMException
public void setOwnerId(java.lang.Integer value) throws CMException
CMException
public java.lang.String getAlias() throws CMException
CMException
public java.lang.String getDeleteConfirmationMessage()
Row
getDeleteConfirmationMessage
in class Row
public java.lang.String getDisplayValue() throws CMException
CMException
public int getDisplayValueSQLType() throws CMException
CMException
public java.lang.String getFieldName() throws CMException
CMException
public java.lang.String getKey() throws CMException
CMException
public java.lang.String getLibrary() throws CMException
CMException
public java.lang.String getNameOfTable() throws CMException
CMException
public java.lang.String getPossibleValuesKey(Field field) throws CMException
getPossibleValuesKey
in class Row
CMException
public java.lang.String getValue() throws CMException
CMException
public void setAlias(java.lang.String sysAlias) throws CMException
sysAlias
- String
CMException
public void setDisplayValue(java.lang.String dspValue) throws CMException
CMException
public void setDisplayValueSQLType(int sqlType) throws CMException
sqlType
- int
CMException
public void setFieldName(java.lang.String fldNam) throws CMException
fldNam
- String
CMException
public void setKey(java.lang.String key) throws CMException
key
- String
CMException
public void setLibraryName(java.lang.String libNam) throws CMException
libNam
- String
CMException
public void setTableName(java.lang.String tblNam) throws CMException
tblNam
- String
CMException
public void setType(int type) throws CMException
type
- int
CMException
public void setValue(java.lang.String value) throws CMException
value
- String
CMException
public boolean validate(ExecutingContext context) throws CMException
validate
in class Row
context
- current context in which application is executing
CMException
public java.lang.String getExternalName(java.lang.String fieldName) throws CMException
getExternalName
in class Row
CMException
public java.lang.String getFieldFieldSetName(Field field)
Row
getFieldFieldSetName
in class Row
public boolean isUseRowForFieldSets() throws CMException
Row
isUseRowForFieldSets
in class Row
CMException
public boolean isFieldRequired(Field field, ExecutingContext pContext)
Row
isFieldRequired
in class Row
field
- The whose required status is being testedpContext
- The current executing context which may be nullpublic boolean isFieldDisplayable(Field field, ExecutingContext ec) throws CMException
Row
isFieldDisplayable
in class Row
ec
- context in which code is running.
CMException
public boolean isFieldApplicable(Field fld, ExecutingContext ec) throws CMException
Row
isFieldApplicable
in class Row
fld
- The field which may or may not be applicable
CMException
public java.util.List getKeyFields() throws CMException
Row
getKeyFields
in class Row
CMException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |