|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Implementors of WTContainer
should create a new WTContainerInfo
in their initializer:
protected void initialize() throws WTException {
super.initialize();
try {
setContainerInfo(WTContainerInfo.newWTContainerInfo());
}
catch (WTPropertyVetoException wtpve) {
throw new WTException(wtpve);
}
}
Supported API: true
Extendable: false
Field Summary | |
static String |
ADMINISTRATORS
Label for the attribute; Used by the WTContainerService.isAsministrator API to determine if a given user is an administrator of a container. |
static String |
ADMINISTRATORS_REFERENCE
Label for the attribute; Supported API: false |
static String |
BUSINESS_NAMESPACE
Label for the attribute; Whether or not objects in the "business namespace" have their identity constrained by this container. |
static String |
CONTAINER_INFO
Label for the attribute. |
static String |
CONTAINER_TEMPLATE
Label for the attribute. |
static String |
CONTAINER_TEMPLATE_REFERENCE
Label for the attribute. |
static String |
CONTEXT_PROVIDER
Label for the attribute; Represents a node in LDAP under which container-specific LDAP objects should be created. |
static String |
CREATOR
Label for the attribute. |
static String |
CREATOR_REFERENCE
Label for the attribute. |
static String |
DEFAULT_CABINET
Label for the attribute; A Cabinet for a container's "business"
data. |
static String |
DEFAULT_CABINET_REFERENCE
Label for the attribute; Supported API: false |
static String |
DEFAULT_DOMAIN
Label for the attribute; A domain that is set up to administer a container's business data. |
static String |
DEFAULT_DOMAIN_REFERENCE
Label for the attribute; Supported API: false |
static String |
DESCRIPTION
Label for the attribute. |
static String |
INTERNET_DOMAIN
Label for the attribute; The name of the internet domain associated with this container, for example "com.ptc". |
static String |
META_DATA_NAMESPACE
Label for the attribute; Determines whether or not this container can have LWC metadata dependent upon it. |
static String |
NAME
Label for the attribute; To rename a container, use IdentityHelper.service.changeIdentity(WTContainer,
WTContainerIdentity)
|
static String |
OWNER
Label for the attribute. |
static String |
OWNER_REFERENCE
Label for the attribute; Supported API: false |
static String |
PRIVATE_ACCESS
Label for the attribute; Determines how open the access is to the contents of this container. |
static String |
PUBLIC_PARENT_DOMAIN
Label for the attribute. |
static String |
PUBLIC_PARENT_DOMAIN_REFERENCE
Label for the attribute; Supported API: false |
static String |
SHARING_ENABLED
Label for the attribute; Whether or not objects can be shared from this container. |
static String |
SYSTEM_CABINET
Label for the attribute; A Cabinet for "system" data. |
static String |
SYSTEM_CABINET_REFERENCE
Label for the attribute; Supported API: false |
static String |
SYSTEM_DOMAIN
Label for the attribute; A domain that is set up to administer a container's system data. |
static String |
SYSTEM_DOMAIN_REFERENCE
Label for the attribute; Supported API: false |
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, 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 |
Method Summary | |
WTGroup |
getAdministrators()
Gets the value of the attribute: ADMINISTRATORS. |
WTPrincipalReference |
getAdministratorsReference()
Gets the value of the attribute: ADMINISTRATORS_REFERENCE. |
WTContainerInfo |
getContainerInfo()
Gets the object for the association that plays role: CONTAINER_INFO. |
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. |
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. |
String |
getInternetDomain()
Gets the value of the attribute: INTERNET_DOMAIN. |
String |
getName()
Gets the value of the attribute: NAME. |
WTPrincipal |
getOwner()
Gets the value of the attribute: OWNER. |
WTPrincipalReference |
getOwnerReference()
Gets the value of the attribute: OWNER_REFERENCE. |
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. |
boolean |
isBusinessNamespace()
Gets the value of the attribute: BUSINESS_NAMESPACE. |
boolean |
isMetaDataNamespace()
Gets the value of the attribute: META_DATA_NAMESPACE. |
boolean |
isPrivateAccess()
Gets the value of the attribute: PRIVATE_ACCESS. |
boolean |
isSharingEnabled()
Gets the value of the attribute: SHARING_ENABLED. |
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 |
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. |
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 |
setName(String a_Name)
Sets the value of the attribute: NAME. |
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 |
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 |
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. |
Methods inherited from interface wt.access.AdHocControlled |
getEntrySet, setEntrySet |
Methods inherited from interface wt.fc.NetFactor |
getClassInfo, getConceptualClassname |
Methods inherited from interface wt.fc.Persistable |
checkAttributes, getIdentity, getPersistInfo, getType, setPersistInfo |
Methods inherited from interface wt.fc.ObjectMappable |
readExternal, writeExternal |
Methods inherited from interface wt.identity.DisplayIdentification |
getDisplayIdentifier, getDisplayIdentity, getDisplayType |
Methods inherited from interface wt.admin.DomainAdministered |
getDomainRef, isInheritedDomain, setDomainRef, setInheritedDomain |
Methods inherited from interface wt.ufid.Federatable |
getFederatableInfo, setFederatableInfo |
Methods inherited from interface wt.inf.container.WTContainedIdentified |
getContainer, getContainerReference, setContainer, setContainerReference |
Methods inherited from interface wt.inf.container.WTContained |
getContainerName |
Methods inherited from interface wt.fc.Identified |
getIdentificationObject |
Methods inherited from interface wt.org.OrganizationOwnedImpl |
getOrganizationReference, setOrganizationReference |
Methods inherited from interface wt.org.OrganizationOwned |
getOrganization, getOrganizationCodingSystem, getOrganizationName, getOrganizationUniqueIdentifier, setOrganization |
Field Detail |
public static final String ADMINISTRATORS
public static final String ADMINISTRATORS_REFERENCE
#administrators
,
Constant Field Valuespublic static final String BUSINESS_NAMESPACE
false
,
then the first parent of this container that is a business namespace
will be used.
public static final String CONTEXT_PROVIDER
public static final String CREATOR
public static final String CREATOR_REFERENCE
public static final String DEFAULT_CABINET
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
public static final String DEFAULT_CABINET_REFERENCE
#cabinet
,
Constant Field Valuespublic static final String DEFAULT_DOMAIN
private
, then the
default domain will be parented by the publicParentDomain
.
public static final String DEFAULT_DOMAIN_REFERENCE
#defaultDomain
,
Constant Field Valuespublic static final String DESCRIPTION
public static final String INTERNET_DOMAIN
This property is derived from WTOrganization.internetDomain
Supported API: false
public static final String META_DATA_NAMESPACE
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
public static final String NAME
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
IdentityService#changeIdentity
,
WTContainerIdentity
,
Constant Field Valuespublic static final String OWNER
public static final String OWNER_REFERENCE
#owner
,
Constant Field Valuespublic static final String PRIVATE_ACCESS
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
public static final String PUBLIC_PARENT_DOMAIN
public static final String PUBLIC_PARENT_DOMAIN_REFERENCE
#publicParentDomain
,
Constant Field Valuespublic static final String SHARING_ENABLED
public static final String SYSTEM_CABINET
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
public static final String SYSTEM_CABINET_REFERENCE
#systemCabinet
,
Constant Field Valuespublic static final String SYSTEM_DOMAIN
systemDomain
,
so that open access is not granted to the container's administrative
data.
public static final String SYSTEM_DOMAIN_REFERENCE
#systemDomain
,
Constant Field Valuespublic static final String CONTAINER_INFO
public static final String CONTAINER_TEMPLATE
public static final String CONTAINER_TEMPLATE_REFERENCE
Method Detail |
public WTGroup getAdministrators()
public void setAdministrators(WTGroup a_Administrators) throws WTPropertyVetoException, WTException
a_Administrators
-
WTPropertyVetoException
WTException
public WTPrincipalReference getAdministratorsReference()
#administrators
public void setAdministratorsReference(WTPrincipalReference a_AdministratorsReference) throws WTPropertyVetoException
a_AdministratorsReference
-
WTPropertyVetoException
#administrators
public boolean isBusinessNamespace()
false
, then the first
parent of this container that is a business namespace will be used.
public DirectoryContextProvider getContextProvider() throws WTException
WTException
public WTPrincipal getCreator()
public void setCreator(WTPrincipal a_Creator) throws WTPropertyVetoException, WTException
a_Creator
-
WTPropertyVetoException
WTException
public WTPrincipalReference getCreatorReference()
public void setCreatorReference(WTPrincipalReference a_CreatorReference) throws WTPropertyVetoException
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
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
a_DefaultCabinet
-
WTPropertyVetoException
WTException
public CabinetReference getDefaultCabinetReference()
#cabinet
public void setDefaultCabinetReference(CabinetReference a_DefaultCabinetReference) throws WTPropertyVetoException
a_DefaultCabinetReference
-
WTPropertyVetoException
#cabinet
public AdministrativeDomain getDefaultDomain()
private
, then the default domain
will be parented by the publicParentDomain
.
public void setDefaultDomain(AdministrativeDomain a_DefaultDomain) throws WTPropertyVetoException, WTException
private
, then the default domain
will be parented by the publicParentDomain
.
a_DefaultDomain
-
WTPropertyVetoException
WTException
public AdminDomainRef getDefaultDomainReference()
#defaultDomain
public void setDefaultDomainReference(AdminDomainRef a_DefaultDomainReference) throws WTPropertyVetoException
a_DefaultDomainReference
-
WTPropertyVetoException
#defaultDomain
public String getDescription()
public void setDescription(String a_Description) throws WTPropertyVetoException
a_Description
-
WTPropertyVetoException
public String getInternetDomain() throws WTException
This property is derived from WTOrganization.internetDomain
Supported API: false
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
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
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
a_Name
-
WTPropertyVetoException
IdentityService#changeIdentity
,
WTContainerIdentity
public WTPrincipal getOwner()
public void setOwner(WTPrincipal a_Owner) throws WTPropertyVetoException, WTException
a_Owner
-
WTPropertyVetoException
WTException
public WTPrincipalReference getOwnerReference()
#owner
public void setOwnerReference(WTPrincipalReference a_OwnerReference) throws WTPropertyVetoException
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
public AdministrativeDomain getPublicParentDomain()
public AdminDomainRef getPublicParentDomainReference()
#publicParentDomain
public boolean isSharingEnabled()
public void setSharingEnabled(boolean a_SharingEnabled) throws WTPropertyVetoException
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
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
a_SystemCabinet
-
WTPropertyVetoException
WTException
public CabinetReference getSystemCabinetReference()
#systemCabinet
public void setSystemCabinetReference(CabinetReference a_SystemCabinetReference) throws WTPropertyVetoException
a_SystemCabinetReference
-
WTPropertyVetoException
#systemCabinet
public AdministrativeDomain getSystemDomain()
systemDomain
,
so that open access is not granted to the container's administrative
data.
public void setSystemDomain(AdministrativeDomain a_SystemDomain) throws WTPropertyVetoException, WTException
systemDomain
,
so that open access is not granted to the container's administrative
data.
a_SystemDomain
-
WTPropertyVetoException
WTException
public AdminDomainRef getSystemDomainReference()
#systemDomain
public void setSystemDomainReference(AdminDomainRef a_SystemDomainReference) throws WTPropertyVetoException
a_SystemDomainReference
-
WTPropertyVetoException
#systemDomain
public WTContainerInfo getContainerInfo()
public WTContainerTemplate getContainerTemplate()
public void setContainerTemplate(WTContainerTemplate a_ContainerTemplate) throws WTPropertyVetoException, WTException
a_ContainerTemplate
-
WTPropertyVetoException
WTException
public WTContainerTemplateRef getContainerTemplateReference()
public void setContainerTemplateReference(WTContainerTemplateRef a_ContainerTemplateReference) throws WTPropertyVetoException
a_ContainerTemplateReference
-
WTPropertyVetoException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |