public class OrganizationAccessBean extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean implements OrganizationAccessBeanData
Constructor and Description |
---|
OrganizationAccessBean()
Zero argument constructor used to initialize the access bean.
|
OrganizationAccessBean(javax.ejb.EJBObject o) |
OrganizationAccessBean(java.util.Hashtable aProperties)
Maps to a corresponding ejbCreate method in the home interface of the EJB
|
OrganizationAccessBean(java.lang.String arg1)
Maps to a corresponding ejbCreate method in the home interface of the EJB
|
Modifier and Type | Method and Description |
---|---|
void | commitCopyHelper() |
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.
|
java.util.Collection | findEntitledOrganizationsForUser(java.lang.Long aMemberId, java.lang.Integer aRoleId)
Maps to a corresponding ejbCreate method in the home interface of the EJB
|
java.util.Collection | findEntitledOrganizationsForUserWithAcctChk(java.lang.Long aMemberId, java.lang.Integer aRoleId)
Maps to a corresponding ejbCreate method in the home interface of the EJB
|
java.util.Collection | findExplicitEntitledOrganizationsForUser(java.lang.Long aMemberId, java.lang.Integer aRoleId)
Maps to a corresponding ejbCreate method in the home interface of the EJB
|
boolean | fulfills(java.lang.Long arg0, java.lang.String arg1) |
java.lang.String | getAdministratorFirstName() |
java.lang.String | getAdministratorLastName() |
java.lang.String | getAdministratorMiddleName() |
java.lang.Long[] | getAncestors() |
java.lang.String | getBusinessCategory() |
java.lang.Long[] | getChildren() |
java.lang.Long[] | getDescendants() |
java.lang.String | getDescription() |
java.lang.String | getDisplayName() |
java.lang.String | getDistinguishedName() |
java.lang.String | getLegalId() |
java.lang.String | getMemberId() |
java.lang.Long | getMemberIdInEJBType() |
java.lang.String | getOrganizationId() |
java.lang.Long | getOrganizationIdInEJBType() |
java.lang.String | getOrganizationName() |
java.lang.String | getOrgEntityField1() |
java.lang.String | getOrgEntityField2() |
java.lang.String | getOrgEntityField3() |
java.lang.String | getOrgEntityType() |
java.lang.Long | getOwner() |
java.lang.String | getOwnerMemberId() |
java.lang.Long | getOwnerMemberIdInEJBType() |
java.lang.String | getParentMemberId() |
java.lang.String | getPreferredDelivery() |
java.lang.Integer[] | getRoles() |
java.lang.Integer[] | getRoles(java.lang.Long arg0) |
java.lang.Integer[] | getRolesForOrgEntityAndAncestors(java.lang.Long arg0) |
java.lang.String | getState() |
java.lang.Integer | getStateInEJBType() |
java.lang.Integer | getStatus()
getStatus
|
java.lang.String | getTaxPayerId() |
java.lang.String | getType() |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() |
void | setAdministratorFirstName(java.lang.String newValue) |
void | setAdministratorLastName(java.lang.String newValue) |
void | setAdministratorMiddleName(java.lang.String newValue) |
void | setBusinessCategory(java.lang.String newValue) |
void | setDescription(java.lang.String newValue) |
void | setDistinguishedName(java.lang.String newValue) |
void | setInitKey_MemberId(java.lang.String newValue) |
void | setLegalId(java.lang.String newValue) |
void | setOrganizationName(java.lang.String newValue) |
void | setOrgEntityField1(java.lang.String newValue) |
void | setOrgEntityField2(java.lang.String newValue) |
void | setOrgEntityField3(java.lang.String newValue) |
void | setOrgEntityType(java.lang.String newValue) |
void | setOwnerMemberId(java.lang.Long newValue) |
void | setOwnerMemberId(java.lang.String newValue) |
void | setParentMemberId(java.lang.String arg0) |
void | setPreferredDelivery(java.lang.String newValue) |
void | setState(java.lang.Integer newValue) |
void | setState(java.lang.String newValue) |
void | setStatus(java.lang.Integer newValue)
setStatus
|
void | setTaxPayerId(java.lang.String newValue) |
public OrganizationAccessBean()
public OrganizationAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public OrganizationAccessBean(java.lang.String arg1) 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
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
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)
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
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.String getOrganizationName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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
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
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
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
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
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
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
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
public java.lang.Long getOwnerMemberIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
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
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)
public java.util.Collection findExplicitEntitledOrganizationsForUser(java.lang.Long aMemberId, java.lang.Integer aRoleId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB
public java.util.Collection findEntitledOrganizationsForUser(java.lang.Long aMemberId, java.lang.Integer aRoleId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB
public java.util.Collection findEntitledOrganizationsForUserWithAcctChk(java.lang.Long aMemberId, java.lang.Integer aRoleId) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB