com.ibm.commerce.user.objects

Class OrganizationAccessBean

  • java.lang.Object
    • com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
      • com.ibm.commerce.user.objects.OrganizationAccessBean
  • All Implemented Interfaces:
    Protectable, java.io.Serializable
    Direct Known Subclasses:
    com.ibm.commerce.user.beansrc.OrganizationDataBeanBase


    public class OrganizationAccessBean
    extends com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
    implements Protectable
    See Also:
    Serialized Form
    • Field Detail

    • Constructor Detail

      • OrganizationAccessBean

        public OrganizationAccessBean()
      • OrganizationAccessBean

        public OrganizationAccessBean(com.ibm.commerce.user.objects.Organization entity)
      • OrganizationAccessBean

        public OrganizationAccessBean(java.lang.String organizationName)
      • OrganizationAccessBean

        public OrganizationAccessBean(java.util.Hashtable aProperties)
    • Method Detail

      • setInitKey_memberId

        public void setInitKey_memberId(java.lang.String memberId)
      • setInitKey_memberId

        public void setInitKey_memberId(java.lang.Long memberId)
      • findAllOrganization

        public java.util.Enumeration findAllOrganization()
      • findAllOrganizationNoCache

        public java.util.Enumeration findAllOrganizationNoCache()
      • findAllOrganizationUnit

        public java.util.Enumeration findAllOrganizationUnit()
      • findAllOrganizationUnitNoCache

        public java.util.Enumeration findAllOrganizationUnitNoCache()
      • findEntitledOrganizationsForUser

        public java.util.Collection findEntitledOrganizationsForUser(java.lang.Long aMemberId,
                                                                     java.lang.Integer aRoleId)
      • findExplicitEntitledOrganizationsForUser

        public java.util.Collection findExplicitEntitledOrganizationsForUser(java.lang.Long aMemberId,
                                                                             java.lang.Integer aRoleId)
      • findEntitledOrganizationsForUserWithAcctChk

        public java.util.Collection findEntitledOrganizationsForUserWithAcctChk(java.lang.Long aMemberId,
                                                                                java.lang.Integer aRoleId)
      • setOrgEntityField3

        public void setOrgEntityField3(java.lang.String field3)
      • getOrgEntityField3

        public java.lang.String getOrgEntityField3()
      • setOrganizationName

        public void setOrganizationName(java.lang.String organizationName)
      • getOrganizationName

        public java.lang.String getOrganizationName()
      • getDisplayName

        public java.lang.String getDisplayName()
      • setLegalId

        public void setLegalId(java.lang.String legalId)
      • getLegalId

        public java.lang.String getLegalId()
      • setAdministratorMiddleName

        public void setAdministratorMiddleName(java.lang.String administratorMiddleName)
      • getAdministratorMiddleName

        public java.lang.String getAdministratorMiddleName()
      • setOwnerMemberId

        public 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.
        In previous releases, this was a foreign key reference to the MEMBER table pointing to its parent organizational entity. This column was dropped in version 6.0, since the MBRREL table holds the membership hierarchy.
      • getOwnerMemberIdInEntityType

        public java.lang.Long getOwnerMemberIdInEntityType()
        Deprecated. use getParentMemberId
        Returns:
        the parent member id
      • setOwnerMemberId

        public 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.
        In previous releases, this was a foreign key reference to the MEMBER table pointing to its parent organizational entity. This column was dropped in version 6.0, since the MBRREL table holds the membership hierarchy.
      • getOwnerMemberId

        public java.lang.String getOwnerMemberId()
        Deprecated. use getParentMemberId
        Returns:
        the parent member id
      • setAdministratorFirstName

        public void setAdministratorFirstName(java.lang.String administratorFirstName)
      • getAdministratorFirstName

        public java.lang.String getAdministratorFirstName()
      • setDescription

        public void setDescription(java.lang.String description)
      • getDescription

        public java.lang.String getDescription()
      • setDistinguishedName

        public void setDistinguishedName(java.lang.String LDAPDistinguishedName)
      • getDistinguishedName

        public java.lang.String getDistinguishedName()
      • setAdministratorLastName

        public void setAdministratorLastName(java.lang.String administratorLastName)
      • getAdministratorLastName

        public java.lang.String getAdministratorLastName()
      • setPreferredDelivery

        public void setPreferredDelivery(java.lang.String preferredDelivery)
      • getPreferredDelivery

        public java.lang.String getPreferredDelivery()
      • getType

        public java.lang.String getType()
      • getOrganizationIdInEntityType

        public java.lang.Long getOrganizationIdInEntityType()
      • getOrganizationId

        public java.lang.String getOrganizationId()
      • setTaxPayerId

        public void setTaxPayerId(java.lang.String taxPayerId)
      • getTaxPayerId

        public java.lang.String getTaxPayerId()
      • setBusinessCategory

        public void setBusinessCategory(java.lang.String businessCategory)
      • getBusinessCategory

        public java.lang.String getBusinessCategory()
      • setState

        public void setState(java.lang.Integer state)
      • getStateInEntityType

        public java.lang.Integer getStateInEntityType()
      • setState

        public void setState(java.lang.String state)
      • getState

        public java.lang.String getState()
      • setOrgEntityField1

        public void setOrgEntityField1(java.lang.String field1)
      • getOrgEntityField1

        public java.lang.String getOrgEntityField1()
      • setOrgEntityField2

        public void setOrgEntityField2(java.lang.String field2)
      • getOrgEntityField2

        public java.lang.String getOrgEntityField2()
      • setOrgEntityType

        public void setOrgEntityType(java.lang.String organizationType)
      • getOrgEntityType

        public java.lang.String getOrgEntityType()
      • getMemberIdInEntityType

        public java.lang.Long getMemberIdInEntityType()
      • getMemberId

        public java.lang.String getMemberId()
      • setStatus

        public void setStatus(java.lang.Integer status)
      • getStatus

        public java.lang.Integer getStatus()
      • getAncestors

        public java.lang.Long[] getAncestors()
      • getChildren

        public java.lang.Long[] getChildren()
      • getDescendants

        public java.lang.Long[] getDescendants()
      • getParentMemberId

        public java.lang.String getParentMemberId()
      • getRoles

        public java.lang.Integer[] getRoles()
      • getRoles

        public java.lang.Integer[] getRoles(java.lang.Long anOrgEntityId)
      • getRolesForOrgEntityAndAncestors

        public java.lang.Integer[] getRolesForOrgEntityAndAncestors(java.lang.Long anOrgEntityId)
      • setParentMemberId

        public void setParentMemberId(java.lang.String astrParentMemberId)
      • fulfills

        public boolean fulfills(java.lang.Long member,
                                java.lang.String relationship)
                         throws java.lang.Exception
        Description copied from interface: Protectable
        Determines if a given member fulfills a given relationship with the resource.
        Specified by:
        fulfills in interface Protectable
        Parameters:
        member - The member ID of the member.
        relationship - The relationship the member has with respect to the resource.
        Returns:
        true if the member fulfills the relationship with the resource
        Throws:
        java.lang.Exception
      • getOwner

        public java.lang.Long getOwner()
                                throws java.lang.Exception
        Description copied from interface: Protectable
        Returns the member ID of the owner.
        Specified by:
        getOwner in interface Protectable
        Returns:
        The member ID of the owner
        Throws:
        java.lang.Exception
      • instantiateEntity

        public void instantiateEntity()
        Specified by:
        instantiateEntity in class com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
      • getEntity

        public com.ibm.commerce.user.objects.Organization getEntity()
        Overrides:
        getEntity in class com.ibm.commerce.persistence.AbstractJpaEntityAccessBean