planetj.dataengine.security
Class DEUser2Group

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

public class DEUser2Group
extends Row

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
           
static String GROUP_ID
           
static String LIBRARY_NAME
           
static String OWNER_ID
           
static String TABLE_NAME
           
static String USER_ID
           
 
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.IGuarded
TYPE_ID_UNKNOWN, TYPE_NAME_FIELD, TYPE_NAME_SQLOPERATION, TYPE_SECURED_BY_LEVEL, TYPE_SECURED_BY_OPERATION, TYPE_UNSECURED
 
Constructor Summary
DEUser2Group()
           
 
Method Summary
static DEUser2Group create(DEUser user, DEGroup group)
           
static void createDEUser2GroupTable(String systemAlias, String libraryName, String tableName)
          Creates the user 2 group table.
 int getGroupId()
          Gets the group ID
 Integer getGroupIdAsInteger()
          Gets the group ID
 int getOwnerId()
          Gets the ID of this user 2 group's owner
 Integer getOwnerIdAsInteger()
          Gets the ID of this user 2 group's owner
static Table getTable(String system)
           
 int getUserId()
          Gets the user ID
 Integer getUserIdAsInteger()
          Gets the user ID
 void setGroupId(int value)
          Sets the group ID
 void setGroupId(Integer value)
          Sets the group ID
 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 setUserId(int value)
          Sets the user ID
 void setUserId(Integer value)
          Sets the user ID
 
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, 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, 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
 

Field Detail

LIBRARY_NAME

public static final String LIBRARY_NAME
See Also:
Constant Field Values

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

OWNER_ID

public static final String OWNER_ID
See Also:
Constant Field Values

USER_ID

public static final String USER_ID
See Also:
Constant Field Values

GROUP_ID

public static final String GROUP_ID
See Also:
Constant Field Values

className

public static final String className
Constructor Detail

DEUser2Group

public DEUser2Group()
Method Detail

create

public static DEUser2Group create(DEUser user,
                                  DEGroup group)
                           throws CMException
CMException

createDEUser2GroupTable

public static void createDEUser2GroupTable(String systemAlias,
                                           String libraryName,
                                           String tableName)
                                    throws CMException
Creates the user 2 group table.

CMException

getGroupId

public int getGroupId()
Gets the group ID


getGroupIdAsInteger

public Integer getGroupIdAsInteger()
Gets the group ID


getOwnerId

public int getOwnerId()
Gets the ID of this user 2 group's owner


getOwnerIdAsInteger

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


getTable

public static Table getTable(String system)

getUserId

public int getUserId()
Gets the user ID


getUserIdAsInteger

public Integer getUserIdAsInteger()
Gets the user ID


setGroupId

public void setGroupId(int value)
                throws CMException
Sets the group ID

CMException

setGroupId

public void setGroupId(Integer value)
                throws CMException
Sets the group ID

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

setUserId

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

CMException

setUserId

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

CMException