Class JpaAccountRole

  • All Implemented Interfaces:
    com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware, com.broadleafcommerce.data.tracking.core.CustomerContextTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking>, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.Trackable, com.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking>, Serializable

    @Entity
    public class JpaAccountRole
    extends Object
    implements com.broadleafcommerce.data.tracking.core.CustomerContextTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking>, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware, com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
    Author:
    Chris Kittrell (ckittrell)
    See Also:
    Serialized Form
    • Constructor Detail

      • JpaAccountRole

        public JpaAccountRole()
    • Method Detail

      • setNotificationStates

        public void setNotificationStates​(List<com.broadleafcommerce.common.messaging.notification.domain.NotificationState> notificationStates)
        Specified by:
        setNotificationStates in interface com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
        Specified by:
        setNotificationStates in interface com.broadleafcommerce.data.tracking.core.Trackable
      • getNotificationStates

        public List<com.broadleafcommerce.common.messaging.notification.domain.NotificationState> getNotificationStates()
        Specified by:
        getNotificationStates in interface com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
        Specified by:
        getNotificationStates in interface com.broadleafcommerce.data.tracking.core.Trackable
      • getNotificationStates

        public List<com.broadleafcommerce.common.messaging.notification.domain.NotificationState> getNotificationStates​(boolean fetch)
        Specified by:
        getNotificationStates in interface com.broadleafcommerce.common.messaging.notification.domain.NotificationStateAware
        Specified by:
        getNotificationStates in interface com.broadleafcommerce.data.tracking.core.Trackable
      • fromMe

        public org.modelmapper.ModelMapper fromMe()
        Specified by:
        fromMe in interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
      • toMe

        public org.modelmapper.ModelMapper toMe()
        Specified by:
        toMe in interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
      • getBusinessDomainType

        public Class<?> getBusinessDomainType()
        Specified by:
        getBusinessDomainType in interface com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
      • getContextId

        public String getContextId()
        Specified by:
        getContextId in interface com.broadleafcommerce.data.tracking.core.Trackable
      • getName

        public String getName()
      • getParentRoleId

        public String getParentRoleId()
      • getTracking

        public com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking getTracking()
        Specified by:
        getTracking in interface com.broadleafcommerce.data.tracking.core.Trackable
      • setContextId

        public void setContextId​(String contextId)
        Specified by:
        setContextId in interface com.broadleafcommerce.data.tracking.core.Trackable
      • setName

        public void setName​(String name)
      • setParentRoleId

        public void setParentRoleId​(String parentRoleId)
      • setTracking

        public void setTracking​(com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking tracking)
        Specified by:
        setTracking in interface com.broadleafcommerce.data.tracking.core.TypedTrackable<com.broadleafcommerce.data.tracking.jpa.filtering.domain.CustomerContextJpaTracking>
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object