planetj.dataengine.security
Class DEUser

java.lang.Object
  |
  +--planetj.database.Row
        |
        +--planetj.dataengine.security.DEUser
All Implemented Interfaces:
Cloneable, IBatchProcessObject, IBusinessObject, ICSVRow, IDEUser, IDistributedExecutableObject, IFDFObject, IGuarded, INamedCollection, INavigationObject, IRowCreator, IUser, IXMLObject, Principal, Serializable

public class DEUser
extends Row
implements IDEUser

Author:
PlanetJ Corp.
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class planetj.database.Row
Row.SpacingRow
 
Field Summary
static String 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.security.IDEUser
FIRST_NAME, LAST_NAME, LIBRARY_NAME, OWNER_ID, PASSWORD, PLANETJ_USER, PROPERTIES, SECURITY_LEVEL, TABLE_NAME, TYPE_APP_ADMIN, TYPE_APP_USER, UNIQUE_ID, USER_NAME
 
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
DEUser()
           
 
Method Summary
 String getFirstName()
          Getter method for the FirstName property
 int getId()
          Gets the ID of this user
 Integer getIdAsInteger()
          Gets the ID of this user
 String getLastName()
          Getter method for the LastName property
 String getName()
           
 int getOwnerId()
          Getter method for the OwnerId property
 Integer getOwnerIdAsInteger()
          Gets the ID of this user 2 group's owner
 String getPassword()
          Getter method for the Password property
 String getProperties()
          Getter method for the Properties property
 int getSecurityLevel()
          Getter method for the SecurityLevel property
 String getSystemAlias()
          Gets the system alias of this user's personal connection pool, or null if no such pool exists
static Table getTable(String system)
           
 int getUniqueId()
          Getter method for the UniqueId property
 String getUserMode()
          Gets the MODE of the user.
 String getUserName()
          Getter method for the User Name property
 Object getUserSQLValue(String fieldName)
          Gets the value of the specified user field as an Object for use as an SQL parameter
 Object getUserValue(String fieldName)
          Gets the value of the specified user field as an Object
 boolean hasSecurityLevel()
          Method that can be used to determine if the user has a security level.
 boolean isAdmin()
          !!A WK (9/4/2002 3:26:12 PM) Admin has not yet been implemented.
 boolean isPJAdmin()
          !!A WK (9/4/2002 3:26:12 PM) PJ Admin has not yet been implemented.
 DEUser setEmailAddress(String newValue)
          Setter method for the UserName property
 DEUser setFirstName(String newValue)
          Setter method for the FirstName property
 void setId(int value)
          Sets the user ID
 void setId(Integer value)
          Sets the user ID
 DEUser setLastName(String newValue)
          Setter method for the LastName property
 void setOwnerId(int value)
          Sets the ID of this application's owner
 void setOwnerId(Integer value)
          Sets the ID of this application's owner
 DEUser setPassword(String newValue)
          Setter method for the Password property
 DEUser setProperties(String newValue)
          Setter method for the Properties property
 DEUser setSecurityLevel(int newValue)
          Setter method for the SecurityLevel property
 void setSystemAlias(String newSystemAlias)
          Sets the system alias of this user's personal connection pool.
 DEUser setUniqueId(int newValue)
          Setter method for the UniqueId property
 void setUserMode(String pUserMode)
          Sets the MODE of this user
 
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, createRow, 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, 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, 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, transferDataTo, update, update, update, update, updateObject, validate, validate, validate, validateRowOperation
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface planetj.dataengine.security.IUser
getValueByUsageId
 
Methods inherited from interface java.security.Principal
equals, hashCode, toString
 

Field Detail

className

public static final String className
Constructor Detail

DEUser

public DEUser()
Method Detail

getUserMode

public String getUserMode()
Description copied from interface: IUser
Gets the MODE of the user. This has to do with usability. NOVICE, ADVANCED

Specified by:
getUserMode in interface IUser
See Also:
IUser.getUserMode()

setUserMode

public void setUserMode(String pUserMode)
Description copied from interface: IUser
Sets the MODE of this user

Specified by:
setUserMode in interface IUser
See Also:
IUser.setUserMode(java.lang.String)

getFirstName

public String getFirstName()
Getter method for the FirstName property

Specified by:
getFirstName in interface IUser

getId

public int getId()
Gets the ID of this user


getIdAsInteger

public Integer getIdAsInteger()
Gets the ID of this user


getLastName

public String getLastName()
Getter method for the LastName property

Specified by:
getLastName in interface IUser

getName

public String getName()
Specified by:
getName in interface Principal

getOwnerId

public int getOwnerId()
Getter method for the OwnerId property

Specified by:
getOwnerId in interface IUser

getOwnerIdAsInteger

public Integer getOwnerIdAsInteger()
Gets the ID of this user 2 group's owner


getPassword

public String getPassword()
Getter method for the Password property


getProperties

public String getProperties()
Getter method for the Properties property


getSecurityLevel

public int getSecurityLevel()
Getter method for the SecurityLevel property

Specified by:
getSecurityLevel in interface IUser

getSystemAlias

public String getSystemAlias()
Gets the system alias of this user's personal connection pool, or null if no such pool exists

Specified by:
getSystemAlias in interface IUser
Overrides:
getSystemAlias in class Row
Returns:
String

getTable

public static Table getTable(String system)

getUniqueId

public int getUniqueId()
Getter method for the UniqueId property


getUserName

public String getUserName()
Getter method for the User Name property

Specified by:
getUserName in interface IUser

getUserSQLValue

public Object getUserSQLValue(String fieldName)
                       throws CMException
Description copied from interface: IUser
Gets the value of the specified user field as an Object for use as an SQL parameter

Specified by:
getUserSQLValue in interface IUser
CMException

getUserValue

public Object getUserValue(String fieldName)
Description copied from interface: IUser
Gets the value of the specified user field as an Object

Specified by:
getUserValue in interface IUser

hasSecurityLevel

public boolean hasSecurityLevel()
Method that can be used to determine if the user has a security level.

Specified by:
hasSecurityLevel in interface IUser
Returns:
true if the user has a security level; false otherwise

isAdmin

public boolean isAdmin()
!!A WK (9/4/2002 3:26:12 PM) Admin has not yet been implemented. This method is just a place holder. Currently, there are no Admins.

Specified by:
isAdmin in interface IUser

isPJAdmin

public boolean isPJAdmin()
!!A WK (9/4/2002 3:26:12 PM) PJ Admin has not yet been implemented. This method is just a place holder. Currently, there are no PJ Admins.

Specified by:
isPJAdmin in interface IUser

setEmailAddress

public DEUser setEmailAddress(String newValue)
                       throws CMException
Setter method for the UserName property

CMException

setFirstName

public DEUser setFirstName(String newValue)
                    throws CMException
Setter method for the FirstName property

CMException

setId

public void setId(int value)
           throws CMException
Sets the user ID

CMException

setId

public void setId(Integer value)
           throws CMException
Sets the user ID

CMException

setLastName

public DEUser setLastName(String newValue)
                   throws CMException
Setter method for the LastName property

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 DEUser setPassword(String newValue)
                   throws CMException
Setter method for the Password property

CMException

setProperties

public DEUser setProperties(String newValue)
                     throws CMException
Setter method for the Properties property

CMException

setSecurityLevel

public DEUser setSecurityLevel(int newValue)
                        throws CMException
Setter method for the SecurityLevel property

CMException

setSystemAlias

public void setSystemAlias(String newSystemAlias)
Sets the system alias of this user's personal connection pool. This is null if no such pool exists


setUniqueId

public DEUser setUniqueId(int newValue)
                   throws CMException
Setter method for the UniqueId property

CMException