com.ibm.commerce.component.giftregistry.objimpl

Class GiftRegistryProtectableBeanBase

  • java.lang.Object
    • com.ibm.commerce.base.objects.ECEntityBean
      • com.ibm.commerce.component.giftregistry.objimpl.GiftRegistryProtectableBeanBase
  • All Implemented Interfaces:
    com.ibm.commerce.base.objects.ECEntityConstants, com.ibm.websphere.ejbcontainer.DisableFlushBeforeFind, java.io.Serializable, javax.ejb.EnterpriseBean, javax.ejb.EntityBean


    public class GiftRegistryProtectableBeanBase
    extends com.ibm.commerce.base.objects.ECEntityBean
    This is a common file for all gift registry entity beans that implement access control
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      The IBM Copyright notice field.
      java.lang.Integer userRelationship
      The users relationship/authority to access this registry
      • Fields inherited from class com.ibm.commerce.base.objects.ECEntityBean

        optCounter
      • Fields inherited from interface com.ibm.commerce.base.objects.ECEntityConstants

        ACCESSORY, BUNDLE, CONTRACT_INACTIVE, CONTRACT_ONHOLD, CONTRACT_PUBLISHED, COUNTRYABBR_MAX_LENGTH, Default_Null_Id, Default_Null_Id_String, DISPLAYTAX, NOTDISPLAYTAX, PACKAGE, STATEPROVABBR_MAX_LENGTH, UPSELL, USAGE_DISCOUNT, USAGE_SALESTAX, USAGE_SHIPPING, USAGE_SHIPPINGTAX, XSELL
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Integer getUserRelationship()
      Gets the users relationship with a particular entity or gift registry.
      void setUserRelationship(java.lang.Integer relationship)
      Sets the users relationship with a particular entity or gift registry.
      • Methods inherited from class com.ibm.commerce.base.objects.ECEntityBean

        _copyFromEJB, ejbActivate, ejbLoad, ejbPassivate, ejbRemove, ejbStore, fulfills, getEntityContext, getGroupingAttributeValue, getOwner, setEntityContext, unsetEntityContext
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        The IBM Copyright notice field.
        See Also:
        Constant Field Values
      • userRelationship

        public java.lang.Integer userRelationship
        The users relationship/authority to access this registry
    • Constructor Detail

      • GiftRegistryProtectableBeanBase

        public GiftRegistryProtectableBeanBase()
    • Method Detail

      • setUserRelationship

        public void setUserRelationship(java.lang.Integer relationship)
                                 throws javax.ejb.EJBException
        Sets the users relationship with a particular entity or gift registry. Used to control access to this resource
        Parameters:
        relationship -
        Throws:
        javax.ejb.EJBException
      • getUserRelationship

        public java.lang.Integer getUserRelationship()
                                              throws javax.ejb.EJBException
        Gets the users relationship with a particular entity or gift registry. Used to control access to this resource
        Returns:
        Throws:
        javax.ejb.EJBException