public class Organization extends OrganizationalContainer implements com.ibm.itim.util.xml.objectstream.Importable
OrganizationEntity,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_STATUS
Constant indicating an active status.
|
static int |
INACTIVE_STATUS
Constant indicating an inactive, or suspended, status.
|
static java.lang.String |
ORG_ATTR_NAME
String constant for the naming attribute name.
|
static java.lang.String |
ORG_ATTR_STATUS
String constant for the status attribute name.
|
ATTR_ACCESS_RIGHT, ATTR_LIFECYCLE_ENABLE, ATTR_URI, DESCRIPTION, NAME| Constructor and Description |
|---|
Organization()
Default empty constructor
|
Organization(AttributeValues attributes)
Constructs object with attribute information.
|
Organization(java.lang.String profileName,
AttributeValues attributes)
Deprecated.
Use Organization(AttributeValues) instead. Since 4.6
|
| Modifier and Type | Method and Description |
|---|---|
int |
getStatus()
Returns the status of the organization.
|
void |
restore()
Restores the organization, changing its status to ACTIVE_STATUS.
|
void |
suspend()
Suspends the organization, changing its status to INACTIVE_STATUS.
|
addAttribute, addAttributeValues, getAccessRights, getAttribute, getAttributes, getAuthorizationOwners, getMapAttributeNames, getMappedAttributes, getName, getNameAttribute, getOldMappedAttributes, getProfileName, getRawAttributes, getSortValue, getTenantDN, isLifecycleDefined, removeAttribute, removeAttribute, setAccessRights, setAttribute, setAttributes, setAuthorizationOwners, setProfileName, setTenantDN, toStringclearChange, clearChanges, getChanges, getDistinguishedName, getLastModified, getObjectClasses, getOldAttributes, setDistinguishedNamepublic static java.lang.String ORG_ATTR_NAME
public static final java.lang.String ORG_ATTR_STATUS
public static final int ACTIVE_STATUS
public static final int INACTIVE_STATUS
public Organization()
public Organization(AttributeValues attributes)
attributes - AttributeValues holding the attributes of the
organization.public Organization(java.lang.String profileName,
AttributeValues attributes)
profileName - Name of the profile identifying the type of this
organization.attributes - AttributeValues holding the attributes of the
organization.public int getStatus()
public void suspend()
public void restore()