java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.user.objects.OrganizationAccessBean
This table contains information on organizational entities (OrgEntities). An OrgEntity is either an organization or an organization unit. This access bean corresponds to the database table 'ORGENTITY'.
Constructor Summary | |
OrganizationAccessBean() Zero argument constructor used to initialize the access bean. |
|
OrganizationAccessBean(javax.ejb.EJBObject o) constructor |
Method Summary | |
void | commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected java.lang.String | defaultJNDIName() |
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 astrDN) Find the organization or organizational unit by Distinguished Name. |
boolean | fulfills(java.lang.Long arg0, java.lang.String arg1) |
java.lang.String | getAdministratorFirstName() This method provides access to the ORGENTITY.ADMINFIRSTNAME column of DB2 type VARCHAR(128). |
java.lang.String | getAdministratorLastName() This method provides access to the ORGENTITY.ADMINLASTNAME column of DB2 type VARCHAR(128). |
java.lang.String | getAdministratorMiddleName() This method provides access to the ORGENTITY.ADMINMIDDLENAME column of DB2 type VARCHAR(128). |
java.lang.Long[] | getAncestors() This method accesses a non-CMP field |
java.lang.String | getBusinessCategory() This method provides access to the ORGENTITY.BUSINESSCATEGORY column of DB2 type VARCHAR(128). |
java.lang.Long[] | getChildren() This method accesses a non-CMP field |
java.lang.Long[] | getDescendants() This method accesses a non-CMP field |
java.lang.String | getDescription() This method provides access to the ORGENTITY.DESCRIPTION column of DB2 type VARCHAR(512). |
java.lang.String | getDisplayName() This method accesses a non-CMP field |
java.lang.String | getDistinguishedName() This method accesses a non-CMP field |
java.lang.String | getLegalId() This method provides access to the ORGENTITY.LEGALID column of DB2 type VARCHAR(128). |
java.lang.String | getMemberId() This method accesses a non-CMP field |
java.lang.Long | getMemberIdInEJBType() This method accesses a non-CMP field |
java.lang.String | getOrganizationId() This method accesses a non-CMP field |
java.lang.Long | getOrganizationIdInEJBType() This method accesses a non-CMP field |
java.lang.String | getOrganizationName() This method provides access to the ORGENTITY.ORGENTITYNAME column of DB2 type VARCHAR(128) NOT NULL. |
java.lang.String | getOrgEntityField1() This method accesses a non-CMP field |
java.lang.String | getOrgEntityField2() This method accesses a non-CMP field |
java.lang.String | getOrgEntityField3() This method accesses a non-CMP field |
java.lang.String | getOrgEntityType() This method accesses a non-CMP field |
java.lang.Long | getOwner() This method accesses a non-CMP field |
java.lang.String | getOwnerMemberId() This method provides access to the ORGENTITY.MEMBER_ID column of DB2 type BIGINT. |
java.lang.Long | getOwnerMemberIdInEJBType() This method provides access to the ORGENTITY.MEMBER_ID column of DB2 type BIGINT. |
java.lang.String | getParentMemberId() This method accesses a non-CMP field |
java.lang.String | getPreferredDelivery() This method provides access to the ORGENTITY.PREFERREDDELIVERY column of DB2 type VARCHAR(1000). |
java.lang.Integer[] | getRoles() This method accesses a non-CMP field |
java.lang.Integer[] | getRoles(java.lang.Long arg0) This method accesses a non-CMP field |
java.lang.Integer[] | getRolesForOrgEntityAndAncestors(java.lang.Long arg0) This method accesses a non-CMP field |
java.lang.String | getState() This method accesses a non-CMP field |
java.lang.Integer | getStateInEJBType() This method accesses a non-CMP field |
java.lang.Integer | getStatus() This method accesses a non-CMP field |
java.lang.String | getTaxPayerId() This method provides access to the ORGENTITY.TAXPAYERID column of DB2 type VARCHAR(254). |
java.lang.String | getType() This method accesses a non-CMP field |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setAdministratorFirstName(java.lang.String newValue) This method accesses a non-CMP field |
void | setAdministratorLastName(java.lang.String newValue) This method accesses a non-CMP field |
void | setAdministratorMiddleName(java.lang.String newValue) This method accesses a non-CMP field |
void | setBusinessCategory(java.lang.String newValue) This method accesses a non-CMP field |
void | setDescription(java.lang.String newValue) This method accesses a non-CMP field |
void | setDistinguishedName(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_MemberId(java.lang.String newValue) Set the primary key for this object |
void | setLegalId(java.lang.String newValue) This method accesses a non-CMP field |
void | setOrganizationName(java.lang.String newValue) This method accesses a non-CMP field |
void | setOrgEntityField1(java.lang.String newValue) This method accesses a non-CMP field |
void | setOrgEntityField2(java.lang.String newValue) This method accesses a non-CMP field |
void | setOrgEntityField3(java.lang.String newValue) This method accesses a non-CMP field |
void | setOrgEntityType(java.lang.String newValue) This method accesses a non-CMP field |
void | setOwnerMemberId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setOwnerMemberId(java.lang.String newValue) This method accesses a non-CMP field |
void | setParentMemberId(java.lang.String arg0) This method accesses a non-CMP field |
void | setPreferredDelivery(java.lang.String newValue) This method accesses a non-CMP field |
void | setState(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setState(java.lang.String newValue) This method accesses a non-CMP field |
void | setStatus(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setTaxPayerId(java.lang.String newValue) This method accesses a non-CMP field |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OrganizationAccessBean()
public OrganizationAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
Method Detail |
public OrganizationAccessBean findByDN(java.lang.String astrDN) 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)
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')".
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')".
public void setInitKey_MemberId(java.lang.String newValue)
Set the primary key for this object
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
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 organization unit (OU). Not null is a requirement since it will be mapped to O or OU which are required attributes in LDAP.
public void setOrganizationName(java.lang.String newValue)
public java.lang.String getDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ORGENTITY.DESCRIPTION column of DB2 type VARCHAR(512).
The following is a description of this column:
A description of the OrgEntity.
public void setDescription(java.lang.String newValue)
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).
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.
public void setTaxPayerId(java.lang.String newValue)
public java.lang.String getState() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getStateInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setState(java.lang.String newValue)
public void setState(java.lang.Integer newValue)
public java.lang.String getOrgEntityField3() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setOrgEntityField3(java.lang.String newValue)
public java.lang.String getOrgEntityField2() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setOrgEntityField2(java.lang.String newValue)
public java.lang.String getOrgEntityField1() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setOrgEntityField1(java.lang.String newValue)
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).
The following is a description of this column:
The business category, which describes the kind of business performed by an OrgEntity.
public void setBusinessCategory(java.lang.String newValue)
public java.lang.String getOrgEntityType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setOrgEntityType(java.lang.String newValue)
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).
The following is a description of this column:
Last name of the administrator of this OrgEntity.
public void setAdministratorLastName(java.lang.String newValue)
public java.lang.String getOrganizationId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long getOrganizationIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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).
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 organization unit. This is not the name of the organization, which should be stored in the ORGENTITYNAME table.
public void setLegalId(java.lang.String newValue)
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).
The following is a description of this column:
First name of the administrator of this OrgEntity.
public void setAdministratorFirstName(java.lang.String newValue)
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).
The following is a description of this column:
Preferred delivery method.
public void setPreferredDelivery(java.lang.String newValue)
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.
The following is a description of this column:
This column contains the member ID of the parent OrgEntity for this OrgEntity. This column is &l
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.
The following is a description of this column:
This column contains the member ID of the parent OrgEntity for this OrgEntity. This column is &l
public void setOwnerMemberId(java.lang.String newValue)
public void setOwnerMemberId(java.lang.Long newValue)
public java.lang.String getDistinguishedName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setDistinguishedName(java.lang.String newValue)
public java.lang.String getMemberId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long getMemberIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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).
The following is a description of this column:
Middle name of the administrator of this OrgEntity.
public void setAdministratorMiddleName(java.lang.String newValue)
public java.lang.String getType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.String getDisplayName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public boolean fulfills(java.lang.Long arg0, java.lang.String arg1) throws java.rmi.RemoteException, java.lang.Exception, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer[] getRoles() throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
public java.lang.Integer[] getRoles(java.lang.Long arg0) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
public java.lang.Integer[] getRolesForOrgEntityAndAncestors(java.lang.Long arg0) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
public java.lang.Long getOwner() throws java.lang.Exception, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Long[] getAncestors() throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
public java.lang.Long[] getChildren() throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
public java.lang.Long[] getDescendants() throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
public java.lang.String getParentMemberId() throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
public void setParentMemberId(java.lang.String arg0) throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException
public java.lang.Integer getStatus() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setStatus(java.lang.Integer newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.