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: