com.ibm.commerce.user.objects
Class OrganizationAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.user.objects.OrganizationAccessBean
All Implemented Interfaces:
OrganizationAccessBeanData, java.io.Serializable

public class OrganizationAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements OrganizationAccessBeanData

This bean provides access to the ORGENTITY table.

The following is a description of this table:

This table contains information on organizational entities. An organizational entity is either an organization or an organizational unit.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
OrganizationAccessBean()
          Default constructor.
OrganizationAccessBean(javax.ejb.EJBObject Object)
          Creates an access bean for the specified EJB
OrganizationAccessBean(java.util.Hashtable aProperties)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
OrganizationAccessBean(java.lang.String aOrganizationName)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 java.util.Enumeration findAllOrganization()
          The SQL is "SELECT * FROM ORGENTITY T1 WHERE (ORGENTITYTYPE = 'O')".
 java.util.Enumeration findAllOrganizationUnit()
          The SQL is "SELECT * FROM ORGENTITY T1 WHERE (ORGENTITYTYPE = 'OU')".
 OrganizationAccessBean findByDN(java.lang.String aDN)
          Find the organization or organizational unit by Distinguished Name.
 boolean fulfills(java.lang.Long aMember, java.lang.String aRelationship)
          Determines if a given member fulfills a given relationship with the resource.
 java.lang.String getAdministratorFirstName()
          This method provides access to the ORGENTITY.ADMINFIRSTNAME column of DB2 type VARCHAR(128) NULL.
 java.lang.String getAdministratorLastName()
          This method provides access to the ORGENTITY.ADMINLASTNAME column of DB2 type VARCHAR(128) NULL.
 java.lang.String getAdministratorMiddleName()
          This method provides access to the ORGENTITY.ADMINMIDDLENAME column of DB2 type VARCHAR(128) NULL.
 java.lang.Long[] getAncestors()
          List of all ancestors of the member.
 java.lang.String getBusinessCategory()
          This method provides access to the ORGENTITY.BUSINESSCATEGORY column of DB2 type VARCHAR(128) NULL.
 java.lang.Long[] getChildren()
          List of child members.
 java.lang.Long[] getDescendants()
          List of all descendants members.
 java.lang.String getDescription()
          Description of the OrgEntity.
 java.lang.String getDisplayName()
          Name of this organization.
 java.lang.String getDistinguishedName()
          This method provides access to the ORGENTITY.DN column of DB2 type VARCHAR(1000) NULL.
 java.lang.String getLegalId()
          This method provides access to the ORGENTITY.LEGALID column of DB2 type VARCHAR(128) NULL.
 java.lang.String getMemberId()
          This method provides access to the ORGENTITY.MEMBER_ID column of DB2 type BIGINT NULL.
 java.lang.Long getMemberIdInEJBType()
          This method provides access to the ORGENTITY.MEMBER_ID column of DB2 type BIGINT NULL.
 java.lang.String getOrganizationId()
          This method provides access to the ORGENTITY.ORGENTITY_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getOrganizationIdInEJBType()
          This method provides access to the ORGENTITY.ORGENTITY_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getOrganizationName()
          This method provides access to the ORGENTITY.ORGENTITYNAME column of DB2 type VARCHAR(128) NOT NULL.
 java.lang.String getOrgEntityField1()
          Organization entity field 1.
 java.lang.String getOrgEntityField2()
          Organization entity field 2.
 java.lang.String getOrgEntityField3()
          Organization entity field 3.
 java.lang.String getOrgEntityType()
          Type of OrgEntity O=Organization OU=Organizational Unit.
 java.lang.Long getOwner()
          The member id of the owner of the resource.
 java.lang.String getOwnerMemberId()
          This method provides access to the ORGENTITY.MEMBER_ID column of DB2 type BIGINT NULL.
 java.lang.Long getOwnerMemberIdInEJBType()
          This method provides access to the ORGENTITY.MEMBER_ID column of DB2 type BIGINT NULL.
 java.lang.String getParentMemberId()
          The parent member.
 java.lang.String getPreferredDelivery()
          This method provides access to the ORGENTITY.PREFERREDDELIVERY column of DB2 type VARCHAR(1000) NULL.
 java.lang.Integer[] getRoles()
          All roles played by this member group in this OrgEntity.
 java.lang.Integer[] getRoles(java.lang.Long aOrgEntityId)
          All roles played by this member in this OrgEntity.
 java.lang.Integer[] getRolesForOrgEntityAndAncestors(java.lang.Long anOrgEntityId)
          Roles that member played in the OrgEntity and ancestors of the OrgEntity.
 java.lang.String getState()
          State of the member.
 java.lang.Integer getStateInEJBType()
          State of the member.
 java.lang.String getTaxPayerId()
          This method provides access to the ORGENTITY.TAXPAYERID column of DB2 type VARCHAR(254) NULL.
 java.lang.String getType()
          Type of the member.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setAdministratorFirstName(java.lang.String aAdministratorFirstName)
          This method provides access to the ORGENTITY.ADMINFIRSTNAME column of DB2 type VARCHAR(128) NULL.
 void setAdministratorLastName(java.lang.String aAdministratorLastName)
          This method provides access to the ORGENTITY.ADMINLASTNAME column of DB2 type VARCHAR(128) NULL.
 void setAdministratorMiddleName(java.lang.String aAdministratorMiddleName)
          This method provides access to the ORGENTITY.ADMINMIDDLENAME column of DB2 type VARCHAR(128) NULL.
 void setBusinessCategory(java.lang.String aBusinessCategory)
          This method provides access to the ORGENTITY.BUSINESSCATEGORY column of DB2 type VARCHAR(128) NULL.
 void setDescription(java.lang.String aDescription)
          Set the description of the member.
 void setDistinguishedName(java.lang.String aDistinguishedName)
          This method provides access to the ORGENTITY.DN column of DB2 type VARCHAR(1000) NULL.
 void setInitKey_MemberId(java.lang.String aInitKey_MemberId)
          Set the primary key for this object
 void setLegalId(java.lang.String aLegalId)
          This method provides access to the ORGENTITY.LEGALID column of DB2 type VARCHAR(128) NULL.
 void setOrganizationName(java.lang.String aOrganizationName)
          This method provides access to the ORGENTITY.ORGENTITYNAME column of DB2 type VARCHAR(128) NOT NULL.
 void setOrgEntityField1(java.lang.String aOrgEntityField1)
          Set the OrgEntity Field 1.
 void setOrgEntityField2(java.lang.String aOrgEntityField2)
          Set the OrgEntity Field 2.
 void setOrgEntityField3(java.lang.String aOrgEntityField3)
          Set the OrgEntity Field 3.
 void setOrgEntityType(java.lang.String aOrgEntityType)
          Set the state of the OrgEntity.
 void setOwnerMemberId(java.lang.Long aOwnerMemberId)
          This method provides access to the ORGENTITY.MEMBER_ID column of DB2 type BIGINT NULL.
 void setOwnerMemberId(java.lang.String aOwnerMemberId)
          This method provides access to the ORGENTITY.MEMBER_ID column of DB2 type BIGINT NULL.
 void setParentMemberId(java.lang.String aParentMemberId)
          Set the Id of the parent member.
 void setPreferredDelivery(java.lang.String aPreferredDelivery)
          This method provides access to the ORGENTITY.PREFERREDDELIVERY column of DB2 type VARCHAR(1000) NULL.
 void setState(java.lang.Integer aState)
          The registration approval status as follows:
0 - pending approval.
1 - approved.
2 - rejected.
Null - the approval is not applicable.
 void setState(java.lang.String aState)
          Set the status.
 void setTaxPayerId(java.lang.String aTaxPayerId)
          This method provides access to the ORGENTITY.TAXPAYERID column of DB2 type VARCHAR(254) NULL.
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrganizationAccessBean

public OrganizationAccessBean()

Default constructor. Maps to findByPrimaryKey.


OrganizationAccessBean

public OrganizationAccessBean(javax.ejb.EJBObject Object)
                       throws java.rmi.RemoteException

Creates an access bean for the specified EJB

Parameters:
object - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

OrganizationAccessBean

public OrganizationAccessBean(java.util.Hashtable aProperties)
                       throws javax.naming.NamingException,
                              javax.ejb.CreateException,
                              java.rmi.RemoteException,
                              javax.ejb.FinderException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
aProperties - java.util.Hashtable
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

OrganizationAccessBean

public OrganizationAccessBean(java.lang.String aOrganizationName)
                       throws javax.naming.NamingException,
                              javax.ejb.CreateException,
                              java.rmi.RemoteException,
                              javax.ejb.FinderException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
aOrganizationName - java.lang.String
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
Method Detail

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Overrides:
commitCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findAllOrganization

public java.util.Enumeration findAllOrganization()
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException

The SQL is "SELECT * FROM ORGENTITY T1 WHERE (ORGENTITYTYPE = 'O')".

Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findAllOrganizationUnit

public java.util.Enumeration findAllOrganizationUnit()
                                              throws java.rmi.RemoteException,
                                                     javax.ejb.FinderException,
                                                     javax.naming.NamingException

The SQL is "SELECT * FROM ORGENTITY T1 WHERE (ORGENTITYTYPE = 'OU')".

Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByDN

public OrganizationAccessBean findByDN(java.lang.String aDN)
                                throws java.rmi.RemoteException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

Find the organization or organizational unit by Distinguished Name. Distinguished Name is case-insensitive.

This method is a customized finder method and it formats the Distinguished Name (remove spaces and change to lowercase) before doing search.

The users of this finder method do not need to do any formatting.

"SELECT * FROM ORGENTITY LCASE(DN) LIKE ?" (DB2)

"SELECT * FROM ORGENTITY LOWER(DN) LIKE ?" (Oracle)

Parameters:
aDN - java.lang.String
Returns:
com.ibm.commerce.user.objects.OrganizationAccessBean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

fulfills

public boolean fulfills(java.lang.Long aMember,
                        java.lang.String aRelationship)
                 throws java.rmi.RemoteException,
                        java.lang.Exception,
                        javax.ejb.FinderException,
                        javax.naming.NamingException

Determines if a given member fulfills a given relationship with the resource.

Parameters:
aMember - java.lang.Long
aRelationship - java.lang.String
Returns:
boolean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
java.lang.Exception - The java.lang.Exception exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getAdministratorFirstName

public java.lang.String getAdministratorFirstName()
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

This method provides access to the ORGENTITY.ADMINFIRSTNAME column of DB2 type VARCHAR(128) NULL.

The following is a description of this column:

First name of administrator of this orgEntity.

Specified by:
getAdministratorFirstName in interface OrganizationAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getAdministratorLastName

public java.lang.String getAdministratorLastName()
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.CreateException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException

This method provides access to the ORGENTITY.ADMINLASTNAME column of DB2 type VARCHAR(128) NULL.

The following is a description of this column:

Last name of administrator of this orgEntity.

Specified by:
getAdministratorLastName in interface OrganizationAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getAdministratorMiddleName

public java.lang.String getAdministratorMiddleName()
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.CreateException,
                                                   javax.ejb.FinderException,
                                                   javax.naming.NamingException

This method provides access to the ORGENTITY.ADMINMIDDLENAME column of DB2 type VARCHAR(128) NULL.

The following is a description of this column:

Middle name of administrator of this orgEntity.

Specified by:
getAdministratorMiddleName in interface OrganizationAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getAncestors

public java.lang.Long[] getAncestors()
                              throws javax.naming.NamingException,
                                     javax.ejb.CreateException,
                                     java.rmi.RemoteException,
                                     javax.ejb.FinderException

List of all ancestors of the member.

Returns:
java.lang.Long[]
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

getBusinessCategory

public java.lang.String getBusinessCategory()
                                     throws java.rmi.RemoteException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException

This method provides access to the ORGENTITY.BUSINESSCATEGORY column of DB2 type VARCHAR(128) NULL.

The following is a description of this column:

Business category. Describes the kind of business performed by an orgentity.

Specified by:
getBusinessCategory in interface OrganizationAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getChildren

public java.lang.Long[] getChildren()
                             throws javax.naming.NamingException,
                                    javax.ejb.CreateException,
                                    java.rmi.RemoteException,
                                    javax.ejb.FinderException

List of child members.

Returns:
java.lang.Long[]
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

getDescendants

public java.lang.Long[] getDescendants()
                                throws javax.naming.NamingException,
                                       javax.ejb.CreateException,
                                       java.rmi.RemoteException,
                                       javax.ejb.FinderException

List of all descendants members.

Returns:
java.lang.Long[]
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

getDescription

public java.lang.String getDescription()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

Description of the OrgEntity.

Specified by:
getDescription in interface OrganizationAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getDisplayName

public java.lang.String getDisplayName()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

Name of this organization.

Specified by:
getDisplayName in interface OrganizationAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getDistinguishedName

public java.lang.String getDistinguishedName()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException

This method provides access to the ORGENTITY.DN column of DB2 type VARCHAR(1000) NULL.

The following is a description of this column:

Distinguished name (DN) of the orgEntity. If LDAP is used, contains the DN of the orgEntity in the LDAP server. If database is used as member repository, contains a unique name as defined by the membership hierarchy. DNs for all orgEntities are unique.

Specified by:
getDistinguishedName in interface OrganizationAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getLegalId

public java.lang.String getLegalId()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException

This method provides access to the ORGENTITY.LEGALID column of DB2 type VARCHAR(128) NULL.

The following is a description of this column:

The registered organization identifier, given to the organization (such as assigned by the government). This may be null for an organizational unit. This is not the name of the organization, which should be stored in the ORGENTITYNAME table.

Specified by:
getLegalId in interface OrganizationAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getMemberId

public java.lang.String getMemberId()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

This method provides access to the ORGENTITY.MEMBER_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

This column contains the member ID of the parent orgEntity for this orgEntity. This column is deprecated and is provided for backward compatibility only.

Specified by:
getMemberId in interface OrganizationAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getMemberIdInEJBType

public java.lang.Long getMemberIdInEJBType()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

This method provides access to the ORGENTITY.MEMBER_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

This column contains the member ID of the parent orgEntity for this orgEntity. This column is deprecated and is provided for backward compatibility only.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getOrganizationId

public java.lang.String getOrganizationId()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

This method provides access to the ORGENTITY.ORGENTITY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to MEMBER table for this organization or organizational unit.

Specified by:
getOrganizationId in interface OrganizationAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getOrganizationIdInEJBType

public java.lang.Long getOrganizationIdInEJBType()
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.CreateException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException

This method provides access to the ORGENTITY.ORGENTITY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to MEMBER table for this organization or organizational unit.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getOrganizationName

public java.lang.String getOrganizationName()
                                     throws java.rmi.RemoteException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException

This method provides access to the ORGENTITY.ORGENTITYNAME column of DB2 type VARCHAR(128) NOT NULL.

The following is a description of this column:

Short name for organization (O) or organizational unit (OU). Not null is a requirement since it will be mapped to O or OU which are required attributes in LDAP.

Specified by:
getOrganizationName in interface OrganizationAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getOrgEntityField1

public java.lang.String getOrgEntityField1()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

Organization entity field 1.

Specified by:
getOrgEntityField1 in interface OrganizationAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getOrgEntityField2

public java.lang.String getOrgEntityField2()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

Organization entity field 2.

Specified by:
getOrgEntityField2 in interface OrganizationAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getOrgEntityField3

public java.lang.String getOrgEntityField3()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

Organization entity field 3.

Specified by:
getOrgEntityField3 in interface OrganizationAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getOrgEntityType

public java.lang.String getOrgEntityType()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

Type of OrgEntity O=Organization OU=Organizational Unit.

Specified by:
getOrgEntityType in interface OrganizationAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getOwner

public java.lang.Long getOwner()
                        throws java.lang.Exception,
                               java.rmi.RemoteException,
                               javax.ejb.FinderException,
                               javax.naming.NamingException

The member id of the owner of the resource.

Returns:
java.lang.Long
Throws:
java.lang.Exception - The java.lang.Exception exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getOwnerMemberId

public java.lang.String getOwnerMemberId()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

This method provides access to the ORGENTITY.MEMBER_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

This column contains the member ID of the parent orgEntity for this orgEntity. This column is deprecated and is provided for backward compatibility only.

Specified by:
getOwnerMemberId in interface OrganizationAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getOwnerMemberIdInEJBType

public java.lang.Long getOwnerMemberIdInEJBType()
                                         throws java.rmi.RemoteException,
                                                javax.ejb.CreateException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException

This method provides access to the ORGENTITY.MEMBER_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

This column contains the member ID of the parent orgEntity for this orgEntity. This column is deprecated and is provided for backward compatibility only.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getParentMemberId

public java.lang.String getParentMemberId()
                                   throws javax.naming.NamingException,
                                          javax.ejb.CreateException,
                                          java.rmi.RemoteException,
                                          javax.ejb.FinderException

The parent member.

Returns:
java.lang.String
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

getPreferredDelivery

public java.lang.String getPreferredDelivery()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException

This method provides access to the ORGENTITY.PREFERREDDELIVERY column of DB2 type VARCHAR(1000) NULL.

The following is a description of this column:

Preferred delivery method.

Specified by:
getPreferredDelivery in interface OrganizationAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getRoles

public java.lang.Integer[] getRoles()
                             throws javax.naming.NamingException,
                                    javax.ejb.CreateException,
                                    java.rmi.RemoteException,
                                    javax.ejb.FinderException

All roles played by this member group in this OrgEntity.

Returns:
java.lang.Integer[]
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

getRoles

public java.lang.Integer[] getRoles(java.lang.Long aOrgEntityId)
                             throws javax.naming.NamingException,
                                    javax.ejb.CreateException,
                                    java.rmi.RemoteException,
                                    javax.ejb.FinderException

All roles played by this member in this OrgEntity.

Parameters:
aOrgEntityId - java.lang.Long
Returns:
java.lang.Integer[]
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

getRolesForOrgEntityAndAncestors

public java.lang.Integer[] getRolesForOrgEntityAndAncestors(java.lang.Long anOrgEntityId)
                                                     throws javax.naming.NamingException,
                                                            javax.ejb.CreateException,
                                                            java.rmi.RemoteException,
                                                            javax.ejb.FinderException

Roles that member played in the OrgEntity and ancestors of the OrgEntity.

Parameters:
anOrgEntityId - java.lang.Long
Returns:
java.lang.Integer[]
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

getState

public java.lang.String getState()
                          throws java.rmi.RemoteException,
                                 javax.ejb.CreateException,
                                 javax.ejb.FinderException,
                                 javax.naming.NamingException

State of the member.

Specified by:
getState in interface OrganizationAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getStateInEJBType

public java.lang.Integer getStateInEJBType()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

State of the member.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getTaxPayerId

public java.lang.String getTaxPayerId()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

This method provides access to the ORGENTITY.TAXPAYERID column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

A string used to identify the orgEntity for taxation purpose. Addition of this column triggered by Taxware integration, but presumably this column is useful even outside of Taxware.

Specified by:
getTaxPayerId in interface OrganizationAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getType

public java.lang.String getType()
                         throws java.rmi.RemoteException,
                                javax.ejb.CreateException,
                                javax.ejb.FinderException,
                                javax.naming.NamingException

Type of the member.

Specified by:
getType in interface OrganizationAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

setAdministratorFirstName

public void setAdministratorFirstName(java.lang.String aAdministratorFirstName)

This method provides access to the ORGENTITY.ADMINFIRSTNAME column of DB2 type VARCHAR(128) NULL.

The following is a description of this column:

First name of administrator of this orgEntity.

Specified by:
setAdministratorFirstName in interface OrganizationAccessBeanData
Parameters:
aAdministratorFirstName - java.lang.String
Returns:
void

setAdministratorLastName

public void setAdministratorLastName(java.lang.String aAdministratorLastName)

This method provides access to the ORGENTITY.ADMINLASTNAME column of DB2 type VARCHAR(128) NULL.

The following is a description of this column:

Last name of administrator of this orgEntity.

Specified by:
setAdministratorLastName in interface OrganizationAccessBeanData
Parameters:
aAdministratorLastName - java.lang.String
Returns:
void

setAdministratorMiddleName

public void setAdministratorMiddleName(java.lang.String aAdministratorMiddleName)

This method provides access to the ORGENTITY.ADMINMIDDLENAME column of DB2 type VARCHAR(128) NULL.

The following is a description of this column:

Middle name of administrator of this orgEntity.

Specified by:
setAdministratorMiddleName in interface OrganizationAccessBeanData
Parameters:
aAdministratorMiddleName - java.lang.String
Returns:
void

setBusinessCategory

public void setBusinessCategory(java.lang.String aBusinessCategory)

This method provides access to the ORGENTITY.BUSINESSCATEGORY column of DB2 type VARCHAR(128) NULL.

The following is a description of this column:

Business category. Describes the kind of business performed by an orgentity.

Specified by:
setBusinessCategory in interface OrganizationAccessBeanData
Parameters:
aBusinessCategory - java.lang.String
Returns:
void

setDescription

public void setDescription(java.lang.String aDescription)

Set the description of the member.

Specified by:
setDescription in interface OrganizationAccessBeanData
Parameters:
aDescription - java.lang.String
Returns:
void

setDistinguishedName

public void setDistinguishedName(java.lang.String aDistinguishedName)

This method provides access to the ORGENTITY.DN column of DB2 type VARCHAR(1000) NULL.

The following is a description of this column:

Distinguished name (DN) of the orgEntity. If LDAP is used, contains the DN of the orgEntity in the LDAP server. If database is used as member repository, contains a unique name as defined by the membership hierarchy. DNs for all orgEntities are unique.

Specified by:
setDistinguishedName in interface OrganizationAccessBeanData
Parameters:
aDistinguishedName - java.lang.String
Returns:
void

setInitKey_MemberId

public void setInitKey_MemberId(java.lang.String aInitKey_MemberId)

Set the primary key for this object

Parameters:
aInitKey_MemberId - java.lang.String
Returns:
void

setLegalId

public void setLegalId(java.lang.String aLegalId)

This method provides access to the ORGENTITY.LEGALID column of DB2 type VARCHAR(128) NULL.

The following is a description of this column:

The registered organization identifier, given to the organization (such as assigned by the government). This may be null for an organizational unit. This is not the name of the organization, which should be stored in the ORGENTITYNAME table.

Specified by:
setLegalId in interface OrganizationAccessBeanData
Parameters:
aLegalId - java.lang.String
Returns:
void

setOrganizationName

public void setOrganizationName(java.lang.String aOrganizationName)

This method provides access to the ORGENTITY.ORGENTITYNAME column of DB2 type VARCHAR(128) NOT NULL.

The following is a description of this column:

Short name for organization (O) or organizational unit (OU). Not null is a requirement since it will be mapped to O or OU which are required attributes in LDAP.

Specified by:
setOrganizationName in interface OrganizationAccessBeanData
Parameters:
aOrganizationName - java.lang.String
Returns:
void

setOrgEntityField1

public void setOrgEntityField1(java.lang.String aOrgEntityField1)

Set the OrgEntity Field 1.

Specified by:
setOrgEntityField1 in interface OrganizationAccessBeanData
Parameters:
aOrgEntityField1 - java.lang.String
Returns:
void

setOrgEntityField2

public void setOrgEntityField2(java.lang.String aOrgEntityField2)

Set the OrgEntity Field 2.

Specified by:
setOrgEntityField2 in interface OrganizationAccessBeanData
Parameters:
aOrgEntityField2 - java.lang.String
Returns:
void

setOrgEntityField3

public void setOrgEntityField3(java.lang.String aOrgEntityField3)

Set the OrgEntity Field 3.

Specified by:
setOrgEntityField3 in interface OrganizationAccessBeanData
Parameters:
aOrgEntityField3 - java.lang.String
Returns:
void

setOrgEntityType

public void setOrgEntityType(java.lang.String aOrgEntityType)

Set the state of the OrgEntity.

Specified by:
setOrgEntityType in interface OrganizationAccessBeanData
Parameters:
aOrgEntityType - java.lang.String
Returns:
void

setOwnerMemberId

public void setOwnerMemberId(java.lang.Long aOwnerMemberId)

This method provides access to the ORGENTITY.MEMBER_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

This column contains the member ID of the parent orgEntity for this orgEntity. This column is deprecated and is provided for backward compatibility only.

Parameters:
aOwnerMemberId - java.lang.Long
Returns:
void

setOwnerMemberId

public void setOwnerMemberId(java.lang.String aOwnerMemberId)

This method provides access to the ORGENTITY.MEMBER_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

This column contains the member ID of the parent orgEntity for this orgEntity. This column is deprecated and is provided for backward compatibility only.

Specified by:
setOwnerMemberId in interface OrganizationAccessBeanData
Parameters:
aOwnerMemberId - java.lang.String
Returns:
void

setParentMemberId

public void setParentMemberId(java.lang.String aParentMemberId)
                       throws javax.naming.NamingException,
                              javax.ejb.CreateException,
                              java.rmi.RemoteException,
                              javax.ejb.FinderException

Set the Id of the parent member.

Parameters:
aParentMemberId - java.lang.String
Returns:
void
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

setPreferredDelivery

public void setPreferredDelivery(java.lang.String aPreferredDelivery)

This method provides access to the ORGENTITY.PREFERREDDELIVERY column of DB2 type VARCHAR(1000) NULL.

The following is a description of this column:

Preferred delivery method.

Specified by:
setPreferredDelivery in interface OrganizationAccessBeanData
Parameters:
aPreferredDelivery - java.lang.String
Returns:
void

setState

public void setState(java.lang.Integer aState)

The registration approval status as follows:
0 - pending approval.
1 - approved.
2 - rejected.
Null - the approval is not applicable.

Parameters:
aState - java.lang.Integer
Returns:
void

setState

public void setState(java.lang.String aState)

Set the status.

Specified by:
setState in interface OrganizationAccessBeanData
Parameters:
aState - java.lang.String
Returns:
void

setTaxPayerId

public void setTaxPayerId(java.lang.String aTaxPayerId)

This method provides access to the ORGENTITY.TAXPAYERID column of DB2 type VARCHAR(254) NULL.

The following is a description of this column:

A string used to identify the orgEntity for taxation purpose. Addition of this column triggered by Taxware integration, but presumably this column is useful even outside of Taxware.

Specified by:
setTaxPayerId in interface OrganizationAccessBeanData
Parameters:
aTaxPayerId - java.lang.String
Returns:
void