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
TARGET_CLASS_NAMEFields inherited from interface wt.vc._Iterated
CONTROL_BRANCH, CREATOR_EMAIL, CREATOR_FULL_NAME, CREATOR_NAME, ITERATION_IDENTIFIER, ITERATION_NOTE, LATEST_ITERATION, MASTER, MASTER_REFERENCE, MODIFIER, MODIFIER_EMAIL, MODIFIER_FULL_NAME, MODIFIER_NAMEFields inherited from interface wt.lifecycle._LifeCycleManaged
LIFE_CYCLE_STATE, STATEFields inherited from interface wt.team._TeamManaged
TEAM_ID, TEAM_TEMPLATE_IDFields inherited from interface wt.vc.views._ViewManageable
VARIATION1, VARIATION2 -
Method Summary
Methods inherited from class wt.access._AccessControlSurrogate
getControlBranch, getCreatorEMail, getCreatorFullName, getCreatorName, getIterationIdentifier, getIterationNote, getLifeCycleState, getMaster, getMasterReference, getModifier, getModifierEMail, getModifierFullName, getModifierName, getState, getTargetClassName, getTeamId, getTeamTemplateId, getVariation1, getVariation2, isLatestIteration, setMaster, setMasterReference, setVariation1, setVariation2