|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.WTObject
wt.fc.Item
wt.org.WTPrincipal
wt.org.WTGroup
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
Fields inherited from class wt.org.WTGroup |
DESCRIPTION, VERSION_50_UID |
Fields inherited from class wt.org.WTPrincipal |
ALL, DISABLED, DN, INFLATED, NAME, OWNER, REPAIR_NEEDED, REPOSITORY |
Fields inherited from class wt.fc.Item |
VERSION_40_UID, VERSION_51_UID |
Fields inherited from class wt.fc.WTObject |
CREATE_TIMESTAMP, MODIFY_TIMESTAMP |
Fields inherited from interface wt.fc.Persistable |
IDENTITY, PERSIST_INFO, TYPE |
Fields inherited from interface wt.access.AdHocControlled |
ENTRY_SET |
Fields inherited from interface wt.fc.BusinessInformation |
BUSINESS_TYPE, IDENTITY |
Fields inherited from interface wt.ufid.Federatable |
FEDERATABLE_INFO |
Fields inherited from interface wt.admin.DomainAdministered |
DOMAIN_REF, INHERITED_DOMAIN |
Fields inherited from interface wt.identity.DisplayIdentification |
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPE |
Constructor Summary | |
WTOrganization()
|
Method Summary | |
private void |
_inflate()
|
protected void |
copyAttributes(WTPrincipal target)
Supported API: false |
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. |
WTPrincipalReference |
getAdministrator()
Supported API: true |
HashMap |
getAttributeMap(String service)
Supported API: false |
String |
getClassification()
Supported API: true |
String |
getCodingSystem()
Supported API: true |
String |
getConceptualClassname()
Deprecated. |
String |
getConferencingIdentifier()
Supported API: true |
URL |
getConferencingURL()
Supported API: true |
String |
getCreationBase(String service)
Supported API: false |
String |
getDescription()
Supported API: false |
String |
getDn()
Gets the value of the attribute: DN. |
HashMap |
getFieldValueMap()
Supported API: false |
String |
getIBAReferenceableDisplayString()
Supported API: false |
String |
getInternetDomain()
Supported API: true |
String |
getLocation()
Supported API: true |
WTOrganizationIdentifier |
getOrganizationIdentifier()
Gets the object for the association that plays role: ORGANIZATION_IDENTIFIER. |
String |
getPrimaryService()
Supported API: false |
String |
getReferenceID()
Supported API: false |
protected String[] |
getRegisteredSupportingServices()
|
String |
getRepository()
Gets the value of the attribute: REPOSITORY. |
String |
getSearchBase(String service)
Supported API: false |
String |
getSearchCriteria(String service,
Class principalClass)
Supported API: false |
Enumeration |
getSearchCriteriaClasses(String service)
Supported API: false |
String |
getSearchScope(String service)
Supported API: false |
int |
getSizeLimit(String service)
Supported API: false |
Enumeration |
getSubordinates()
Supported API: false |
WTOrganization |
getSuperior()
Supported API: false |
String[] |
getSupportingServices()
Supported API: false |
String |
getUniqueIdentifier()
Supported API: true |
URL |
getWebSite()
Supported API: true |
int |
hashCode()
Returns a hash code for this object based upon its ObjectIdentifier . |
protected void |
initialize(String name)
Supports initialization, following construction of an instance. |
protected void |
initialize(String name,
DirectoryContextProvider context)
Supports initialization, following construction of an instance. |
protected void |
initialize(String name,
String dn,
String service)
Supports initialization, following construction of an instance. |
void |
mapAttributes(HashMap attributes)
Supported API: false |
static WTOrganization |
newWTOrganization(String name)
Supported API: true |
static WTOrganization |
newWTOrganization(String name,
DirectoryContextProvider context)
Supported API: true |
static WTOrganization |
newWTOrganization(String name,
String dn,
String service)
Supported API: true |
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(WTOrganization thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
private void |
setAdministrator(String dn)
|
void |
setAdministrator(WTPrincipalReference administrator)
Supported API: true |
void |
setClassification(String classification)
Supported API: true |
void |
setConferencingIdentifier(String conferencingIdentifier)
Supported API: true |
private void |
setConferencingURL(String url)
|
void |
setConferencingURL(URL conferencingURL)
Supported API: true |
void |
setCreationBase(String service,
String creationBase)
Supported API: false |
void |
setDescription(String description)
Supported API: false |
void |
setDn(String dn)
Sets the value of the attribute: DN. |
void |
setInternetDomain(String internetDomain)
Supported API: true |
void |
setLocation(String location)
Supported API: true |
private void |
setOrganizationIdentifier(String id)
|
void |
setOrganizationIdentifier(WTOrganizationIdentifier a_OrganizationIdentifier)
Sets the object for the association that plays role: ORGANIZATION_IDENTIFIER. |
void |
setRepository(String repository)
Sets the value of the attribute: REPOSITORY. |
void |
setSearchBase(String service,
String searchBase)
Supported API: false |
void |
setSearchCriteria(String service,
Class principalClass,
String searchCriteria)
Supported API: false |
void |
setSearchScope(String service,
String searchScope)
Supported API: false |
void |
setSizeLimit(String service,
int sizeLimit)
Supported API: false |
void |
setSupportingServices(String[] supportingServices)
Supported API: true |
private void |
setWebSite(String url)
|
void |
setWebSite(URL webSite)
Supported API: true |
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.org.WTGroup |
addMember, addMembers, getBusinessType, getEntrySet, isMember, members, newWTGroup, newWTGroup, newWTGroup, parentGroups, readVersion, removeMember, setDisabled, setEntrySet |
Methods inherited from class wt.org.WTPrincipal |
_mangleName, _setDisabled, _unmangleName, getDn, getFederatableInfo, getIdentificationObject, getIdentity, getName, getOrganization, getRepository, inflate, initialize, isDefaultDomain, isDisabled, isInflated, isRepairNeeded, readVersion, setDn, setFederatableInfo, setInflated, setName, setRepairNeeded, setRepository |
Methods inherited from class wt.fc.Item |
getDomainRef, isInheritedDomain, readVersion, setDomainRef, setInheritedDomain |
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.Persistable |
checkAttributes, getIdentity, getPersistInfo, getType, setPersistInfo |
Methods inherited from interface wt.fc.NetFactor |
getClassInfo |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private WTPrincipalReference administrator
private String classification
private String conferencingIdentifier
private URL conferencingURL
private String internetDomain
private String location
private String[] supportingServices
private URL webSite
public static final String ORGANIZATION_IDENTIFIER
private WTOrganizationIdentifier organizationIdentifier
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private static final String INTROSPECTION_RESOURCE
private static String defaultAdapter
private static boolean VERBOSE
private ArrayList subordinates
private WTOrganization superior
private Hashtable creationBases
private Hashtable searchBases
private Hashtable searchCriteria
private Hashtable searchScopes
private Hashtable sizeLimits
public static final String ADMINISTRATOR
public static final String CONFERENCING_ID
public static final String CONFERENCING_URL
public static final String CLASSIFICATION
public static final String INTERNET_DOMAIN
public static final String LOCATION
public static final String SUPPORTING_SERVICES
public static final String WEB_SITE
private static final String[] ATTRIBUTE_NAMES
private static final String[] DIR_ATTRIBUTE_KEYS
private static final String[] DEFAULT_DIR_ATTRIBUTE_NAMES
private static Hashtable serviceMaps
Constructor Detail |
public WTOrganization()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class WTGroup
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class WTGroup
input
-
IOException
ClassNotFoundException
protected boolean readVersion(WTOrganization 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 WTGroup
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 WTGroup
input
-
SQLException
DatastoreException
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class WTGroup
public WTOrganizationIdentifier getOrganizationIdentifier()
public void setOrganizationIdentifier(WTOrganizationIdentifier a_OrganizationIdentifier) throws WTPropertyVetoException
a_OrganizationIdentifier
-
WTPropertyVetoException
public static WTOrganization newWTOrganization(String name) throws WTException
name
-
WTException
protected void initialize(String name) throws WTException
initialize
in class WTGroup
name
-
WTException
public static WTOrganization newWTOrganization(String name, String dn, String service) throws WTException
name
- dn
- service
-
WTException
protected void initialize(String name, String dn, String service) throws WTException
initialize
in class WTGroup
name
- dn
- service
-
WTException
public static WTOrganization newWTOrganization(String name, DirectoryContextProvider context) throws WTException
name
- context
-
WTException
protected void initialize(String name, DirectoryContextProvider context) throws WTException
initialize
in class WTGroup
name
- context
-
WTException
public WTPrincipalReference getAdministrator() throws WTException
WTException
public void setAdministrator(WTPrincipalReference administrator)
administrator
- public HashMap getAttributeMap(String service) throws WTException
getAttributeMap
in class WTGroup
service
-
WTException
public String getClassification() throws WTException
WTException
public void setClassification(String classification)
classification
- public String getCodingSystem()
public String getConferencingIdentifier() throws WTException
WTException
public void setConferencingIdentifier(String conferencingIdentifier) throws WTException
conferencingIdentifier
-
WTException
public URL getConferencingURL() throws WTException
WTException
public void setConferencingURL(URL conferencingURL) throws WTException
conferencingURL
-
WTException
public String getInternetDomain() throws WTException
WTException
public void setInternetDomain(String internetDomain) throws WTException
internetDomain
-
WTException
public String getLocation() throws WTException
WTException
public void setLocation(String location)
location
- public Enumeration getSubordinates() throws WTException
WTException
public WTOrganization getSuperior() throws WTException
WTException
public void setSupportingServices(String[] supportingServices)
supportingServices
- public String getUniqueIdentifier()
public URL getWebSite() throws WTException
WTException
public void setWebSite(URL webSite)
webSite
- public HashMap getFieldValueMap() throws WTException
getFieldValueMap
in class WTGroup
WTException
public void mapAttributes(HashMap attributes) throws WTException, WTPropertyVetoException
mapAttributes
in class WTGroup
attributes
-
WTException
WTPropertyVetoException
protected void copyAttributes(WTPrincipal target) throws WTException, WTPropertyVetoException
copyAttributes
in class WTGroup
target
-
WTException
WTPropertyVetoException
public String getCreationBase(String service) throws WTException
getCreationBase
in interface DirectoryContextProvider
service
-
WTException
public void setCreationBase(String service, String creationBase) throws WTPropertyVetoException
setCreationBase
in interface DirectoryContextProvider
service
- creationBase
-
WTPropertyVetoException
public String getPrimaryService() throws WTException
getPrimaryService
in interface DirectoryContextProvider
WTException
public String getSearchBase(String service) throws WTException
getSearchBase
in interface DirectoryContextProvider
service
-
WTException
public void setSearchBase(String service, String searchBase) throws WTPropertyVetoException
setSearchBase
in interface DirectoryContextProvider
service
- searchBase
-
WTPropertyVetoException
public String getSearchCriteria(String service, Class principalClass)
getSearchCriteria
in interface DirectoryContextProvider
service
- principalClass
-
public Enumeration getSearchCriteriaClasses(String service)
getSearchCriteriaClasses
in interface DirectoryContextProvider
service
-
public void setSearchCriteria(String service, Class principalClass, String searchCriteria) throws WTPropertyVetoException
setSearchCriteria
in interface DirectoryContextProvider
service
- principalClass
- searchCriteria
-
WTPropertyVetoException
public String getSearchScope(String service) throws WTException
getSearchScope
in interface DirectoryContextProvider
service
-
WTException
public void setSearchScope(String service, String searchScope) throws WTPropertyVetoException
setSearchScope
in interface DirectoryContextProvider
service
- searchScope
-
WTPropertyVetoException
public int getSizeLimit(String service)
getSizeLimit
in interface DirectoryContextProvider
service
-
public void setSizeLimit(String service, int sizeLimit) throws WTPropertyVetoException
setSizeLimit
in interface DirectoryContextProvider
service
- sizeLimit
-
WTPropertyVetoException
public String[] getSupportingServices() throws WTException
getSupportingServices
in interface DirectoryContextProvider
WTException
public String getIBAReferenceableDisplayString()
getIBAReferenceableDisplayString
in interface IBAReferenceable
public String getReferenceID()
getReferenceID
in interface IBAReferenceable
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 interface Principal
equals
in class WTGroup
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 interface Principal
hashCode
in class WTGroup
protected String[] getRegisteredSupportingServices() throws WTException
WTException
private void setAdministrator(String dn) throws WTException
WTException
private void setConferencingURL(String url) throws WTException
WTException
private void setOrganizationIdentifier(String id) throws WTPropertyVetoException
WTPropertyVetoException
private void setWebSite(String url) throws WTException
WTException
public String toString()
WTObject
toString
in interface Principal
toString
in class WTGroup
public String getDn()
WTPrincipal
getDn
in class WTGroup
public void setDn(String dn)
WTPrincipal
setDn
in class WTGroup
public String getRepository()
WTPrincipal
getRepository
in class WTGroup
public void setRepository(String repository)
WTPrincipal
setRepository
in class WTGroup
public String getDescription() throws WTException
WTGroup
getDescription
in class WTGroup
WTException
public void setDescription(String description) throws WTException, WTPropertyVetoException
WTGroup
setDescription
in class WTGroup
description
-
WTPropertyVetoException
WTException
private void _inflate()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |