Package wt.org
Class WTOrganization
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.fc._Item
wt.fc.Item
wt.org._WTPrincipal
wt.org.WTPrincipal
wt.org._WTGroup
wt.org.WTGroup
wt.org._WTOrganization
wt.org.WTOrganization
- All Implemented Interfaces:
Externalizable,Serializable,Principal,wt.access._AccessControlled,wt.access._AccessControlList,wt.access._AdHocControlled,wt.access._PolicyAccessControlled,wt.access._SecurityLabeled,AccessControlled,wt.access.AccessControlList,AdHocControlled,wt.access.PolicyAccessControlled,SecurityLabeled,wt.admin._DomainAdministered,DomainAdministered,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,wt.fc.adminlock._AdministrativelyLockable,AdministrativelyLockable,wt.fc.BusinessInformation,NetFactor,ObjectMappable,Persistable,wt.federation._FederatedLinkHolder,wt.federation._RemotelyLinkable,wt.federation.FederatedLinkHolder,wt.federation.RemotelyLinkable,wt.iba.value._IBAReferenceable,wt.iba.value.IBAReferenceable,DisplayIdentification,wt.inf.container._WTContained,WTContained,DirectoryContextProvider,wt.recent.RecentlyVisited,wt.type._ConstraintFilterable,wt.type._TypeManaged,wt.type.ConstraintFilterable,wt.type.TypeManaged,wt.ufid._Federatable,wt.ufid.Federatable
@GenAsPersistable(superClass=WTGroup.class,interfaces={DirectoryContextProvider.class,wt.iba.value.IBAReferenceable.class},versions=-1015692433866462680L,properties={@GeneratedProperty(name="administrator",type=WTPrincipalReference.class,accessors=@PropertyAccessors(getAccess=PRIVATE,setExceptions={}),columnProperties=@ColumnProperties(persistent=false)),@GeneratedProperty(name="classification",type=java.lang.String.class,accessors=@PropertyAccessors(getAccess=PRIVATE,setExceptions={}),constraints=@PropertyConstraints(upperLimit=600)),@GeneratedProperty(name="conferencingIdentifier",type=java.lang.String.class,accessors=@PropertyAccessors(getAccess=PRIVATE,setExceptions={}),constraints=@PropertyConstraints(upperLimit=600)),@GeneratedProperty(name="conferencingURL",type=java.lang.String.class,accessors=@PropertyAccessors(getAccess=PRIVATE,setExceptions={}),constraints=@PropertyConstraints(upperLimit=600)),@GeneratedProperty(name="internetDomain",type=java.lang.String.class,accessors=@PropertyAccessors(getAccess=PRIVATE,setExceptions={}),constraints=@PropertyConstraints(upperLimit=1200)),@GeneratedProperty(name="location",type=java.lang.String.class,accessors=@PropertyAccessors(getAccess=PRIVATE,setExceptions={}),constraints=@PropertyConstraints(upperLimit=4000)),@GeneratedProperty(name="supportingServices",type=java.lang.String[][].class,accessors=@PropertyAccessors(getAccess=PRIVATE,setExceptions={}),columnProperties=@ColumnProperties(persistent=false)),@GeneratedProperty(name="webSite",type=java.lang.String.class,accessors=@PropertyAccessors(getAccess=PRIVATE,setExceptions={}),constraints=@PropertyConstraints(upperLimit=600)),@GeneratedProperty(name="organizationIdentifier",type=WTOrganizationIdentifier.class,constraints=@PropertyConstraints(upperLimit=200))},tableProperties=@TableProperties(compositeUnique1="+name"),iconProperties=@IconProperties(standardIcon="netmarkets/images/organization_context.gif",openIcon="netmarkets/images/organization_context.gif"))
public class WTOrganization
extends wt.org._WTOrganization
Use the newWTOrganization static factory method(s), not
the WTOrganization 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.org._WTOrganization
CONFERENCING_IDENTIFIER, EXTERNALIZATION_VERSION_UID, ORGANIZATION_IDENTIFIERFields inherited from class wt.org.WTGroup
ADDITIONAL_ATTRIBUTES, DESCRIPTION, VERSION_50_UIDFields inherited from class wt.org._WTGroup
REPLICATEFields inherited from class wt.org.WTPrincipal
ALL, OWNER, PRINCIPALTYPEFields inherited from class wt.org._WTPrincipal
ATTRIBUTES, DISABLED, DN, INFLATED, INTERNAL, NAME, PRINCIPAL_TYPE, REMOTE_DIRECTORY_SERVER_ID, REPAIR_NEEDED, REPOSITORY, STATUSFields inherited from class wt.fc.Item
SIMPLE_X10_UID, VERSION_40_UID, VERSION_51_UIDFields 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.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.fc.BusinessInformation
BUSINESS_TYPE, IDENTITYFields inherited from interface wt.identity.DisplayIdentification
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPEFields 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 TypeMethodDescription
Supported API: true
Supported API: true
Supported API: true
Supported API: true
Supported API: true
Supported API: true
Supported API: trueReturns a unique, display-friendly identifier for the organization.
Supported API: true
Supported API: trueprotected voidinitialize(String name) Supports initialization, following construction of an instance.protected voidinitialize(String name, String dn, String service) Supports initialization, following construction of an instance.protected voidinitialize(String name, DirectoryContextProvider context) Supports initialization, following construction of an instance.static WTOrganizationnewWTOrganization(String name)
Supported API: truestatic WTOrganizationnewWTOrganization(String name, String dn, String service)
Supported API: truestatic WTOrganizationnewWTOrganization(String name, DirectoryContextProvider context)
Supported API: truevoidsetAdministrator(WTPrincipalReference administrator)
Supported API: truevoidsetClassification(String classification)
Supported API: truevoidsetConferencingIdentifier(String conferencingIdentifier)
Supported API: truevoidsetConferencingURL(URL conferencingURL)
Supported API: truevoidsetInternetDomain(String internetDomain)
Supported API: truevoidsetLocation(String location)
Supported API: truevoidsetSupportingServices(String[] supportingServices)
Supported API: truevoidsetWebSite(URL webSite)
Supported API: trueMethods inherited from class wt.org._WTOrganization
getClassInfo, getConceptualClassname, getType, readExternal, readExternal, readVersion, setOrganizationIdentifier, super_readExternal_WTOrganization, super_readVersion_WTOrganization, super_writeExternal_WTOrganization, writeExternal, writeExternalMethods inherited from class wt.org.WTGroup
addMember, addMembers, getAdditionalAttributesKey, getBusinessType, getContainerPath, getFederatableInfo, isMember, members, newWTGroup, newWTGroup, newWTGroup, parentGroups, parentGroups, removeMember, setDisabled, validParticipantsInOrganizationMethods inherited from class wt.org._WTGroup
getContainer, getContainerName, getContainerReference, getEntrySet, isReplicate, readVersion, setContainer, setContainerReference, setEntrySet, setReplicate, super_readExternal_WTGroup, super_readVersion_WTGroup, super_writeExternal_WTGroupMethods inherited from class wt.org.WTPrincipal
_mangleName, _setAttribute, _setDisabled, _unmangleName, _updateAttributeForNoDirectMapping, _updateAttributeHolder, cloneAsInflated, getAdditionalAttributes, getAdditionalAttributesForInternalPrincipals, getAttributes, getDisabledDisplayStatus, getDn, getIdentity, getName, getName, getOrganization, getPrincipalDisplayIdentifier, getPrincipalType, getRepository, getSecuredInformationMessageInSessionLocale, getSiteLabelInSessionLocale, inflate, initialize, isDefaultDomain, isServicePrincipal, mapAdditionalAttributes, setAdditionalAttributes, setAttributes, setDn, setName, setPrincipalType, setRepositoryMethods inherited from class wt.org._WTPrincipal
getStatus, isDisabled, isInflated, isInternal, isRepairNeeded, readVersion, setFederatableInfo, setInflated, setInternal, setRepairNeeded, setStatus, super_readExternal_WTPrincipal, super_readVersion_WTPrincipal, super_writeExternal_WTPrincipalMethods inherited from class wt.fc._Item
getAdministrativeLock, getDomainRef, getSecurityLabels, isInheritedDomain, readVersion, setAdministrativeLock, setDomainRef, setInheritedDomain, setSecurityLabels, super_readExternal_Item, super_readVersion_Item, super_writeExternal_ItemMethods inherited from class wt.fc.WTObject
checkAttributes, duplicate, getDisplayIdentifier, getDisplayIdentity, getDisplayTypeMethods inherited from class wt.fc._WTObject
getCreateTimestamp, getModifyTimestamp, getPersistInfo, readVersion, setPersistInfoMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface wt.fc.adminlock._AdministrativelyLockable
getAdministrativeLock, setAdministrativeLockMethods inherited from interface wt.fc._Persistable
getPersistInfo, setPersistInfoMethods inherited from interface wt.org.DirectoryContextProvider
getContainerReferenceList, getIncludeAllContainers, setContainerReferenceList, setIncludeAllContainersMethods inherited from interface wt.fc.Persistable
checkAttributes, getIdentity
-
Method Details
-
newWTOrganization
Supported API: true- Parameters:
name-- Returns:
- WTOrganization
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Overrides:
initializein classWTGroup- Parameters:
name-- Throws:
WTException
-
newWTOrganization
public static WTOrganization newWTOrganization(String name, String dn, String service) throws WTException
Supported API: true- Parameters:
name-dn-service-- Returns:
- WTOrganization
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Overrides:
initializein classWTGroup- Parameters:
name-dn-service-- Throws:
WTException
-
newWTOrganization
public static WTOrganization newWTOrganization(String name, DirectoryContextProvider context) throws WTException
Supported API: true- Parameters:
name-context-- Returns:
- WTOrganization
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Overrides:
initializein classWTGroup- Parameters:
name-context-- Throws:
WTException
-
getAdministrator
Supported API: true- Returns:
- WTPrincipalReference
- Throws:
WTException
-
setAdministrator
Supported API: true- Parameters:
administrator-
-
getClassification
Supported API: true- Returns:
- String
- Throws:
WTException
-
setClassification
Supported API: true- Parameters:
classification-
-
getCodingSystem
Supported API: true- Returns:
- String
-
getConferencingIdentifier
Supported API: true- Returns:
- String
- Throws:
WTException
-
setConferencingIdentifier
Supported API: true- Parameters:
conferencingIdentifier-- Throws:
WTException
-
getConferencingURL
Supported API: true- Returns:
- URL
- Throws:
WTException
-
setConferencingURL
Supported API: true- Parameters:
conferencingURL-- Throws:
WTException
-
getInternetDomain
Supported API: true- Returns:
- String
- Throws:
WTException
-
setInternetDomain
Supported API: true- Parameters:
internetDomain-- Throws:
WTException
-
getLocation
Supported API: true- Returns:
- String
- Throws:
WTException
-
setLocation
Supported API: true- Parameters:
location-
-
setSupportingServices
Supported API: true- Parameters:
supportingServices-
-
getUniqueIdentifier
Supported API: true- Returns:
- String
-
getWebSite
Supported API: true- Returns:
- URL
- Throws:
WTException
-
setWebSite
Supported API: true- Parameters:
webSite-
-
getUniqueDisplayIdentifier
Returns a unique, display-friendly identifier for the organization. Labels and internal representations are localized using session locale.
The unique identifier generated is made up of the organization's name, and the Organization ID attribute, if present, otherwise Site. The end result is of the form:
"Organization name (Organization ID or Site)"
For example:
ACME (1234), or ACME (Site)
If the session user does not have access to the principal, thewt.access.accessResource.SECURED_INFORMATIONmessage is returned instead.
Supported API: true- Overrides:
getUniqueDisplayIdentifierin classWTGroup- Returns:
- String - Unique display identifier generated based on the above specifications
- Throws:
WTException
-