planetj.dataengine.theme
Class Theme

java.lang.Object
  |
  +--planetj.database.Row
        |
        +--planetj.dataengine.PropertyRow
              |
              +--planetj.dataengine.theme.Theme
All Implemented Interfaces:
Cloneable, IBatchProcessObject, IBusinessObject, ICSVRow, IDistributedExecutableObject, IFDFObject, IGuarded, INamedCollection, INavigationObject, IOwner, IRowCreator, ITheme, IXMLObject, Serializable

public class Theme
extends PropertyRow
implements Serializable, ITheme, IOwner

Contains information describing a DataEngine theme

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class planetj.database.Row
Row.SpacingRow
 
Field Summary
static String className
          Class name
 
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.theme.ITheme
CSS_FILE, DEFAULT_THEME_ID, DESCRIPTION, OWNER_ID, PROPERTIES, SECURITY_ID, THEME, THEME_ID, TYPE, TYPE_DEFAULT
 
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
Theme()
           
 
Method Summary
 String getCSSFile()
          Gets this Theme's CSS file.
 String getDescription()
          Gets the description for this Theme.
 int getId()
          Gets the ID of this Theme
 Integer getIdAsInteger()
          Gets the ID of this Theme.
 int getOwnerId()
          Gets the ID of this Theme's owner.
 Integer getOwnerIdAsInteger()
          Gets the ID of this Theme's owner
 Field getOwnerIdField()
          Returns the Owner Id Field
 String getProperties()
          Gets the property string associated with this Theme.
 String getPropertyFieldName()
          Get the name of the Field containing this Row's properties..
 int getSecurityId()
          Gets the ID of this Theme's security.
 Integer getSecurityIdAsInteger()
          Gets the ID of this Theme's security.
 PropertyGroupList getThemePropertyGroups()
          Deprecated. replaced with getRowPropertyGroups()
 String getTranslatedDescription(UserProperties up)
          Gets the translated description of this Theme.
 int getType()
          Gets the type of this Theme.
 void setCSSFile(String cssFile)
          Sets this Theme's CSS file.
 void setDescription(String value)
          Sets the description for this Theme.
 void setId(int value)
          Sets the ID of this Theme.
 void setId(Integer value)
          Sets the ID of this Theme.
 void setOwnerId(int value)
          Sets the ID of this Theme's owner
 void setOwnerId(Integer value)
          Sets the ID of this Theme's owner
 void setProperties(String properties)
          Sets the property string associated with this Theme.
 void setSecurityId(int value)
          Sets the ID of this Theme's security
 void setSecurityId(Integer value)
          Sets the ID of this Theme's security
 void setType(int value)
          Sets this Theme's type.
 
Methods inherited from class planetj.dataengine.PropertyRow
createRow, getRowPropertyGroup, getRowPropertyGroups, getRowPropertyGroups, insert, transferDataTo, update
 
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, getDeleteConfirmationMessage, 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, getHeaderText, 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, getUserMessageForOperation, 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, validate, validateRowOperation
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

className

public static final String className
Class name

Constructor Detail

Theme

public Theme()
Method Detail

getCSSFile

public String getCSSFile()
Gets this Theme's CSS file.


getDescription

public String getDescription()
Gets the description for this Theme.


getId

public int getId()
Gets the ID of this Theme


getIdAsInteger

public Integer getIdAsInteger()
Gets the ID of this Theme.


getOwnerId

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


getOwnerIdAsInteger

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


getOwnerIdField

public Field getOwnerIdField()
Returns the Owner Id Field

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

getProperties

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

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

getSecurityId

public int getSecurityId()
Gets the ID of this Theme's security.


getSecurityIdAsInteger

public Integer getSecurityIdAsInteger()
Gets the ID of this Theme's security.


getThemePropertyGroups

public PropertyGroupList getThemePropertyGroups()
Deprecated. replaced with getRowPropertyGroups()

Gets the property group objects associated with this Theme. Any changes made to the PropertyGroupList or the PropertyGroups contained in that list will not be persisted - use the setPropertyGroups() method to alter the list of PropertyGroups.


getTranslatedDescription

public String getTranslatedDescription(UserProperties up)
Gets the translated description of this Theme.


getType

public int getType()
Gets the type of this Theme.


setCSSFile

public void setCSSFile(String cssFile)
                throws CMException
Sets this Theme's CSS file.

CMException

setDescription

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

CMException

setId

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

CMException

setId

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

CMException

setOwnerId

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

CMException

setOwnerId

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

CMException

setProperties

public void setProperties(String properties)
                   throws CMException
Sets the property string associated with this Theme.

Overrides:
setProperties in class PropertyRow
CMException

setSecurityId

public void setSecurityId(int value)
                   throws CMException
Sets the ID of this Theme's security

CMException

setSecurityId

public void setSecurityId(Integer value)
                   throws CMException
Sets the ID of this Theme's security

CMException

setType

public void setType(int value)
             throws CMException
Sets this Theme's type.

CMException