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 interface wt.org._OrganizationOwned
ORGANIZATION_CODING_SYSTEM, ORGANIZATION_NAME, ORGANIZATION_UNIQUE_IDENTIFIERFields inherited from interface wt.org._OrganizationOwnedImpl
ORGANIZATION_REFERENCEFields inherited from interface wt.inf.container._WTContainer
CONTAINER_TEMPLATE, CONTAINER_TEMPLATE_REFERENCE, CREATOR, DESCRIPTION, NAME, OWNER, SHARING_ENABLED -
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
getContainerTemplate, getContainerTemplateReference, getCreator, getDescription, getName, getOrganizationCodingSystem, getOrganizationName, getOrganizationReference, getOrganizationUniqueIdentifier, getOwner, isSharingEnabled, setContainerTemplate, setContainerTemplateReference, setCreator, setDescription, setOrganizationReference, setOwner, setSharingEnabledMethods inherited from class wt.team.WTRoleHolder2
addPool, addPrincipal, deletePoolTarget, deletePrincipalTarget, deleteRole, getMembers, getPoolTarget, getPrincipalTarget, getRolesMethods inherited from class wt.fc.WTObject
getDisplayIdentifier, getDisplayIdentity, getDisplayTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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
-