|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.inf.container.WTContainerInfo
Encapsulates the set of attributes that all implementors of WTContainer
share. This class should rarely if ever need to be referenced outside
of the container package itself.
Use the newWTContainerInfo
static factory method(s), not
the WTContainerInfo
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: false
Extendable: false
Field Summary | |
static String |
ADMINISTRATORS
Label for the attribute. |
static String |
ADMINISTRATORS_REF
Label for the attribute. |
private WTPrincipalReference |
administratorsRef
|
static String |
BUSINESS_NAMESPACE
Label for the attribute. |
private boolean |
businessNamespace
|
private static String |
CLASSNAME
|
static String |
CREATOR
Label for the attribute. |
static String |
CREATOR_REF
Label for the attribute. |
private WTPrincipalReference |
creatorRef
|
static String |
DEFAULT_CABINET
Label for the attribute. |
static String |
DEFAULT_CABINET_REF
Label for the attribute. |
static String |
DEFAULT_DOMAIN
Label for the attribute. |
static String |
DEFAULT_DOMAIN_REF
Label for the attribute. |
private CabinetReference |
defaultCabinetRef
|
private AdminDomainRef |
defaultDomainRef
|
private String |
description
|
static String |
DESCRIPTION
Label for the attribute. |
private static int |
DESCRIPTION_UPPER_LIMIT
|
static long |
EXTERNALIZATION_VERSION_UID
|
private String |
name
|
static String |
NAME
Label for the attribute. |
private static int |
NAME_UPPER_LIMIT
|
protected static long |
OLD_FORMAT_VERSION_UID
|
static String |
OWNER
Label for the attribute. |
static String |
OWNER_REF
Label for the attribute. |
private WTPrincipalReference |
ownerRef
|
static String |
PRIVATE_ACCESS
Label for the attribute. |
private boolean |
privateAccess
|
static String |
PUBLIC_PARENT_DOMAIN
Label for the attribute. |
static String |
PUBLIC_PARENT_DOMAIN_REF
Label for the attribute. |
private AdminDomainRef |
publicParentDomainRef
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
static String |
SHARING_ENABLED
Label for the attribute. |
private boolean |
sharingEnabled
|
static String |
SYSTEM_CABINET
Label for the attribute. |
static String |
SYSTEM_CABINET_REF
Label for the attribute. |
static String |
SYSTEM_DOMAIN
Label for the attribute. |
static String |
SYSTEM_DOMAIN_REF
Label for the attribute. |
private CabinetReference |
systemCabinetRef
|
private AdminDomainRef |
systemDomainRef
|
Constructor Summary | |
WTContainerInfo()
|
Method Summary | |
private void |
administratorsRefValidate(WTPrincipalReference a_AdministratorsRef)
|
private void |
businessNamespaceValidate(boolean a_BusinessNamespace)
|
private void |
creatorRefValidate(WTPrincipalReference a_CreatorRef)
|
private void |
defaultCabinetRefValidate(CabinetReference a_DefaultCabinetRef)
|
private void |
defaultDomainRefValidate(AdminDomainRef a_DefaultDomainRef)
|
private void |
descriptionValidate(String a_Description)
|
WTGroup |
getAdministrators()
Gets the value of the attribute: ADMINISTRATORS. |
WTPrincipalReference |
getAdministratorsRef()
Gets the value of the attribute: ADMINISTRATORS_REF. |
ClassInfo |
getClassInfo()
Returns the ClassInfo object for this class. |
String |
getConceptualClassname()
Deprecated. |
WTPrincipal |
getCreator()
Gets the value of the attribute: CREATOR. |
WTPrincipalReference |
getCreatorRef()
Gets the value of the attribute: CREATOR_REF. |
Cabinet |
getDefaultCabinet()
Gets the value of the attribute: DEFAULT_CABINET. |
CabinetReference |
getDefaultCabinetRef()
Gets the value of the attribute: DEFAULT_CABINET_REF. |
AdministrativeDomain |
getDefaultDomain()
Gets the value of the attribute: DEFAULT_DOMAIN. |
AdminDomainRef |
getDefaultDomainRef()
Gets the value of the attribute: DEFAULT_DOMAIN_REF. |
String |
getDescription()
Gets the value of the attribute: DESCRIPTION. |
WTContainerIdentity |
getIdentificationObject(WTContainer container)
Creates a WTContainerIdentity for the given container. |
String |
getName()
Gets the value of the attribute: NAME. |
WTPrincipal |
getOwner()
Gets the value of the attribute: OWNER. |
WTPrincipalReference |
getOwnerRef()
Gets the value of the attribute: OWNER_REF. |
AdministrativeDomain |
getPublicParentDomain()
Gets the value of the attribute: PUBLIC_PARENT_DOMAIN. |
AdminDomainRef |
getPublicParentDomainRef()
Gets the value of the attribute: PUBLIC_PARENT_DOMAIN_REF. |
Cabinet |
getSystemCabinet()
Gets the value of the attribute: SYSTEM_CABINET. |
CabinetReference |
getSystemCabinetRef()
Gets the value of the attribute: SYSTEM_CABINET_REF. |
AdministrativeDomain |
getSystemDomain()
Gets the value of the attribute: SYSTEM_DOMAIN. |
AdminDomainRef |
getSystemDomainRef()
Gets the value of the attribute: SYSTEM_DOMAIN_REF. |
protected void |
initialize()
Supports initialization, following construction of an instance. |
boolean |
isBusinessNamespace()
Gets the value of the attribute: BUSINESS_NAMESPACE. |
boolean |
isPrivateAccess()
Gets the value of the attribute: PRIVATE_ACCESS. |
boolean |
isSharingEnabled()
Gets the value of the attribute: SHARING_ENABLED. |
void |
log(StringBuffer sb)
|
private void |
nameValidate(String a_Name)
|
static WTContainerInfo |
newWTContainerInfo()
Default factory for the class. |
private void |
ownerRefValidate(WTPrincipalReference a_OwnerRef)
|
private void |
publicParentDomainRefValidate(AdminDomainRef a_PublicParentDomainRef)
|
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
void |
readExternal(PersistentRetrieveIfc input)
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)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(WTContainerInfo thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setAdministrators(WTGroup a_Administrators)
Sets the value of the attribute: ADMINISTRATORS. |
void |
setAdministratorsRef(WTPrincipalReference a_AdministratorsRef)
Sets the value of the attribute: ADMINISTRATORS_REF. |
void |
setBusinessNamespace(boolean a_BusinessNamespace)
Sets the value of the attribute: BUSINESS_NAMESPACE. |
protected void |
setBusinessNamespace(WTContainer container,
boolean a_BusinessNamespace)
|
void |
setCreator(WTPrincipal a_Creator)
Sets the value of the attribute: CREATOR. |
void |
setCreatorRef(WTPrincipalReference a_CreatorRef)
Sets the value of the attribute: CREATOR_REF. |
void |
setDefaultCabinet(Cabinet a_DefaultCabinet)
Sets the value of the attribute: DEFAULT_CABINET. |
void |
setDefaultCabinetRef(CabinetReference a_DefaultCabinetRef)
Sets the value of the attribute: DEFAULT_CABINET_REF. |
void |
setDefaultDomain(AdministrativeDomain a_DefaultDomain)
Sets the value of the attribute: DEFAULT_DOMAIN. |
void |
setDefaultDomainRef(AdminDomainRef a_DefaultDomainRef)
Sets the value of the attribute: DEFAULT_DOMAIN_REF. |
void |
setDescription(String a_Description)
Sets the value of the attribute: DESCRIPTION. |
protected void |
setName(String a_Name)
Sets the value of the attribute: NAME. |
void |
setName(WTContainer container,
String a_Name)
Sets the name of the given container. |
void |
setOwner(WTPrincipal a_Owner)
Sets the value of the attribute: OWNER. |
void |
setOwnerRef(WTPrincipalReference a_OwnerRef)
Sets the value of the attribute: OWNER_REF. |
protected void |
setPrivateAccess(boolean a_PrivateAccess)
Sets the value of the attribute: PRIVATE_ACCESS. |
protected void |
setPublicParentDomain(AdministrativeDomain a_PublicParentDomain)
Sets the value of the attribute: PUBLIC_PARENT_DOMAIN. |
protected void |
setPublicParentDomainRef(AdminDomainRef a_PublicParentDomainRef)
Sets the value of the attribute: PUBLIC_PARENT_DOMAIN_REF. |
void |
setSharingEnabled(boolean a_SharingEnabled)
Sets the value of the attribute: SHARING_ENABLED. |
void |
setSystemCabinet(Cabinet a_SystemCabinet)
Sets the value of the attribute: SYSTEM_CABINET. |
void |
setSystemCabinetRef(CabinetReference a_SystemCabinetRef)
Sets the value of the attribute: SYSTEM_CABINET_REF. |
void |
setSystemDomain(AdministrativeDomain a_SystemDomain)
Sets the value of the attribute: SYSTEM_DOMAIN. |
void |
setSystemDomainRef(AdminDomainRef a_SystemDomainRef)
Sets the value of the attribute: SYSTEM_DOMAIN_REF. |
private void |
systemCabinetRefValidate(CabinetReference a_SystemCabinetRef)
|
private void |
systemDomainRefValidate(AdminDomainRef a_SystemDomainRef)
|
String |
toString()
Returns the conceptual (modeled) name for the class. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
void |
writeExternal(PersistentStoreIfc output)
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 ADMINISTRATORS
public static final String ADMINISTRATORS_REF
private WTPrincipalReference administratorsRef
public static final String BUSINESS_NAMESPACE
private boolean businessNamespace
public static final String CREATOR
public static final String CREATOR_REF
private WTPrincipalReference creatorRef
public static final String DEFAULT_CABINET
public static final String DEFAULT_CABINET_REF
private CabinetReference defaultCabinetRef
public static final String DEFAULT_DOMAIN
public static final String DEFAULT_DOMAIN_REF
private AdminDomainRef defaultDomainRef
public static final String DESCRIPTION
private static int DESCRIPTION_UPPER_LIMIT
private String description
public static final String NAME
private static int NAME_UPPER_LIMIT
private String name
public static final String OWNER
public static final String OWNER_REF
private WTPrincipalReference ownerRef
public static final String PRIVATE_ACCESS
private boolean privateAccess
public static final String PUBLIC_PARENT_DOMAIN
public static final String PUBLIC_PARENT_DOMAIN_REF
private AdminDomainRef publicParentDomainRef
public static final String SHARING_ENABLED
private boolean sharingEnabled
public static final String SYSTEM_CABINET
public static final String SYSTEM_CABINET_REF
private CabinetReference systemCabinetRef
public static final String SYSTEM_DOMAIN
public static final String SYSTEM_DOMAIN_REF
private AdminDomainRef systemDomainRef
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public WTContainerInfo()
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(WTContainerInfo 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 WTGroup getAdministrators()
public void setAdministrators(WTGroup a_Administrators) throws WTPropertyVetoException, WTException
a_Administrators
-
WTPropertyVetoException
WTException
public WTPrincipalReference getAdministratorsRef()
public void setAdministratorsRef(WTPrincipalReference a_AdministratorsRef) throws WTPropertyVetoException
a_AdministratorsRef
-
WTPropertyVetoException
private void administratorsRefValidate(WTPrincipalReference a_AdministratorsRef) throws WTPropertyVetoException
a_AdministratorsRef
-
WTPropertyVetoException
public boolean isBusinessNamespace()
public void setBusinessNamespace(boolean a_BusinessNamespace) throws WTPropertyVetoException
a_BusinessNamespace
-
WTPropertyVetoException
private void businessNamespaceValidate(boolean a_BusinessNamespace) throws WTPropertyVetoException
a_BusinessNamespace
-
WTPropertyVetoException
public WTPrincipal getCreator()
public void setCreator(WTPrincipal a_Creator) throws WTPropertyVetoException, WTException
a_Creator
-
WTPropertyVetoException
WTException
public WTPrincipalReference getCreatorRef()
public void setCreatorRef(WTPrincipalReference a_CreatorRef) throws WTPropertyVetoException
a_CreatorRef
-
WTPropertyVetoException
private void creatorRefValidate(WTPrincipalReference a_CreatorRef) throws WTPropertyVetoException
a_CreatorRef
-
WTPropertyVetoException
public Cabinet getDefaultCabinet()
public void setDefaultCabinet(Cabinet a_DefaultCabinet) throws WTPropertyVetoException, WTException
a_DefaultCabinet
-
WTPropertyVetoException
WTException
public CabinetReference getDefaultCabinetRef()
public void setDefaultCabinetRef(CabinetReference a_DefaultCabinetRef) throws WTPropertyVetoException
a_DefaultCabinetRef
-
WTPropertyVetoException
private void defaultCabinetRefValidate(CabinetReference a_DefaultCabinetRef) throws WTPropertyVetoException
a_DefaultCabinetRef
-
WTPropertyVetoException
public AdministrativeDomain getDefaultDomain()
public void setDefaultDomain(AdministrativeDomain a_DefaultDomain) throws WTPropertyVetoException, WTException
a_DefaultDomain
-
WTPropertyVetoException
WTException
public AdminDomainRef getDefaultDomainRef()
public void setDefaultDomainRef(AdminDomainRef a_DefaultDomainRef) throws WTPropertyVetoException
a_DefaultDomainRef
-
WTPropertyVetoException
private void defaultDomainRefValidate(AdminDomainRef a_DefaultDomainRef) throws WTPropertyVetoException
a_DefaultDomainRef
-
WTPropertyVetoException
public String getDescription()
public void setDescription(String a_Description) throws WTPropertyVetoException
a_Description
-
WTPropertyVetoException
private void descriptionValidate(String a_Description) throws WTPropertyVetoException
a_Description
-
WTPropertyVetoException
public String getName()
protected void setName(String a_Name) throws WTPropertyVetoException
a_Name
-
WTPropertyVetoException
private void nameValidate(String a_Name) throws WTPropertyVetoException
a_Name
-
WTPropertyVetoException
public WTPrincipal getOwner()
public void setOwner(WTPrincipal a_Owner) throws WTPropertyVetoException, WTException
a_Owner
-
WTPropertyVetoException
WTException
public WTPrincipalReference getOwnerRef()
public void setOwnerRef(WTPrincipalReference a_OwnerRef) throws WTPropertyVetoException
a_OwnerRef
-
WTPropertyVetoException
private void ownerRefValidate(WTPrincipalReference a_OwnerRef) throws WTPropertyVetoException
a_OwnerRef
-
WTPropertyVetoException
public boolean isPrivateAccess()
protected void setPrivateAccess(boolean a_PrivateAccess) throws WTPropertyVetoException
a_PrivateAccess
-
WTPropertyVetoException
public AdministrativeDomain getPublicParentDomain()
protected void setPublicParentDomain(AdministrativeDomain a_PublicParentDomain) throws WTPropertyVetoException, WTException
a_PublicParentDomain
-
WTPropertyVetoException
WTException
public AdminDomainRef getPublicParentDomainRef()
protected void setPublicParentDomainRef(AdminDomainRef a_PublicParentDomainRef) throws WTPropertyVetoException
a_PublicParentDomainRef
-
WTPropertyVetoException
private void publicParentDomainRefValidate(AdminDomainRef a_PublicParentDomainRef) throws WTPropertyVetoException
a_PublicParentDomainRef
-
WTPropertyVetoException
public boolean isSharingEnabled()
public void setSharingEnabled(boolean a_SharingEnabled) throws WTPropertyVetoException
a_SharingEnabled
-
WTPropertyVetoException
public Cabinet getSystemCabinet()
public void setSystemCabinet(Cabinet a_SystemCabinet) throws WTPropertyVetoException, WTException
a_SystemCabinet
-
WTPropertyVetoException
WTException
public CabinetReference getSystemCabinetRef()
public void setSystemCabinetRef(CabinetReference a_SystemCabinetRef) throws WTPropertyVetoException
a_SystemCabinetRef
-
WTPropertyVetoException
private void systemCabinetRefValidate(CabinetReference a_SystemCabinetRef) throws WTPropertyVetoException
a_SystemCabinetRef
-
WTPropertyVetoException
public AdministrativeDomain getSystemDomain()
public void setSystemDomain(AdministrativeDomain a_SystemDomain) throws WTPropertyVetoException, WTException
a_SystemDomain
-
WTPropertyVetoException
WTException
public AdminDomainRef getSystemDomainRef()
public void setSystemDomainRef(AdminDomainRef a_SystemDomainRef) throws WTPropertyVetoException
a_SystemDomainRef
-
WTPropertyVetoException
private void systemDomainRefValidate(AdminDomainRef a_SystemDomainRef) throws WTPropertyVetoException
a_SystemDomainRef
-
WTPropertyVetoException
public WTContainerIdentity getIdentificationObject(WTContainer container) throws WTException
WTContainerIdentity
for the given container.
Subclasses of WTContainer
should call this method from
their getIdentificationObject
method, unless they intend
to create a subclass of WTContainerIdentity.
Supported API: false
- Parameters:
container
-
- Returns:
- WTContainerIdentity
- Throws:
WTException
public void setName(WTContainer container, String a_Name) throws WTPropertyVetoException
container
- a_Name
-
WTPropertyVetoException
public static WTContainerInfo newWTContainerInfo() throws WTException
WTException
protected void initialize() throws WTException
WTException
public void log(StringBuffer sb)
protected void setBusinessNamespace(WTContainer container, boolean a_BusinessNamespace) throws WTPropertyVetoException
WTPropertyVetoException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |