Package wt.inf.container
Class OrgContainer
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.team._WTRoleHolder2
wt.team.WTRoleHolder2
wt.inf.container._OrgContainer
wt.inf.container.OrgContainer
- All Implemented Interfaces:
Externalizable,Serializable,wt.access._AccessControlled,wt.access._AccessControlList,wt.access._AdHocControlled,wt.access._IdentityAccessControlled,wt.access._PolicyAccessControlled,wt.access._SecurityLabeled,AccessControlled,wt.access.AccessControlList,AdHocControlled,wt.access.IdentityAccessControlled,wt.access.PolicyAccessControlled,SecurityLabeled,wt.admin._DomainAdministered,DomainAdministered,wt.fc._Identified,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,wt.fc.adminlock._AdministrativelyLockable,AdministrativelyLockable,Identified,NetFactor,ObjectMappable,Persistable,wt.federation._FederatedLinkHolder,wt.federation._RemotelyLinkable,wt.federation.FederatedLinkHolder,wt.federation.RemotelyLinkable,DisplayIdentification,wt.inf.container._WTContained,wt.inf.container._WTContainedIdentified,_WTContainer,wt.inf.container.OrgContainerIfc,WTContained,WTContainedIdentified,WTContainer,wt.notify._Notifiable,Notifiable,wt.option._OptionSetAssignable,OptionSetAssignable,_OrganizationOwned,_OrganizationOwnedImpl,OrganizationOwned,OrganizationOwnedImpl,wt.recent.RecentlyVisited,RoleHolder2,wt.type._TypeManaged,wt.type.TypeManaged,wt.ufid._Federatable,wt.ufid.Federatable,wt.workflow.forum._SubjectOfForum,SubjectOfForum,wt.workflow.notebook._SubjectOfNotebook,wt.workflow.notebook.SubjectOfNotebook
@GenAsPersistable(superClass=WTRoleHolder2.class,interfaces={WTContainer.class,wt.inf.container.OrgContainerIfc.class,wt.type.TypeManaged.class,OptionSetAssignable.class},versions={-3451651727950443928L,-2761535768819837786L},properties={@GeneratedProperty(name="restrictedDirectorySearchScope",type=boolean.class,initialValue="true",supportedAPI=PRIVATE,javaDoc="Determines whether or not the <code>WTOrganization</code> associated with this container is a member of the site-level <code>All Unrestricted Organizations</code> group. By default, members of this group are granted read access to all principals in the <code>User</code> domain or any of its child domains. <p> Default: <code>true</code> @see WTContainerHelper#setRestrictedDirectorySearchScope(OrgContainer,boolean) @see WTContainerService#changeRestrictedDirectorySearchScope(OrgContainer,boolean)",accessors=@PropertyAccessors(setAccess=PROTECTED)),@GeneratedProperty(name="subscriber",type=boolean.class,supportedAPI=PRIVATE,accessors=@PropertyAccessors(getExceptions=WTException.class)),@GeneratedProperty(name="creatorsMap",type=wt.inf.container.CreatorsMap.class,javaDoc="Stores the <code>OrgContainer</code>\'s creators group configuration. If the container is persistent, the <code>creatorsMap</code> property is initialized by calling {@link WTContainerService#getCreatorsMap(OrgContainer)}. Otherwise, a new <code>CreatorsMap</code> is instantiated with mappings for the installed container classes that include the default <code>autoPopulate</code> settings. When created for a non-persisted container, the entries in the <code>CreatorsMap</code> will have <code>null</code> values for the creators group role (the <code>roleAObject</code> role). @see CreatorsMap @see ContainerLink @see WTContainerHelper#getDefaultCreatorsClasses(OrgContainer) @see WTContainerHelper#getDefaultAutoPopulateCreators(Class) @see WTContainerService#getCreatorsMap(OrgContainer)",accessors=@PropertyAccessors(setAccess=PROTECTED,getExceptions=WTException.class),constraints=@PropertyConstraints(required=true),columnProperties=@ColumnProperties(persistent=false))},foreignKeys=@GeneratedForeignKey(name="PrivateDomainLink",myRoleIsRoleA=false,foreignKeyRole=@ForeignKeyRole(name="privateDomain",type=AdministrativeDomain.class,referenceType=AdminDomainRef.class,constraints=@PropertyConstraints(required=true)),myRole=@MyRole(name="theOrgContainer",cardinality=ONE)),derivedProperties={@DerivedProperty(name="conferencingIdentifier",derivedFrom="organization>conferencingIdentifier",type=java.lang.String.class,supportedAPI=PRIVATE,getBody="try { return ((OrgContainer) this).getOrganization().getConferencingIdentifier(); } catch (java.lang.NullPointerException npe) { return null; }",accessors=@PropertyAccessors(setAccess=PRIVATE,getExceptions=WTException.class)),@DerivedProperty(name="conferencingURL",derivedFrom="organization>conferencingURL",type=java.net.URL.class,supportedAPI=PRIVATE,getBody="try { return ((OrgContainer) this).getOrganization().getConferencingURL(); } catch (java.lang.NullPointerException npe) { return null; }",accessors=@PropertyAccessors(setAccess=PRIVATE,getExceptions=WTException.class)),@DerivedProperty(name="contextProvider",derivedFrom="organization",type=DirectoryContextProvider.class,supportedAPI=PRIVATE,getBody="try { return ((OrgContainer) this).getOrganization(); } catch (java.lang.NullPointerException npe) { return null; }",accessors=@PropertyAccessors(setAccess=PRIVATE,getExceptions=WTException.class))},iconProperties=@IconProperties(standardIcon="netmarkets/images/organization_context.gif",openIcon="netmarkets/images/organization_context.gif"))
public final class OrgContainer
extends _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
- See Also:
-
Field Summary
Fields inherited from class wt.inf.container._OrgContainer
CONFERENCING_IDENTIFIER, CONFERENCING_URL, CONTEXT_PROVIDER, CREATORS_MAP, EXTERNALIZATION_VERSION_UID, PRIVATE_DOMAIN, PRIVATE_DOMAIN_REFERENCE, RESTRICTED_DIRECTORY_SEARCH_SCOPE, SUBSCRIBERFields inherited from class wt.team._WTRoleHolder2
CATEGORYFields inherited from class wt.fc._WTObject
CREATE_TIMESTAMP, MODIFY_TIMESTAMPFields inherited from interface wt.access._AdHocControlled
ENTRY_SETFields inherited from interface wt.fc.adminlock._AdministrativelyLockable
ADMINISTRATIVE_LOCKFields inherited from interface wt.admin._DomainAdministered
DOMAIN_REF, INHERITED_DOMAINFields inherited from interface wt.ufid._Federatable
FEDERATABLE_INFOFields inherited from interface wt.notify._Notifiable
EVENT_SETFields inherited from interface wt.org._OrganizationOwned
ORGANIZATION_CODING_SYSTEM, ORGANIZATION_NAME, ORGANIZATION_UNIQUE_IDENTIFIERFields inherited from interface wt.org._OrganizationOwnedImpl
ORGANIZATION_REFERENCEFields inherited from interface wt.fc._Persistable
PERSIST_INFOFields inherited from interface wt.access._SecurityLabeled
SECURITY_LABELSFields inherited from interface wt.inf.container._WTContained
CONTAINER, CONTAINER_NAME, CONTAINER_REFERENCEFields inherited from interface wt.inf.container._WTContainer
ADMINISTRATORS, ADMINISTRATORS_REFERENCE, BUSINESS_NAMESPACE, CONTAINER_INFO, CONTAINER_TEMPLATE, CONTAINER_TEMPLATE_REFERENCE, CREATOR, CREATOR_REFERENCE, DEFAULT_CABINET, DEFAULT_CABINET_REFERENCE, DEFAULT_DOMAIN, DEFAULT_DOMAIN_REFERENCE, DESCRIPTION, INTERNET_DOMAIN, NAME, OWNER, OWNER_REFERENCE, PRIVATE_ACCESS, PUBLIC_PARENT_DOMAIN, PUBLIC_PARENT_DOMAIN_REFERENCE, SHARING_ENABLED, SYSTEM_CABINET, SYSTEM_CABINET_REFERENCE, SYSTEM_DOMAIN, SYSTEM_DOMAIN_REFERENCEFields inherited from interface wt.identity.DisplayIdentification
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPEFields inherited from interface wt.org.OrganizationOwned
ORGANIZATIONFields inherited from interface wt.fc.Persistable
IDENTITY, TYPEFields inherited from interface wt.access.SecurityLabeled
SECURITY_LABELS_INTERNAL_VALUEFields inherited from interface wt.inf.container.WTContained
CONTAINER_ID -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the attribute: ORGANIZATION.voidSets the value of the attribute: NAME.voidsetOrganization(WTOrganization a_Organization) Sets the value of the attribute: ORGANIZATION.Methods inherited from class wt.inf.container._OrgContainer
getAdministrativeLock, getAdministrators, getAdministratorsReference, getClassInfo, getConceptualClassname, getConferencingIdentifier, getConferencingURL, getContainer, getContainerInfo, getContainerName, getContainerReference, getContainerTemplate, getContainerTemplateReference, getContextProvider, getCreator, getCreatorReference, getDefaultCabinet, getDefaultCabinetReference, getDefaultDomain, getDefaultDomainReference, getDescription, getDomainRef, getEntrySet, getEventSet, getFederatableInfo, getName, getOrganizationCodingSystem, getOrganizationName, getOrganizationReference, getOrganizationUniqueIdentifier, getOwner, getOwnerReference, getPrivateDomain, getPrivateDomainReference, getPublicParentDomain, getPublicParentDomainReference, getSecurityLabels, getSystemCabinet, getSystemCabinetReference, getSystemDomain, getSystemDomainReference, getType, isBusinessNamespace, isInheritedDomain, isPrivateAccess, isRestrictedDirectorySearchScope, isSharingEnabled, isSubscriber, readExternal, readExternal, readVersion, setAdministrativeLock, setAdministrators, setAdministratorsReference, setBusinessNamespace, setContainer, setContainerInfo, setContainerReference, setContainerTemplate, setContainerTemplateReference, setCreator, setCreatorReference, setCreatorsMap, setDefaultCabinet, setDefaultCabinetReference, setDefaultDomain, setDefaultDomainReference, setDescription, setDomainRef, setEntrySet, setEventSet, setFederatableInfo, setInheritedDomain, setOrganizationReference, setOwner, setOwnerReference, setPrivateDomain, setPrivateDomainReference, setRestrictedDirectorySearchScope, setSecurityLabels, setSharingEnabled, setSubscriber, setSystemCabinet, setSystemCabinetReference, setSystemDomain, setSystemDomainReference, super_readExternal_OrgContainer, super_readVersion_OrgContainer, super_writeExternal_OrgContainer, writeExternal, writeExternalMethods inherited from class wt.team.WTRoleHolder2
addPool, addPrincipal, addPrincipals, deletePoolTarget, deletePrincipalTarget, deleteRole, getMembers, getPoolTarget, getPrincipalTarget, getReadOnlyRolePrincipalMap, getRolePrincipalMap, getRoles, setRolePrincipalMapMethods inherited from class wt.team._WTRoleHolder2
getCategory, readVersion, setCategory, super_readExternal_WTRoleHolder2, super_readVersion_WTRoleHolder2, super_writeExternal_WTRoleHolder2Methods inherited from class wt.fc.WTObject
checkAttributes, duplicate, getDisplayIdentifier, getDisplayIdentity, getDisplayTypeMethods inherited from class wt.fc._WTObject
equals, getCreateTimestamp, getModifyTimestamp, getPersistInfo, hashCode, readVersion, setPersistInfoMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface wt.fc._Persistable
getPersistInfo, setPersistInfoMethods inherited from interface wt.identity.DisplayIdentification
getDisplayIdentifier, getDisplayIdentity, getDisplayTypeMethods inherited from interface wt.inf.container.OrgContainerIfc
equals, hashCodeMethods inherited from interface wt.fc.Persistable
checkAttributes
-
Method Details
-
setName
Sets the value of the attribute: NAME. To rename a container, useIdentityHelper.service.changeIdentity(WTContainer, WTContainerIdentity)Subclasses should override the default implementation of
setNameto callWTContainerInfo.setName(WTContainer,String). This will ensure the change restriction check is properly enforced.
Supported API: true- Specified by:
setNamein interface_WTContainer- Overrides:
setNamein class_OrgContainer- Parameters:
a_Name-- Throws:
WTPropertyVetoException- See Also:
-
getOrganization
Gets the value of the attribute: ORGANIZATION.
Supported API: true- Returns:
- WTOrganization
-
setOrganization
Sets the value of the attribute: ORGANIZATION.
Supported API: true- Parameters:
a_Organization-- Throws:
WTPropertyVetoException
-