|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.WTObject
wt.inf.container.OrgContainer
A container for an organization's business and administrative objects.
Use the newOrgContainer
static factory method(s), not the
OrgContainer
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
Field Summary | |
static String |
ALL_PARTICIPATING_MEMBERS
Label for the attribute. |
static String |
ALL_PARTICIPATING_MEMBERS_REFERENCE
Label for the attribute. |
private WTPrincipalReference |
allParticipatingMembersReference
|
private static String |
CLASSNAME
|
static String |
CONFERENCING_IDENTIFIER
Label for the attribute; Derived from the container's associated WTOrganization
Supported API: false |
static String |
CONFERENCING_URL
Label for the attribute; Derived from the container's associated WTOrganization
Supported API: false |
static String |
CONTAINER
Label for the attribute. |
static String |
CONTAINER_TEMPLATE
Label for the attribute. |
private WTContainerInfo |
containerInfo
|
private WTContainerRef |
containerReference
|
private WTContainerTemplateRef |
containerTemplateReference
|
static String |
CONTEXT_PROVIDER
Label for the attribute; Represents a node in LDAP under which container-specific LDAP objects should be created. |
static String |
CREATORS_MAP
Label for the attribute; Stores the OrgContainer 's creators
group configuration. |
private CreatorsMap |
creatorsMap
|
private AdminDomainRef |
domainRef
|
private AclEntrySet |
entrySet
|
static long |
EXTERNALIZATION_VERSION_UID
|
private FederatableInfo |
federatableInfo
|
private boolean |
inheritedDomain
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private WTPrincipalReference |
organizationReference
|
static String |
PRIVATE_DOMAIN
Label for the attribute. |
static String |
PRIVATE_DOMAIN_REFERENCE
Label for the attribute. |
private AdminDomainRef |
privateDomainReference
|
private static String |
RESOURCE
|
static String |
RESTRICTED_DIRECTORY_SEARCH_SCOPE
Label for the attribute; Determines whether or not the WTOrganization
associated with this container is a member of the site-level All
Unrestricted Organizations group. |
private boolean |
restrictedDirectorySearchScope
|
(package private) static long |
serialVersionUID
|
private boolean |
subscriber
|
static String |
SUBSCRIBER
Label for the attribute. |
Fields inherited from class wt.fc.WTObject |
CREATE_TIMESTAMP, MODIFY_TIMESTAMP |
Fields inherited from interface wt.access.AdHocControlled |
ENTRY_SET |
Fields inherited from interface wt.fc.Persistable |
IDENTITY, PERSIST_INFO, TYPE |
Fields inherited from interface wt.identity.DisplayIdentification |
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPE |
Fields inherited from interface wt.admin.DomainAdministered |
DOMAIN_REF, INHERITED_DOMAIN |
Fields inherited from interface wt.ufid.Federatable |
FEDERATABLE_INFO |
Fields inherited from interface wt.inf.container.WTContainedIdentified |
CONTAINER_REFERENCE |
Fields inherited from interface wt.inf.container.WTContained |
CONTAINER_ID, CONTAINER_NAME |
Fields inherited from interface wt.org.OrganizationOwnedImpl |
ORGANIZATION_REFERENCE |
Fields inherited from interface wt.org.OrganizationOwned |
ORGANIZATION, ORGANIZATION_CODING_SYSTEM, ORGANIZATION_NAME, ORGANIZATION_UNIQUE_IDENTIFIER |
Constructor Summary | |
OrgContainer()
|
Method Summary | |
private void |
allParticipatingMembersReferenceValidate(WTPrincipalReference a_AllParticipatingMembersReference)
|
private void |
containerInfoValidate(WTContainerInfo a_ContainerInfo)
|
private void |
containerReferenceValidate(WTContainerRef a_ContainerReference)
|
private void |
containerTemplateReferenceValidate(WTContainerTemplateRef a_ContainerTemplateReference)
|
private void |
creatorsMapValidate(CreatorsMap a_CreatorsMap)
|
boolean |
equals(Object obj)
Indicates whether the given object is equal to this object from a persistence perspective, by comparing the two objects ObjectIdentifier s. |
private void |
federatableInfoValidate(FederatableInfo a_FederatableInfo)
|
WTGroup |
getAdministrators()
Gets the value of the attribute: ADMINISTRATORS. |
WTPrincipalReference |
getAdministratorsReference()
Gets the value of the attribute: ADMINISTRATORS_REFERENCE. |
WTGroup |
getAllParticipatingMembers()
Gets the object for the association that plays role: ALL_PARTICIPATING_MEMBERS. |
WTPrincipalReference |
getAllParticipatingMembersReference()
Gets the value of the attribute: ALL_PARTICIPATING_MEMBERS_REFERENCE. |
AdminDomainRef |
getBasePublicDomain(Class container_class)
Supported API: false |
String |
getConceptualClassname()
Deprecated. |
String |
getConferencingIdentifier()
Gets the value of the attribute: CONFERENCING_IDENTIFIER. |
URL |
getConferencingURL()
Gets the value of the attribute: CONFERENCING_URL. |
WTContainer |
getContainer()
Gets the object for the association that plays role: CONTAINER. |
WTContainerInfo |
getContainerInfo()
Gets the object for the association that plays role: CONTAINER_INFO. |
String |
getContainerName()
Gets the value of the attribute: CONTAINER_NAME. |
WTContainerRef |
getContainerReference()
Gets the value of the attribute: CONTAINER_REFERENCE. |
WTContainerTemplate |
getContainerTemplate()
Gets the object for the association that plays role: CONTAINER_TEMPLATE. |
WTContainerTemplateRef |
getContainerTemplateReference()
Gets the value of the attribute: CONTAINER_TEMPLATE_REFERENCE. |
DirectoryContextProvider |
getContextProvider()
Gets the value of the attribute: CONTEXT_PROVIDER. |
WTPrincipal |
getCreator()
Gets the value of the attribute: CREATOR. |
WTPrincipalReference |
getCreatorReference()
Gets the value of the attribute: CREATOR_REFERENCE. |
CreatorsMap |
getCreatorsMap()
Gets the object for the association that plays role: CREATORS_MAP. |
Cabinet |
getDefaultCabinet()
Gets the value of the attribute: DEFAULT_CABINET. |
CabinetReference |
getDefaultCabinetReference()
Gets the value of the attribute: DEFAULT_CABINET_REFERENCE. |
AdministrativeDomain |
getDefaultDomain()
Gets the value of the attribute: DEFAULT_DOMAIN. |
AdminDomainRef |
getDefaultDomainReference()
Gets the value of the attribute: DEFAULT_DOMAIN_REFERENCE. |
String |
getDescription()
Gets the value of the attribute: DESCRIPTION. |
AdminDomainRef |
getDomainRef()
Gets the object for the association that plays role: DOMAIN_REF. |
AclEntrySet |
getEntrySet()
Gets the value of the attribute: ENTRY_SET. |
FederatableInfo |
getFederatableInfo()
Gets the object for the association that plays role: FEDERATABLE_INFO. |
IdentificationObject |
getIdentificationObject()
Constructs and returns an identification object. |
String |
getIdentity()
Deprecated. Replaced by IdentityFactory.getDisplayIdentity |
String |
getInternetDomain()
Gets the value of the attribute: INTERNET_DOMAIN. |
String |
getName()
Gets the value of the attribute: NAME. |
WTOrganization |
getOrganization()
Gets the value of the attribute: ORGANIZATION. |
String |
getOrganizationCodingSystem()
Gets the value of the attribute: ORGANIZATION_CODING_SYSTEM. |
String |
getOrganizationName()
Gets the value of the attribute: ORGANIZATION_NAME. |
WTPrincipalReference |
getOrganizationReference()
Gets the value of the attribute: ORGANIZATION_REFERENCE. |
String |
getOrganizationUniqueIdentifier()
Gets the value of the attribute: ORGANIZATION_UNIQUE_IDENTIFIER. |
WTPrincipal |
getOwner()
Gets the value of the attribute: OWNER. |
WTPrincipalReference |
getOwnerReference()
Gets the value of the attribute: OWNER_REFERENCE. |
AdministrativeDomain |
getPrivateDomain()
Gets the object for the association that plays role: PRIVATE_DOMAIN. |
AdminDomainRef |
getPrivateDomainReference()
Gets the value of the attribute: PRIVATE_DOMAIN_REFERENCE. |
PublicDomainSet |
getPublicDomains(Class container_class)
Supported API: false |
AdministrativeDomain |
getPublicParentDomain()
Gets the value of the attribute: PUBLIC_PARENT_DOMAIN. |
AdminDomainRef |
getPublicParentDomainReference()
Gets the value of the attribute: PUBLIC_PARENT_DOMAIN_REFERENCE. |
Cabinet |
getSystemCabinet()
Gets the value of the attribute: SYSTEM_CABINET. |
CabinetReference |
getSystemCabinetReference()
Gets the value of the attribute: SYSTEM_CABINET_REFERENCE. |
AdministrativeDomain |
getSystemDomain()
Gets the value of the attribute: SYSTEM_DOMAIN. |
AdminDomainRef |
getSystemDomainReference()
Gets the value of the attribute: SYSTEM_DOMAIN_REFERENCE. |
int |
hashCode()
Returns a hash code for this object based upon its ObjectIdentifier . |
protected void |
initialize()
Initializes objects created by new-factory methods. |
protected void |
initialize(String name,
WTContainer parent)
Supports initialization, following construction of an instance. |
boolean |
isBusinessNamespace()
Gets the value of the attribute: BUSINESS_NAMESPACE. |
boolean |
isInheritedDomain()
Gets the value of the attribute: INHERITED_DOMAIN. |
boolean |
isMetaDataNamespace()
Gets the value of the attribute: META_DATA_NAMESPACE. |
boolean |
isPrivateAccess()
Gets the value of the attribute: PRIVATE_ACCESS. |
boolean |
isRestrictedDirectorySearchScope()
Gets the value of the attribute: RESTRICTED_DIRECTORY_SEARCH_SCOPE. |
boolean |
isSharingEnabled()
Gets the value of the attribute: SHARING_ENABLED. |
boolean |
isSubscriber()
Gets the value of the attribute: SUBSCRIBER. |
void |
log(StringBuffer sb)
|
static OrgContainer |
newOrgContainer()
Supported API: false |
static OrgContainer |
newOrgContainer(String name,
WTContainer parent)
Supported API: false |
private void |
organizationReferenceValidate(WTPrincipalReference a_OrganizationReference)
|
private void |
privateDomainReferenceValidate(AdminDomainRef a_PrivateDomainReference)
|
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(OrgContainer 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 |
setAdministratorsReference(WTPrincipalReference a_AdministratorsReference)
Sets the value of the attribute: ADMINISTRATORS_REFERENCE. |
void |
setAllParticipatingMembers(WTGroup a_AllParticipatingMembers)
Sets the object for the association that plays role: ALL_PARTICIPATING_MEMBERS. |
void |
setAllParticipatingMembersReference(WTPrincipalReference a_AllParticipatingMembersReference)
Sets the value of the attribute: ALL_PARTICIPATING_MEMBERS_REFERENCE. |
void |
setAutoPopulateCreators(Class container_class,
boolean auto_populate)
Deprecated. Replaced by CreatorsLink.setAutoPopulate |
protected void |
setBusinessNamespace(boolean a_BusinessNamespace)
Sets the value of the attribute: BUSINESS_NAMESPACE. |
void |
setContainer(WTContainer a_Container)
Sets the object for the association that plays role: CONTAINER. |
protected void |
setContainerInfo(WTContainerInfo a_ContainerInfo)
Sets the object for the association that plays role: CONTAINER_INFO. |
void |
setContainerReference(WTContainerRef a_ContainerReference)
Sets the value of the attribute: CONTAINER_REFERENCE. |
void |
setContainerTemplate(WTContainerTemplate a_ContainerTemplate)
Sets the object for the association that plays role: CONTAINER_TEMPLATE. |
void |
setContainerTemplateReference(WTContainerTemplateRef a_ContainerTemplateReference)
Sets the value of the attribute: CONTAINER_TEMPLATE_REFERENCE. |
void |
setCreator(WTPrincipal a_Creator)
Sets the value of the attribute: CREATOR. |
void |
setCreatorReference(WTPrincipalReference a_CreatorReference)
Sets the value of the attribute: CREATOR_REFERENCE. |
protected void |
setCreatorsMap(CreatorsMap a_CreatorsMap)
Sets the object for the association that plays role: CREATORS_MAP. |
void |
setDefaultCabinet(Cabinet a_DefaultCabinet)
Sets the value of the attribute: DEFAULT_CABINET. |
void |
setDefaultCabinetReference(CabinetReference a_DefaultCabinetReference)
Sets the value of the attribute: DEFAULT_CABINET_REFERENCE. |
void |
setDefaultDomain(AdministrativeDomain a_DefaultDomain)
Sets the value of the attribute: DEFAULT_DOMAIN. |
void |
setDefaultDomainReference(AdminDomainRef a_DefaultDomainReference)
Sets the value of the attribute: DEFAULT_DOMAIN_REFERENCE. |
void |
setDescription(String a_Description)
Sets the value of the attribute: DESCRIPTION. |
void |
setDomainRef(AdminDomainRef a_DomainRef)
Sets the object for the association that plays role: DOMAIN_REF. |
void |
setEntrySet(AclEntrySet a_EntrySet)
Sets the value of the attribute: ENTRY_SET. |
void |
setFederatableInfo(FederatableInfo a_FederatableInfo)
Sets the object for the association that plays role: FEDERATABLE_INFO. |
void |
setInheritedDomain(boolean a_InheritedDomain)
Sets the value of the attribute: INHERITED_DOMAIN. |
void |
setName(String a_Name)
Sets the value of the attribute: NAME. |
void |
setOrganization(WTOrganization a_Organization)
Sets the value of the attribute: ORGANIZATION. |
void |
setOrganizationReference(WTPrincipalReference a_OrganizationReference)
Sets the value of the attribute: ORGANIZATION_REFERENCE. |
void |
setOwner(WTPrincipal a_Owner)
Sets the value of the attribute: OWNER. |
void |
setOwnerReference(WTPrincipalReference a_OwnerReference)
Sets the value of the attribute: OWNER_REFERENCE. |
void |
setPrivateDomain(AdministrativeDomain a_PrivateDomain)
Sets the object for the association that plays role: PRIVATE_DOMAIN. |
void |
setPrivateDomainReference(AdminDomainRef a_PrivateDomainReference)
Sets the value of the attribute: PRIVATE_DOMAIN_REFERENCE. |
protected void |
setRestrictedDirectorySearchScope(boolean a_RestrictedDirectorySearchScope)
Sets the value of the attribute: RESTRICTED_DIRECTORY_SEARCH_SCOPE. |
void |
setSharingEnabled(boolean a_SharingEnabled)
Sets the value of the attribute: SHARING_ENABLED. |
void |
setSubscriber(boolean a_Subscriber)
Sets the value of the attribute: SUBSCRIBER. |
void |
setSystemCabinet(Cabinet a_SystemCabinet)
Sets the value of the attribute: SYSTEM_CABINET. |
void |
setSystemCabinetReference(CabinetReference a_SystemCabinetReference)
Sets the value of the attribute: SYSTEM_CABINET_REFERENCE. |
void |
setSystemDomain(AdministrativeDomain a_SystemDomain)
Sets the value of the attribute: SYSTEM_DOMAIN. |
void |
setSystemDomainReference(AdminDomainRef a_SystemDomainReference)
Sets the value of the attribute: SYSTEM_DOMAIN_REFERENCE. |
String |
toString()
If the object has been persisted, return it's ObjectIdentifier. |
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 wt.fc.WTObject |
checkAttributes, duplicate, finalize, getClassInfo, getCreateTimestamp, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getModifyTimestamp, getPersistInfo, getType, readVersion, setPersistInfo |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface wt.fc.NetFactor |
getClassInfo |
Methods inherited from interface wt.fc.Persistable |
checkAttributes, getPersistInfo, getType, setPersistInfo |
Methods inherited from interface wt.identity.DisplayIdentification |
getDisplayIdentifier, getDisplayIdentity, getDisplayType |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final String CONFERENCING_IDENTIFIER
WTOrganization
WTOrganization.conferencingIdentifier
,
Constant Field Valuespublic static final String CONFERENCING_URL
WTOrganization
WTOrganization#conferencURL
,
Constant Field Valuespublic static final String CONTEXT_PROVIDER
public static final String RESTRICTED_DIRECTORY_SEARCH_SCOPE
WTOrganization
associated with this container is a member of the site-level All
Unrestricted Organizations
group. By default, members of this
group are granted read access to all principals in the User
domain or any of its child domains.
Default: true
Supported API: false
WTContainerHelper.setRestrictedDirectorySearchScope(OrgContainer,boolean)
,
WTContainerService.changeRestrictedDirectorySearchScope(OrgContainer,boolean)
,
Constant Field Valuesprivate boolean restrictedDirectorySearchScope
public static final String SUBSCRIBER
private boolean subscriber
public static final String PRIVATE_DOMAIN
public static final String PRIVATE_DOMAIN_REFERENCE
private AdminDomainRef privateDomainReference
public static final String ALL_PARTICIPATING_MEMBERS
public static final String ALL_PARTICIPATING_MEMBERS_REFERENCE
private WTPrincipalReference allParticipatingMembersReference
public static final String CREATORS_MAP
OrgContainer
's creators
group configuration. If the container is persistent, the creatorsMap
property is initialized by calling WTContainerService.getCreatorsMap(OrgContainer)
.
Otherwise, a new CreatorsMap
is instantiated with mappings
for the installed container classes that include the default autoPopulate
settings. When created for a non-persisted container, the entries in
the CreatorsMap
will have null
values for the
creators group role (the roleAObject
role).
CreatorsMap
,
ContainerLink
,
WTContainerHelper.getDefaultCreatorsClasses(OrgContainer)
,
WTContainerHelper.getDefaultAutoPopulateCreators(Class)
,
WTContainerService.getCreatorsMap(OrgContainer)
,
Constant Field Valuesprivate CreatorsMap creatorsMap
private WTContainerInfo containerInfo
public static final String CONTAINER_TEMPLATE
private WTContainerTemplateRef containerTemplateReference
private AclEntrySet entrySet
private boolean inheritedDomain
private AdminDomainRef domainRef
private FederatableInfo federatableInfo
public static final String CONTAINER
private WTContainerRef containerReference
private WTPrincipalReference organizationReference
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public OrgContainer()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class WTObject
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class WTObject
input
-
IOException
ClassNotFoundException
protected boolean readVersion(OrgContainer 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
writeExternal
in class WTObject
output
-
SQLException
DatastoreException
public void readExternal(PersistentRetrieveIfc input) throws SQLException, DatastoreException
(Not intended for general
use.)
Supported API: false
readExternal
in interface ObjectMappable
readExternal
in class WTObject
input
-
SQLException
DatastoreException
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
public String getConferencingIdentifier() throws WTException
WTOrganization
WTException
WTOrganization.conferencingIdentifier
public URL getConferencingURL() throws WTException
WTOrganization
WTException
WTOrganization#conferencURL
public DirectoryContextProvider getContextProvider() throws WTException
getContextProvider
in interface WTContainer
WTException
public boolean isRestrictedDirectorySearchScope()
WTOrganization
associated
with this container is a member of the site-level All Unrestricted
Organizations
group. By default, members of this group are
granted read access to all principals in the User
domain
or any of its child domains.
Default: true
Supported API: false
WTContainerHelper.setRestrictedDirectorySearchScope(OrgContainer,boolean)
,
WTContainerService.changeRestrictedDirectorySearchScope(OrgContainer,boolean)
protected void setRestrictedDirectorySearchScope(boolean a_RestrictedDirectorySearchScope) throws WTPropertyVetoException
WTOrganization
associated
with this container is a member of the site-level All Unrestricted
Organizations
group. By default, members of this group are
granted read access to all principals in the User
domain
or any of its child domains.
Default: true
Supported API: false
a_RestrictedDirectorySearchScope
-
WTPropertyVetoException
WTContainerHelper.setRestrictedDirectorySearchScope(OrgContainer,boolean)
,
WTContainerService.changeRestrictedDirectorySearchScope(OrgContainer,boolean)
public boolean isSubscriber() throws WTException
WTException
public void setSubscriber(boolean a_Subscriber) throws WTPropertyVetoException
a_Subscriber
-
WTPropertyVetoException
public AdministrativeDomain getPrivateDomain()
public void setPrivateDomain(AdministrativeDomain a_PrivateDomain) throws WTPropertyVetoException, WTException
a_PrivateDomain
-
WTPropertyVetoException
WTException
public AdminDomainRef getPrivateDomainReference()
public void setPrivateDomainReference(AdminDomainRef a_PrivateDomainReference) throws WTPropertyVetoException
a_PrivateDomainReference
-
WTPropertyVetoException
private void privateDomainReferenceValidate(AdminDomainRef a_PrivateDomainReference) throws WTPropertyVetoException
a_PrivateDomainReference
-
WTPropertyVetoException
public WTGroup getAllParticipatingMembers()
public void setAllParticipatingMembers(WTGroup a_AllParticipatingMembers) throws WTPropertyVetoException, WTException
a_AllParticipatingMembers
-
WTPropertyVetoException
WTException
public WTPrincipalReference getAllParticipatingMembersReference()
public void setAllParticipatingMembersReference(WTPrincipalReference a_AllParticipatingMembersReference) throws WTPropertyVetoException
a_AllParticipatingMembersReference
-
WTPropertyVetoException
private void allParticipatingMembersReferenceValidate(WTPrincipalReference a_AllParticipatingMembersReference) throws WTPropertyVetoException
a_AllParticipatingMembersReference
-
WTPropertyVetoException
public CreatorsMap getCreatorsMap() throws WTException
OrgContainer
's creators group configuration.
If the container is persistent, the creatorsMap
property
is initialized by calling WTContainerService.getCreatorsMap(OrgContainer)
.
Otherwise, a new CreatorsMap
is instantiated with mappings
for the installed container classes that include the default autoPopulate
settings. When created for a non-persisted container, the entries
in the CreatorsMap
will have null
values
for the creators group role (the roleAObject
role).
WTException
CreatorsMap
,
ContainerLink
,
WTContainerHelper.getDefaultCreatorsClasses(OrgContainer)
,
WTContainerHelper.getDefaultAutoPopulateCreators(Class)
,
WTContainerService.getCreatorsMap(OrgContainer)
protected void setCreatorsMap(CreatorsMap a_CreatorsMap) throws WTPropertyVetoException
OrgContainer
's creators group configuration.
If the container is persistent, the creatorsMap
property
is initialized by calling WTContainerService.getCreatorsMap(OrgContainer)
.
Otherwise, a new CreatorsMap
is instantiated with mappings
for the installed container classes that include the default autoPopulate
settings. When created for a non-persisted container, the entries
in the CreatorsMap
will have null
values
for the creators group role (the roleAObject
role).
a_CreatorsMap
-
WTPropertyVetoException
CreatorsMap
,
ContainerLink
,
WTContainerHelper.getDefaultCreatorsClasses(OrgContainer)
,
WTContainerHelper.getDefaultAutoPopulateCreators(Class)
,
WTContainerService.getCreatorsMap(OrgContainer)
private void creatorsMapValidate(CreatorsMap a_CreatorsMap) throws WTPropertyVetoException
a_CreatorsMap
-
WTPropertyVetoException
public static OrgContainer newOrgContainer(String name, WTContainer parent) throws WTException
name
- parent
-
WTException
protected void initialize(String name, WTContainer parent) throws WTException
name
- parent
-
WTException
public static OrgContainer newOrgContainer() throws WTException
WTException
public AdminDomainRef getBasePublicDomain(Class container_class) throws WTException
container_class
-
WTException
WTContainerService.getBasePublicDomain(wt.inf.container.OrgContainer, java.lang.Class)
public String getIdentity()
getIdentity
in interface Persistable
getIdentity
in class WTObject
public PublicDomainSet getPublicDomains(Class container_class) throws WTException
container_class
-
WTException
WTContianerService#getPublicDomains
public void setAutoPopulateCreators(Class container_class, boolean auto_populate) throws WTPropertyVetoException
container_class
- auto_populate
-
WTPropertyVetoException
WTContainerService.getCreatorsMap(wt.inf.container.OrgContainer)
public WTGroup getAdministrators()
getAdministrators
in interface WTContainer
public void setAdministrators(WTGroup a_Administrators) throws WTPropertyVetoException, WTException
setAdministrators
in interface WTContainer
a_Administrators
-
WTPropertyVetoException
WTException
public WTPrincipalReference getAdministratorsReference()
getAdministratorsReference
in interface WTContainer
#administrators
public void setAdministratorsReference(WTPrincipalReference a_AdministratorsReference) throws WTPropertyVetoException
setAdministratorsReference
in interface WTContainer
a_AdministratorsReference
-
WTPropertyVetoException
#administrators
public boolean isBusinessNamespace()
false
, then the first
parent of this container that is a business namespace will be used.
isBusinessNamespace
in interface WTContainer
protected void setBusinessNamespace(boolean a_BusinessNamespace) throws WTPropertyVetoException
false
, then the first
parent of this container that is a business namespace will be used.
a_BusinessNamespace
-
WTPropertyVetoException
public WTPrincipal getCreator()
getCreator
in interface WTContainer
public void setCreator(WTPrincipal a_Creator) throws WTPropertyVetoException, WTException
setCreator
in interface WTContainer
a_Creator
-
WTPropertyVetoException
WTException
public WTPrincipalReference getCreatorReference()
getCreatorReference
in interface WTContainer
public void setCreatorReference(WTPrincipalReference a_CreatorReference) throws WTPropertyVetoException
setCreatorReference
in interface WTContainer
a_CreatorReference
-
WTPropertyVetoException
public Cabinet getDefaultCabinet()
Cabinet
for a container's "business" data. Typically,
folder browsing will use the default cabinet as a root. Administrative
data should be placed in the system cabinet.
Every effort should be made to limit the Cabinet
s in
a container to the 2 defined in the WTContainer model -- the defaultCabinet
and systemCabinet
.
Supported API: false
getDefaultCabinet
in interface WTContainer
public void setDefaultCabinet(Cabinet a_DefaultCabinet) throws WTPropertyVetoException, WTException
Cabinet
for a container's "business" data. Typically,
folder browsing will use the default cabinet as a root. Administrative
data should be placed in the system cabinet.
Every effort should be made to limit the Cabinet
s in
a container to the 2 defined in the WTContainer model -- the defaultCabinet
and systemCabinet
.
Supported API: false
setDefaultCabinet
in interface WTContainer
a_DefaultCabinet
-
WTPropertyVetoException
WTException
public CabinetReference getDefaultCabinetReference()
getDefaultCabinetReference
in interface WTContainer
#cabinet
public void setDefaultCabinetReference(CabinetReference a_DefaultCabinetReference) throws WTPropertyVetoException
setDefaultCabinetReference
in interface WTContainer
a_DefaultCabinetReference
-
WTPropertyVetoException
#cabinet
public AdministrativeDomain getDefaultDomain()
private
, then the default domain
will be parented by the publicParentDomain
.
getDefaultDomain
in interface WTContainer
public void setDefaultDomain(AdministrativeDomain a_DefaultDomain) throws WTPropertyVetoException, WTException
private
, then the default domain
will be parented by the publicParentDomain
.
setDefaultDomain
in interface WTContainer
a_DefaultDomain
-
WTPropertyVetoException
WTException
public AdminDomainRef getDefaultDomainReference()
getDefaultDomainReference
in interface WTContainer
#defaultDomain
public void setDefaultDomainReference(AdminDomainRef a_DefaultDomainReference) throws WTPropertyVetoException
setDefaultDomainReference
in interface WTContainer
a_DefaultDomainReference
-
WTPropertyVetoException
#defaultDomain
public String getDescription()
getDescription
in interface WTContainer
public void setDescription(String a_Description) throws WTPropertyVetoException
setDescription
in interface WTContainer
a_Description
-
WTPropertyVetoException
public String getInternetDomain() throws WTException
This property is derived from WTOrganization.internetDomain
Supported API: false
getInternetDomain
in interface WTContainer
WTException
public boolean isMetaDataNamespace()
true
, then getInternetDomain()
must
return a non-null value.
This property will always be true
for instances of OrgContainer
or ExchangeContainer
, and always be false
for other container types.
Supported API: false
isMetaDataNamespace
in interface WTContainer
public String getName()
IdentityHelper.service.changeIdentity(WTContainer,
WTContainerIdentity)
Subclasses should override the default implementation of setName
to call WTContainerInfo.setName(WTContainer,String)
.
This will ensure the change restriction check is properly enforced.
Supported API: true
getName
in interface WTContainer
IdentityService#changeIdentity
,
WTContainerIdentity
public void setName(String a_Name) throws WTPropertyVetoException
IdentityHelper.service.changeIdentity(WTContainer,
WTContainerIdentity)
Subclasses should override the default implementation of setName
to call WTContainerInfo.setName(WTContainer,String)
.
This will ensure the change restriction check is properly enforced.
Supported API: true
setName
in interface WTContainer
a_Name
-
WTPropertyVetoException
IdentityService#changeIdentity
,
WTContainerIdentity
public WTPrincipal getOwner()
getOwner
in interface WTContainer
public void setOwner(WTPrincipal a_Owner) throws WTPropertyVetoException, WTException
setOwner
in interface WTContainer
a_Owner
-
WTPropertyVetoException
WTException
public WTPrincipalReference getOwnerReference()
getOwnerReference
in interface WTContainer
#owner
public void setOwnerReference(WTPrincipalReference a_OwnerReference) throws WTPropertyVetoException
setOwnerReference
in interface WTContainer
a_OwnerReference
-
WTPropertyVetoException
#owner
public boolean isPrivateAccess()
true
, the container should be set up such that only
the users directly participating in the container have access to it.
For ContainerTeamManaged
objects, this means the confirmed
participants in the container.
If a container has already been run through the create process, then
the WTContainerService
should be used to change this
property. Use makePrivate
to turn on private access,
and makePublic
to turn it off.
Supported API: false
isPrivateAccess
in interface WTContainer
public AdministrativeDomain getPublicParentDomain()
getPublicParentDomain
in interface WTContainer
public AdminDomainRef getPublicParentDomainReference()
getPublicParentDomainReference
in interface WTContainer
#publicParentDomain
public boolean isSharingEnabled()
isSharingEnabled
in interface WTContainer
public void setSharingEnabled(boolean a_SharingEnabled) throws WTPropertyVetoException
setSharingEnabled
in interface WTContainer
a_SharingEnabled
-
WTPropertyVetoException
public Cabinet getSystemCabinet()
Cabinet
for "system" data. The assumption is that data
in this cabinet is typically not displayed in a folder paradigm but
rather through another administrative client. Typical folder displays
should work with the defaultCabinet
.
Every effort should be made to limit the Cabinet
s in
a container to the 2 defined in the WTContainer model -- the defaultCabinet
and systemCabinet
.
Supported API: false
getSystemCabinet
in interface WTContainer
public void setSystemCabinet(Cabinet a_SystemCabinet) throws WTPropertyVetoException, WTException
Cabinet
for "system" data. The assumption is that data
in this cabinet is typically not displayed in a folder paradigm but
rather through another administrative client. Typical folder displays
should work with the defaultCabinet
.
Every effort should be made to limit the Cabinet
s in
a container to the 2 defined in the WTContainer model -- the defaultCabinet
and systemCabinet
.
Supported API: false
setSystemCabinet
in interface WTContainer
a_SystemCabinet
-
WTPropertyVetoException
WTException
public CabinetReference getSystemCabinetReference()
getSystemCabinetReference
in interface WTContainer
#systemCabinet
public void setSystemCabinetReference(CabinetReference a_SystemCabinetReference) throws WTPropertyVetoException
setSystemCabinetReference
in interface WTContainer
a_SystemCabinetReference
-
WTPropertyVetoException
#systemCabinet
public AdministrativeDomain getSystemDomain()
systemDomain
,
so that open access is not granted to the container's administrative
data.
getSystemDomain
in interface WTContainer
public void setSystemDomain(AdministrativeDomain a_SystemDomain) throws WTPropertyVetoException, WTException
systemDomain
,
so that open access is not granted to the container's administrative
data.
setSystemDomain
in interface WTContainer
a_SystemDomain
-
WTPropertyVetoException
WTException
public AdminDomainRef getSystemDomainReference()
getSystemDomainReference
in interface WTContainer
#systemDomain
public void setSystemDomainReference(AdminDomainRef a_SystemDomainReference) throws WTPropertyVetoException
setSystemDomainReference
in interface WTContainer
a_SystemDomainReference
-
WTPropertyVetoException
#systemDomain
public WTContainerInfo getContainerInfo()
getContainerInfo
in interface WTContainer
protected void setContainerInfo(WTContainerInfo a_ContainerInfo) throws WTPropertyVetoException
a_ContainerInfo
-
WTPropertyVetoException
private void containerInfoValidate(WTContainerInfo a_ContainerInfo) throws WTPropertyVetoException
a_ContainerInfo
-
WTPropertyVetoException
public WTContainerTemplate getContainerTemplate()
getContainerTemplate
in interface WTContainer
public void setContainerTemplate(WTContainerTemplate a_ContainerTemplate) throws WTPropertyVetoException, WTException
setContainerTemplate
in interface WTContainer
a_ContainerTemplate
-
WTPropertyVetoException
WTException
public WTContainerTemplateRef getContainerTemplateReference()
getContainerTemplateReference
in interface WTContainer
public void setContainerTemplateReference(WTContainerTemplateRef a_ContainerTemplateReference) throws WTPropertyVetoException
setContainerTemplateReference
in interface WTContainer
a_ContainerTemplateReference
-
WTPropertyVetoException
private void containerTemplateReferenceValidate(WTContainerTemplateRef a_ContainerTemplateReference) throws WTPropertyVetoException
a_ContainerTemplateReference
-
WTPropertyVetoException
public AclEntrySet getEntrySet()
getEntrySet
in interface AdHocControlled
public void setEntrySet(AclEntrySet a_EntrySet)
setEntrySet
in interface AdHocControlled
a_EntrySet
- public boolean isInheritedDomain()
isInheritedDomain
in interface DomainAdministered
public void setInheritedDomain(boolean a_InheritedDomain) throws WTPropertyVetoException
setInheritedDomain
in interface DomainAdministered
a_InheritedDomain
-
WTPropertyVetoException
public AdminDomainRef getDomainRef()
getDomainRef
in interface DomainAdministered
public void setDomainRef(AdminDomainRef a_DomainRef)
setDomainRef
in interface DomainAdministered
a_DomainRef
- public FederatableInfo getFederatableInfo()
getFederatableInfo
in interface Federatable
public void setFederatableInfo(FederatableInfo a_FederatableInfo) throws WTPropertyVetoException
setFederatableInfo
in interface Federatable
a_FederatableInfo
-
WTPropertyVetoException
private void federatableInfoValidate(FederatableInfo a_FederatableInfo) throws WTPropertyVetoException
a_FederatableInfo
-
WTPropertyVetoException
public WTContainer getContainer()
getContainer
in interface WTContainedIdentified
public void setContainer(WTContainer a_Container) throws WTPropertyVetoException, WTException
setContainer
in interface WTContainedIdentified
a_Container
-
WTPropertyVetoException
WTException
public WTContainerRef getContainerReference()
getContainerReference
in interface WTContainedIdentified
public void setContainerReference(WTContainerRef a_ContainerReference) throws WTPropertyVetoException
setContainerReference
in interface WTContainedIdentified
a_ContainerReference
-
WTPropertyVetoException
private void containerReferenceValidate(WTContainerRef a_ContainerReference) throws WTPropertyVetoException
a_ContainerReference
-
WTPropertyVetoException
public String getContainerName()
WTContainer
this object is assigned to.
getContainerName
in interface WTContained
public IdentificationObject getIdentificationObject() throws WTException
getIdentificationObject
in interface Identified
WTException
public WTPrincipalReference getOrganizationReference()
getOrganizationReference
in interface OrganizationOwnedImpl
public void setOrganizationReference(WTPrincipalReference a_OrganizationReference) throws WTPropertyVetoException
setOrganizationReference
in interface OrganizationOwnedImpl
a_OrganizationReference
-
WTPropertyVetoException
private void organizationReferenceValidate(WTPrincipalReference a_OrganizationReference) throws WTPropertyVetoException
a_OrganizationReference
-
WTPropertyVetoException
public String getOrganizationUniqueIdentifier()
getOrganizationUniqueIdentifier
in interface OrganizationOwned
public String getOrganizationCodingSystem()
getOrganizationCodingSystem
in interface OrganizationOwned
public String getOrganizationName()
getOrganizationName
in interface OrganizationOwned
public WTOrganization getOrganization()
getOrganization
in interface OrganizationOwned
public void setOrganization(WTOrganization a_Organization) throws WTPropertyVetoException
setOrganization
in interface OrganizationOwned
a_Organization
-
WTPropertyVetoException
public boolean equals(Object obj)
ObjectIdentifier
s.
Changed or stale copies are still considered equal by this method.
Delegates to PersistenceHelper.equals(Persistable,Object)
.
Warning: Certain core Windchill operations may depend upon
equals
being ObjectIdentifier
-based. Changes
to the default implementation should be done with care, if at all.
Supported API: false
equals
in class WTObject
obj
-
public int hashCode()
ObjectIdentifier
.
Delegates to PersistenceHelper.hashCode(Persistable)
.
Warning: Certain core Windchill operations may depend upon
hashCode
being ObjectIdentifier-based
. Changes
to the default implementation should be done with care, if at all.
Supported API: false
hashCode
in class WTObject
protected void initialize() throws WTException
WTObject
initialize
in class WTObject
WTException
public String toString()
WTObject
toString
in class WTObject
public void log(StringBuffer sb)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |