|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.access.AdHocAcl
This class represents ACLs that are not derived from policy rules. AdHocAcls can be individually created and edited. They are also owned so that unrestricted changes to the ACL require that the principal performing these modification be the owner (or belong to the owner, in case it is a group).
Use the newAdHocAcl
static factory method(s), not the AdHocAcl
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.
NOTE: This class is no longer used. It exists only to support readOldVersion methods for
AdHocControlled objects. It will be deleted when all BLOBed objects are upgraded to the
R7.0 class schema (no customers of R6.2.6 or lower).
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
Deprecated. |
static String |
ENTRY_SET
Deprecated. Label for the attribute; Set of acl entries. |
private static int |
ENTRY_SET_UPPER_LIMIT
Deprecated. |
private AclEntrySet |
entrySet
Deprecated. |
static long |
EXTERNALIZATION_VERSION_UID
Deprecated. |
protected static long |
OLD_FORMAT_VERSION_UID
Deprecated. |
static String |
OWNER_REF
Deprecated. Label for the attribute; Acl's owner. |
private WTPrincipalReference |
ownerRef
Deprecated. |
private static String |
RESOURCE
Deprecated. |
(package private) static long |
serialVersionUID
Deprecated. |
Constructor Summary | |
AdHocAcl()
Deprecated. |
Method Summary | |
ClassInfo |
getClassInfo()
Deprecated. Returns the ClassInfo object for this class. |
String |
getConceptualClassname()
Deprecated. |
AclEntrySet |
getEntrySet()
Deprecated. Gets the value of the attribute: ENTRY_SET. |
WTPrincipalReference |
getOwnerRef()
Deprecated. Gets the value of the attribute: OWNER_REF. |
protected void |
initialize()
Deprecated. Supports initialization, following construction of an instance. |
protected void |
initialize(WTPrincipalReference owner)
Deprecated. Supports initialization, following construction of an instance. |
boolean |
isOwner(WTPrincipal user)
Deprecated. Supported API: false |
static AdHocAcl |
newAdHocAcl()
Deprecated. No-arg public constructor for use by the readExternal routines. |
static AdHocAcl |
newAdHocAcl(WTPrincipalReference owner)
Deprecated. Supported API: false |
void |
readExternal(ObjectInput input)
Deprecated. Reads the non-transient fields of this class from an external source. |
void |
readExternal(PersistentRetrieveIfc input)
Deprecated. Used by Persistent Data Service to populate the persistent attributes of this class from a persistent store. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Deprecated. Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(AdHocAcl thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Deprecated. Reads the non-transient fields of this class from an external source. |
void |
setEntrySet(AclEntrySet a_EntrySet)
Deprecated. Sets the value of the attribute: ENTRY_SET. |
void |
setOwnerRef(WTPrincipalReference a_OwnerRef)
Deprecated. Sets the value of the attribute: OWNER_REF. |
String |
toString()
Deprecated. Returns the conceptual (modeled) name for the class. |
void |
writeExternal(ObjectOutput output)
Deprecated. Writes the non-transient fields of this class to an external source. |
void |
writeExternal(PersistentStoreIfc output)
Deprecated. Used by Persistent Data Service to obtain the values of the persistent attributes of this class, so they can be written to a persistent store. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final String OWNER_REF
private WTPrincipalReference ownerRef
public static final String ENTRY_SET
private static int ENTRY_SET_UPPER_LIMIT
private AclEntrySet entrySet
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public AdHocAcl()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(AdHocAcl thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public void writeExternal(PersistentStoreIfc output) throws SQLException, DatastoreException
(Not intended for general use.)
Supported API: false
writeExternal
in interface ObjectMappable
output
-
SQLException
DatastoreException
public void readExternal(PersistentRetrieveIfc input) throws SQLException, DatastoreException
(Not intended for general
use.)
Supported API: false
readExternal
in interface ObjectMappable
input
-
SQLException
DatastoreException
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
public String toString()
public ClassInfo getClassInfo() throws WTIntrospectionException
getClassInfo
in interface NetFactor
WTIntrospectionException
public WTPrincipalReference getOwnerRef()
public void setOwnerRef(WTPrincipalReference a_OwnerRef)
a_OwnerRef
- public AclEntrySet getEntrySet()
public void setEntrySet(AclEntrySet a_EntrySet)
a_EntrySet
- public static AdHocAcl newAdHocAcl(WTPrincipalReference owner) throws WTException
owner
-
WTException
protected void initialize(WTPrincipalReference owner) throws WTException
owner
-
WTException
public static AdHocAcl newAdHocAcl() throws WTException
WTException
protected void initialize() throws WTException
WTException
public boolean isOwner(WTPrincipal user) throws WTException
user
-
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |