public class SiteRoleMap extends SitePermissionMap
DBObject.DenormalizeAction| Modifier and Type | Field and Description |
|---|---|
static GlobalId |
DBCLASS_GID
Site Role Map
|
static java.lang.String |
DBCLASS_NAME
Site Role Map
|
ATTRIBUTE_MARVIN, dbClass, ds, NO_LOOP_PARAMS| Constructor and Description |
|---|
SiteRoleMap(DBClass theClass,
DataSource dataSource) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
extAutoEnterCreate()
Extend this method to add functionality when a new DBObject is created.
You may need to create a FldParams, and setIsAutoEntered(true)
so that system does not misunderstand that this object is changed by user. |
protected void |
extPreValidate()
OVERRIDE To add functionality to before validation is called.
|
protected void |
extPreValidateDelete()
OVERRIDE To add functionality to before validation is called.
|
protected ValidationError |
extValidateField(DBField field,
ValidationList list)
You can have two permissions for the same user/group.
|
protected void |
extValidateRecord(ValidationList list)
Performs additional validations on this record.
|
static java.lang.Boolean |
hasCreateAccess(Site site)
A CREATE permission for this site
|
static java.lang.Boolean |
hasDeleteAccess(Site site)
A DELETE permission for this site
|
static java.lang.Boolean |
hasFullAccess(Site site)
A Full Access permission for this site
|
static java.lang.Boolean |
hasModifyAccess(Site site)
A MODIFY permission for this site
|
boolean |
isAuthor(java.lang.String... args) |
boolean |
isDesigner(java.lang.String... args) |
boolean |
isFullAccess(java.lang.String... args) |
boolean |
isPublisher(java.lang.String... args) |
SiteRoleMap |
setAuthor(boolean value,
java.lang.String... args) |
SiteRoleMap |
setDesigner(boolean value,
java.lang.String... args) |
SiteRoleMap |
setFullAccess(boolean value,
java.lang.String... args) |
SiteRoleMap |
setPublisher(boolean value,
java.lang.String... args) |
extPreDeleteRecord, extPreSaveRecord, findKey, findPermissionedContact, findSite, getID, getPermissionedContact, getSite, hasAccess, makeQuery, setID, setPermissionedContact, setSiteaddReloadEventListener, archiveCheck, autoEnterCreate, calculateValue, calculateValue, calculateValue, callingRestoreByJournal, changeThreadMode, checkCreateAccess, checkDelete, checkDeleteAccess, checkModifyAccess, checkModifyAccess, checkReadAccess, clearCache, copy, copyFields, copyIncludeField, copyInwardLinks, delete, denormalizedResult, displayLogName, displayName, displayValue, doSearch, dump, equals, eventDataLoaded, eventFieldUpdated, extCanDeleteDependantObject, extCheckCreateAccess, extCheckDeleteAccess, extCheckModifyAccess, extCheckModifyAccess, extCheckReadAccess, extCopy, extDelete, extDeleteRecord, extFixUp, extGetDerivedGlobalKey, extGetDerivedValue, extGetValue, extIsMandatory, extIsOnChange, extMarkSavePoint, extPostDeleteRecord, extPostSaveRecord, extRaiseEvents, extRollbackTo, extSaveRecord, extSetValue, extUndelete, extValidateDelete, fetchLinkHolder, findGlobalKey, findGlobalKey, findGlobalKey, findGlobalKey, findLinkedObject, findLinkedObject, findLinkedObject, findRawData, fireEventDataLoaded, fixUp, forceLockedTransaction, getBoolean, getBoolean, getBoolean, getBoolean, getBoolean, getBoolean, getChangedFieldInfo, getChangedFields, getDate, getDate, getDate, getDate, getDate, getDefaultValue, getDisableOnChangeEvent, getDouble, getDouble, getDouble, getDouble, getDouble, getFieldDouble, getFieldInt, getFieldLong, getFieldString, getFormattedString, getFormattedString, getGlobalKey, getGlobalKey, getGlobalKey, getGlobalKey, getGlobalKey, getInt, getInt, getInt, getInt, getInt, getInt, getInwardLinkage, getKeyString, getKeyValue, getLinkedObject, getLinkedObject, getLinkedObject, getLinkedObjectByKey, getLinkedRowId, getLinkedRowId, getLinkedRowIdByData, getLinkHolder, getLockedTransaction, getLong, getLong, getLong, getLong, getLong, getLong, getMutableArrayValue, getMutableArrayValue, getOriginalKey, getOriginalValue, getOriginalValue, getProcessedValue, getPureValue, getRawData, getRawValue, getRawValue, getRowId, getRowKey, getSecondaryCacheGroupKey, getSrcLayerID, getString, getString, getString, getString, getString, getString, getValue, getValue, getValue, getValue, hasAutoChanged, hasAutoChanged, hasChanged, hasChangedByUser, hasChangedByUserField, hasChangedByUserField, hasFieldChanged, hasFieldChanged, hashCode, hasStoredResult, iCheckDeleteAccess, iCheckModifyAccess, iCheckReadAccess, iGetDenormalizedMap, iGetRawValue, iPlaceDenormalizedResult, iPostSaveOrDeleteRecord, iPreSaveOrDeleteRecord, iPreValidate, iRaiseEvents, iSaveOrDeleteRecord, isBrokenLink, isBrokenLink, isChanged, isDataCacheKnownToBeDirty, isDeleted, isEmpty, iSetValue, isForceReindex, isKeyWordField, isMandatory, isNew, isNull, isNull, isOnChange, isReindex, iValidateRecord, lastTouched, makeArchiveDataLoader, makeClone, makeDataLoader, makeDenormalizedDoc, makeLinkedArray, makeModifyAccessException, makeSearchPlan, makeWriteProvider, manualDenormalizeOnSave, markSavePoint, optLockedTransaction, registerWatchedObject, reindex, releaseDenormalized, removeReloadEventListener, restoreByJournal, rollbackTo, setBoolean, setBoolean, setBoolean, setBoolean, setDisableOnChangeEvent, setDouble, setDouble, setInt, setInt, setLong, setLong, setRawData, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, toString, touch, undelete, validateField, validateRecord, validateSubTypepublic static final java.lang.String DBCLASS_NAME
public static final GlobalId DBCLASS_GID
public SiteRoleMap(DBClass theClass, DataSource dataSource) throws java.lang.Exception
java.lang.Exception@CheckReturnValue public boolean isAuthor(java.lang.String... args)
@Nonnull public SiteRoleMap setAuthor(boolean value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue public boolean isDesigner(java.lang.String... args)
@Nonnull public SiteRoleMap setDesigner(boolean value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue public boolean isFullAccess(java.lang.String... args)
@Nonnull public SiteRoleMap setFullAccess(boolean value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@CheckReturnValue public boolean isPublisher(java.lang.String... args)
@Nonnull public SiteRoleMap setPublisher(boolean value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception@OverridingMethodsMustInvokeSuper
protected void extValidateRecord(@Nonnull
ValidationList list)
throws java.lang.Exception
DBObjectextValidateRecord in class DBObjectlist - The validation list.java.lang.Exception - A serious problem@OverridingMethodsMustInvokeSuper
protected void extAutoEnterCreate()
throws java.lang.Exception
DBObjectsetIsAutoEntered(true)
so that system does not misunderstand that this object is changed by user.extAutoEnterCreate in class DBObjectjava.lang.Exception - A serious problem@CheckReturnValue @OverridingMethodsMustInvokeSuper @Nullable protected ValidationError extValidateField(@Nonnull DBField field, @Nonnull ValidationList list) throws java.lang.Exception
extValidateField in class DBObjectfield - The field to validatelist - The validation listjava.lang.Exception - A serious problem@OverridingMethodsMustInvokeSuper
protected void extPreValidate()
throws java.lang.Exception
DBObjectextPreValidate in class SitePermissionMapjava.lang.Exception - a serious problem@OverridingMethodsMustInvokeSuper
protected void extPreValidateDelete()
throws java.lang.Exception
DBObjectextPreValidateDelete in class SitePermissionMapjava.lang.Exception - a serious problempublic static java.lang.Boolean hasModifyAccess(Site site) throws java.lang.Exception
site - The site to checkjava.lang.Exception - A serious problempublic static java.lang.Boolean hasDeleteAccess(Site site) throws java.lang.Exception
site - The site to checkjava.lang.Exception - A serious problempublic static java.lang.Boolean hasCreateAccess(Site site) throws java.lang.Exception
site - The site to checkjava.lang.Exception - A serious problempublic static java.lang.Boolean hasFullAccess(Site site) throws java.lang.Exception
site - The site to checkjava.lang.Exception - A serious problemstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.