public class OrganizationAccessBean extends com.ibm.commerce.persistence.AbstractJpaEntityAccessBean implements Protectable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Copyright.
|
Constructor and Description |
---|
OrganizationAccessBean() |
OrganizationAccessBean(java.util.Hashtable aProperties) |
OrganizationAccessBean(com.ibm.commerce.user.objects.Organization entity) |
OrganizationAccessBean(java.lang.String organizationName) |
Modifier and Type | Method and Description |
---|---|
java.util.Enumeration |
findAllOrganization() |
java.util.Enumeration |
findAllOrganizationNoCache() |
java.util.Enumeration |
findAllOrganizationUnit() |
java.util.Enumeration |
findAllOrganizationUnitNoCache() |
OrganizationAccessBean |
findByDN(java.lang.String astrDN) |
OrganizationAccessBean |
findByDNNoCache(java.lang.String astrDN) |
java.util.Collection |
findEntitledOrganizationsForUser(java.lang.Long aMemberId,
java.lang.Integer aRoleId) |
java.util.Collection |
findEntitledOrganizationsForUserWithAcctChk(java.lang.Long aMemberId,
java.lang.Integer aRoleId) |
java.util.Collection |
findExplicitEntitledOrganizationsForUser(java.lang.Long aMemberId,
java.lang.Integer aRoleId) |
boolean |
fulfills(java.lang.Long member,
java.lang.String relationship)
Determines if a given member fulfills a given relationship with the resource.
|
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() |
com.ibm.commerce.user.objects.Organization |
getEntity() |
java.lang.String |
getLegalId() |
java.lang.String |
getMemberId() |
java.lang.Long |
getMemberIdInEntityType() |
java.lang.String |
getOrganizationId() |
java.lang.Long |
getOrganizationIdInEntityType() |
java.lang.String |
getOrganizationName() |
java.lang.String |
getOrgEntityField1() |
java.lang.String |
getOrgEntityField2() |
java.lang.String |
getOrgEntityField3() |
java.lang.String |
getOrgEntityType() |
java.lang.Long |
getOwner()
Returns the member ID of the owner.
|
java.lang.String |
getOwnerMemberId()
Deprecated.
use getParentMemberId
|
java.lang.Long |
getOwnerMemberIdInEntityType()
Deprecated.
use getParentMemberId
|
java.lang.String |
getParentMemberId() |
java.lang.String |
getPreferredDelivery() |
java.lang.Integer[] |
getRoles() |
java.lang.Integer[] |
getRoles(java.lang.Long anOrgEntityId) |
java.lang.Integer[] |
getRolesForOrgEntityAndAncestors(java.lang.Long anOrgEntityId) |
java.lang.String |
getState() |
java.lang.Integer |
getStateInEntityType() |
java.lang.Integer |
getStatus() |
java.lang.String |
getTaxPayerId() |
java.lang.String |
getType() |
void |
instantiateEntity() |
void |
setAdministratorFirstName(java.lang.String administratorFirstName) |
void |
setAdministratorLastName(java.lang.String administratorLastName) |
void |
setAdministratorMiddleName(java.lang.String administratorMiddleName) |
void |
setBusinessCategory(java.lang.String businessCategory) |
void |
setDescription(java.lang.String description) |
void |
setDistinguishedName(java.lang.String LDAPDistinguishedName) |
void |
setInitKey_memberId(java.lang.Long memberId) |
void |
setInitKey_memberId(java.lang.String memberId) |
void |
setLegalId(java.lang.String legalId) |
void |
setOrganizationName(java.lang.String organizationName) |
void |
setOrgEntityField1(java.lang.String field1) |
void |
setOrgEntityField2(java.lang.String field2) |
void |
setOrgEntityField3(java.lang.String field3) |
void |
setOrgEntityType(java.lang.String organizationType) |
void |
setOwnerMemberId(java.lang.Long ownerMemberId)
Deprecated.
in version 6.0. There is no alternative, since the parent of an organizational entity should not be changed. This method does nothing and is provided only for binary compatibility.
|
void |
setOwnerMemberId(java.lang.String ownerMemberId)
Deprecated.
in version 6.0. There is no alternative, since the parent of an organizational entity should not be changed. This method does nothing and is provided only for binary compatibility.
|
void |
setParentMemberId(java.lang.String astrParentMemberId) |
void |
setPreferredDelivery(java.lang.String preferredDelivery) |
void |
setState(java.lang.Integer state) |
void |
setState(java.lang.String state) |
void |
setStatus(java.lang.Integer status) |
void |
setTaxPayerId(java.lang.String taxPayerId) |
public static final java.lang.String COPYRIGHT
public OrganizationAccessBean()
public OrganizationAccessBean(com.ibm.commerce.user.objects.Organization entity)
public OrganizationAccessBean(java.lang.String organizationName)
public OrganizationAccessBean(java.util.Hashtable aProperties)
public void setInitKey_memberId(java.lang.String memberId)
public void setInitKey_memberId(java.lang.Long memberId)
public java.util.Enumeration findAllOrganization()
public java.util.Enumeration findAllOrganizationNoCache()
public java.util.Enumeration findAllOrganizationUnit()
public java.util.Enumeration findAllOrganizationUnitNoCache()
public OrganizationAccessBean findByDN(java.lang.String astrDN)
public OrganizationAccessBean findByDNNoCache(java.lang.String astrDN)
public java.util.Collection findEntitledOrganizationsForUser(java.lang.Long aMemberId, java.lang.Integer aRoleId)
public java.util.Collection findExplicitEntitledOrganizationsForUser(java.lang.Long aMemberId, java.lang.Integer aRoleId)
public java.util.Collection findEntitledOrganizationsForUserWithAcctChk(java.lang.Long aMemberId, java.lang.Integer aRoleId)
public void setOrgEntityField3(java.lang.String field3)
public java.lang.String getOrgEntityField3()
public void setOrganizationName(java.lang.String organizationName)
public java.lang.String getOrganizationName()
public java.lang.String getDisplayName()
public void setLegalId(java.lang.String legalId)
public java.lang.String getLegalId()
public void setAdministratorMiddleName(java.lang.String administratorMiddleName)
public java.lang.String getAdministratorMiddleName()
public void setOwnerMemberId(java.lang.Long ownerMemberId)
public java.lang.Long getOwnerMemberIdInEntityType()
public void setOwnerMemberId(java.lang.String ownerMemberId)
public java.lang.String getOwnerMemberId()
public void setAdministratorFirstName(java.lang.String administratorFirstName)
public java.lang.String getAdministratorFirstName()
public void setDescription(java.lang.String description)
public java.lang.String getDescription()
public void setDistinguishedName(java.lang.String LDAPDistinguishedName)
public java.lang.String getDistinguishedName()
public void setAdministratorLastName(java.lang.String administratorLastName)
public java.lang.String getAdministratorLastName()
public void setPreferredDelivery(java.lang.String preferredDelivery)
public java.lang.String getPreferredDelivery()
public java.lang.String getType()
public java.lang.Long getOrganizationIdInEntityType()
public java.lang.String getOrganizationId()
public void setTaxPayerId(java.lang.String taxPayerId)
public java.lang.String getTaxPayerId()
public void setBusinessCategory(java.lang.String businessCategory)
public java.lang.String getBusinessCategory()
public void setState(java.lang.Integer state)
public java.lang.Integer getStateInEntityType()
public void setState(java.lang.String state)
public java.lang.String getState()
public void setOrgEntityField1(java.lang.String field1)
public java.lang.String getOrgEntityField1()
public void setOrgEntityField2(java.lang.String field2)
public java.lang.String getOrgEntityField2()
public void setOrgEntityType(java.lang.String organizationType)
public java.lang.String getOrgEntityType()
public java.lang.Long getMemberIdInEntityType()
public java.lang.String getMemberId()
public void setStatus(java.lang.Integer status)
public java.lang.Integer getStatus()
public java.lang.Long[] getAncestors()
public java.lang.Long[] getChildren()
public java.lang.Long[] getDescendants()
public java.lang.String getParentMemberId()
public java.lang.Integer[] getRoles()
public java.lang.Integer[] getRoles(java.lang.Long anOrgEntityId)
public java.lang.Integer[] getRolesForOrgEntityAndAncestors(java.lang.Long anOrgEntityId)
public void setParentMemberId(java.lang.String astrParentMemberId)
public boolean fulfills(java.lang.Long member, java.lang.String relationship) throws java.lang.Exception
Protectable
fulfills
in interface Protectable
member
- The member ID of the member.relationship
- The relationship the member has with respect to the resource.java.lang.Exception
public java.lang.Long getOwner() throws java.lang.Exception
Protectable
getOwner
in interface Protectable
java.lang.Exception
public void instantiateEntity()
instantiateEntity
in class com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
public com.ibm.commerce.user.objects.Organization getEntity()
getEntity
in class com.ibm.commerce.persistence.AbstractJpaEntityAccessBean