com.ibm.itim.dataservices.model.domain
Class BusinessPartnerOrg

java.lang.Object
  extended by com.ibm.itim.dataservices.model.DirectoryEntry
      extended by com.ibm.itim.dataservices.model.DirectoryObject
          extended by com.ibm.itim.dataservices.model.domain.OrganizationalContainer
              extended by com.ibm.itim.dataservices.model.domain.BusinessPartnerOrg
All Implemented Interfaces:
ProtectedObject, com.ibm.itim.util.Sortable, com.ibm.itim.util.xml.objectstream.Importable, java.io.Serializable

public class BusinessPartnerOrg
extends OrganizationalContainer

Value Object class that holds the attribute information of a business partner organization in the data model.

See Also:
BusinessPartnerOrgEntity, Serialized Form

Field Summary
static int ACTIVE_STATUS
          Int constant indicating an active status.
static java.lang.String BPORG_ATTR_NAME
          String constant for the business partner organization name attribute.
static java.lang.String BPORG_ATTR_STATUS
          String constant for the business partner status attribute.
static java.lang.String BU_ATTR_SPONSOR
          String constant for the business partner organization's sponsor attribute.
static int INACTIVE_STATUS
          Int constant indicating an inactive, or suspended, status.
static java.lang.String PROFILE_NAME
          Constant defining the BusinessparnerOrg's profile name.
 
Fields inherited from class com.ibm.itim.dataservices.model.DirectoryObject
ATTR_ACCESS_RIGHT, ATTR_LIFECYCLE_ENABLE, ATTR_URI, DESCRIPTION, NAME
 
Fields inherited from interface com.ibm.itim.util.Sortable
ATTR_NAME
 
Constructor Summary
BusinessPartnerOrg()
          Default empty constructor
BusinessPartnerOrg(AttributeValues attributes)
          Constructs object with attribute information.
BusinessPartnerOrg(java.lang.String profileName, AttributeValues attributes)
          Constructs object with profile and attribute information.
 
Method Summary
 int getStatus()
          Returns the status of the business partner organization.
 void restore()
          Restores the business partner organization, changing its status to ACTIVE_STATUS.
 void suspend()
          Suspends the businss partner organization, changing its status to INACTIVE_STATUS.
 
Methods inherited from class com.ibm.itim.dataservices.model.DirectoryObject
addAttribute, addAttributeValues, getAccessRights, getAttribute, getAttributes, getAuthorizationOwners, getMapAttributeNames, getMappedAttributes, getName, getNameAttribute, getOldMappedAttributes, getProfileName, getRawAttributes, getSortValue, getTenantDN, isLifecycleDefined, removeAttribute, removeAttribute, setAccessRights, setAttribute, setAttributes, setAuthorizationOwners, setProfileName, setTenantDN, toString
 
Methods inherited from class com.ibm.itim.dataservices.model.DirectoryEntry
clearChange, clearChanges, getChanges, getDistinguishedName, getLastModified, getObjectClasses, getOldAttributes, setDistinguishedName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BPORG_ATTR_NAME

public static java.lang.String BPORG_ATTR_NAME
String constant for the business partner organization name attribute.


BU_ATTR_SPONSOR

public static final java.lang.String BU_ATTR_SPONSOR
String constant for the business partner organization's sponsor attribute.

See Also:
Constant Field Values

ACTIVE_STATUS

public static final int ACTIVE_STATUS
Int constant indicating an active status.

See Also:
Constant Field Values

INACTIVE_STATUS

public static final int INACTIVE_STATUS
Int constant indicating an inactive, or suspended, status.

See Also:
Constant Field Values

BPORG_ATTR_STATUS

public static final java.lang.String BPORG_ATTR_STATUS
String constant for the business partner status attribute.

See Also:
Constant Field Values

PROFILE_NAME

public static final java.lang.String PROFILE_NAME
Constant defining the BusinessparnerOrg's profile name.

See Also:
Constant Field Values
Constructor Detail

BusinessPartnerOrg

public BusinessPartnerOrg()
Default empty constructor


BusinessPartnerOrg

public BusinessPartnerOrg(AttributeValues attributes)
Constructs object with attribute information. Warning: the purpose of this constructor is to provide clients with the ability to create value objects for creation in the data store. Do not use this constructor to create value objects that represent existing entities. See the BusinessPartnerOrgSearch object for achieving that.

Parameters:
attributes - AttributeValues holding the attributes of the business partner organization.

BusinessPartnerOrg

public BusinessPartnerOrg(java.lang.String profileName,
                          AttributeValues attributes)
Constructs object with profile and attribute information. Warning: the purpose of this constructor is to provide clients with the ability to create value objects for creation in the data store. Do not use this constructor to create value objects that represent existing entities. See the BusinessPartnerOrgSearch object for achieving that.

Parameters:
profileName - Name of the profile identifying the type of this business partner organization.
attributes - AttributeValues holding the attributes of the business partner organization.
Method Detail

getStatus

public int getStatus()
Returns the status of the business partner organization.

Returns:
Enumerated int status, ACTIVE_STATUS or INACTIVE_STATUS.

suspend

public void suspend()
Suspends the businss partner organization, changing its status to INACTIVE_STATUS. Note: this does not affect any dependent entities within the organization.


restore

public void restore()
Restores the business partner organization, changing its status to ACTIVE_STATUS. Note: this does not affect any dependent entities within the organization.



IBM Security Identity Manager 6.0.0
© Copyright International Business Machines Corporation 2007, 2012. All rights reserved. US Government Users Restricited Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.