Package wt.access
Class AccessControlSurrogate
java.lang.Object
wt.access._AccessControlSurrogate
wt.access.AccessControlSurrogate
- All Implemented Interfaces:
Externalizable,Serializable,wt.access._AccessControlled,wt.access._AccessControlList,wt.access._AdHocControlled,wt.access._PolicyAccessControlled,wt.access._SecurityLabeled,AccessControlled,wt.access.AccessControlList,AdHocControlled,wt.access.PolicyAccessControlled,SecurityLabeled,wt.admin._DomainAdministered,DomainAdministered,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,wt.fc.adminlock._AdministrativelyLockable,AdministrativelyLockable,NetFactor,ObjectMappable,Persistable,wt.iba.value._IBAHolder,wt.iba.value.IBAHolder,wt.inf.container._WTContained,WTContained,_LifeCycleManaged,LifeCycleManaged,wt.locks._Lockable,Lockable,wt.ownership._Ownable,wt.ownership.Ownable,wt.recent.RecentlyVisited,_TeamManaged,TeamManaged,wt.type._Typed,wt.type._TypeManaged,wt.type.FlexTyped,wt.type.Typed,wt.type.TypeManaged,_Iterated,wt.vc._Versionable,wt.vc._Versioned,Iterated,Versionable,Versioned,_ViewManageable,ViewManageable,wt.vc.wip._Workable,Workable
@GenAsPersistable(interfaces={AdHocControlled.class,AccessControlled.class,DomainAdministered.class,wt.ownership.Ownable.class,LifeCycleManaged.class,wt.type.Typed.class,SecurityLabeled.class,wt.access.PolicyAccessControlled.class,WTContained.class,Iterated.class,Workable.class,Versioned.class,ViewManageable.class},
versions={2737674947209949279L,1124729986252992591L,-4200698915386177077L},
properties=@GeneratedProperty(name="targetClassName",type=java.lang.String.class,javaDoc="class name of the represented persistable object",supportedAPI=PUBLIC_PRIVATE),
foreignKeys=@GeneratedForeignKey(foreignKeyRole=@ForeignKeyRole(name="master",type=AccessControlSurrogateMaster.class,cascade=false,constraints=@PropertyConstraints(required=true)),myRole=@MyRole(name="iteration",cascade=false)))
public class AccessControlSurrogate
extends _AccessControlSurrogate
The
AccessControlSurrogate acts as a stand-in for a persistable
object, to evaluate access rights for the information returned when a
database query is performed requesting specific attributes of an object
rather than a full persistable. The surrogate contains attributes identical
to those of the class it is representing and includes all possible attributes
necessary for making the access control decision. It is never persisted
in the database.
The surrogate's thePersistInfo.theObjectIdentifier.classname
attribute contains the surrogate class name, and the targetClassName
attribute contains the class name of the represented persistable object.
Use the newAccessControlSurrogate static factory method(s),
not the AccessControlSurrogate constructor, to construct
instances of this class. Instances must be constructed using the static
factory(s), in order to ensure proper initialization of the instance.
Supported API: true
Extendable: false
- See Also:
-
Field Summary
Fields inherited from class wt.access._AccessControlSurrogate
EXTERNALIZATION_VERSION_UID, TARGET_CLASS_NAMEFields inherited from interface wt.access._AdHocControlled
ENTRY_SETFields inherited from interface wt.fc.adminlock._AdministrativelyLockable
ADMINISTRATIVE_LOCKFields inherited from interface wt.admin._DomainAdministered
DOMAIN_REF, INHERITED_DOMAINFields inherited from interface wt.iba.value._IBAHolder
ATTRIBUTE_CONTAINERFields inherited from interface wt.vc._Iterated
BRANCH_IDENTIFIER, CONTROL_BRANCH, CREATOR, CREATOR_EMAIL, CREATOR_FULL_NAME, CREATOR_NAME, ITERATION_IDENTIFIER, ITERATION_INFO, ITERATION_NOTE, LATEST_ITERATION, MASTER, MASTER_REFERENCE, MODIFIER, MODIFIER_EMAIL, MODIFIER_FULL_NAME, MODIFIER_NAMEFields inherited from interface wt.lifecycle._LifeCycleManaged
LIFE_CYCLE_AT_GATE, LIFE_CYCLE_BASIC, LIFE_CYCLE_NAME, LIFE_CYCLE_STATE, LIFE_CYCLE_TEMPLATE, STATEFields inherited from interface wt.locks._Lockable
LOCK, LOCK_DATE, LOCK_NOTE, LOCKED, LOCKER, LOCKER_EMAIL, LOCKER_FULL_NAME, LOCKER_NAMEFields inherited from interface wt.ownership._Ownable
OWNERSHIPFields inherited from interface wt.fc._Persistable
PERSIST_INFOFields inherited from interface wt.access._SecurityLabeled
SECURITY_LABELSFields inherited from interface wt.team._TeamManaged
TEAM_ID, TEAM_IDENTITY, TEAM_NAME, TEAM_TEMPLATE_ID, TEAM_TEMPLATE_IDENTITY, TEAM_TEMPLATE_NAMEFields inherited from interface wt.type._Typed
TYPE_DEFINITION_REFERENCEFields inherited from interface wt.vc._Versioned
VERSION_IDENTIFIER, VERSION_INFOFields inherited from interface wt.vc.views._ViewManageable
VARIATION1, VARIATION2, VIEW, VIEW_NAMEFields inherited from interface wt.vc.wip._Workable
CHECKOUT_INFOFields inherited from interface wt.inf.container._WTContained
CONTAINER, CONTAINER_NAME, CONTAINER_REFERENCEFields inherited from interface wt.fc.Persistable
IDENTITY, TYPEFields inherited from interface wt.access.SecurityLabeled
SECURITY_LABELS_INTERNAL_VALUEFields inherited from interface wt.vc.Versioned
MASTER_SERIESFields inherited from interface wt.inf.container.WTContained
CONTAINER_ID -
Method Summary
Methods inherited from class wt.access._AccessControlSurrogate
equals, getAdministrativeLock, getAttributeContainer, getBranchIdentifier, getCheckoutInfo, getClassInfo, getConceptualClassname, getContainer, getContainerName, getContainerReference, getControlBranch, getCreator, getCreatorEMail, getCreatorFullName, getCreatorName, getDomainRef, getEntrySet, getIterationIdentifier, getIterationInfo, getIterationNote, getLifeCycleName, getLifeCycleState, getLifeCycleTemplate, getLock, getLockDate, getLocker, getLockerEMail, getLockerFullName, getLockerName, getLockNote, getMaster, getMasterReference, getModifier, getModifierEMail, getModifierFullName, getModifierName, getOwnership, getPersistInfo, getSecurityLabels, getState, getTargetClassName, getTeamId, getTeamIdentity, getTeamName, getTeamTemplateId, getTeamTemplateIdentity, getTeamTemplateName, getType, getTypeDefinitionReference, getVariation1, getVariation2, getVersionIdentifier, getVersionInfo, getView, getViewName, hashCode, isInheritedDomain, isLatestIteration, isLifeCycleAtGate, isLifeCycleBasic, isLocked, readExternal, readExternal, readVersion, setAdministrativeLock, setAttributeContainer, setCheckoutInfo, setContainer, setContainerReference, setControlBranch, setDomainRef, setEntrySet, setInheritedDomain, setIterationInfo, setLock, setMaster, setMasterReference, setOwnership, setPersistInfo, setSecurityLabels, setState, setTargetClassName, setTeamId, setTeamTemplateId, setTypeDefinitionReference, setVariation1, setVariation2, setVersionInfo, setView, toString, writeExternal, writeExternal