Class JpaUserPermission
java.lang.Object
com.broadleafcommerce.auth.security.domain.JpaUserPermission
- All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
,com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
,Serializable
@Entity
public class JpaUserPermission
extends Object
implements Serializable, com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable, com.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
- Author:
- Jeff Fischer
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
org.modelmapper.ModelMapper
fromMe()
Class<?>
getId()
We don't useLastModifiedDate
here because we want to enable manually setting this value (ex: for setting the lastUpdated to a value received in a persistence message).getName()
int
hashCode()
boolean
boolean
boolean
void
setAccountPermission
(boolean accountPermission) void
setArchived
(boolean archived) void
void
setLastUpdated
(Instant lastUpdated) We don't useLastModifiedDate
here because we want to enable manually setting this value (ex: for setting the lastUpdated to a value received in a persistence message).void
void
setUserAssignable
(boolean userAssignable) org.modelmapper.ModelMapper
toMe()
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
postFromMe, postToMe, preFromMe, preToMe
-
Constructor Details
-
JpaUserPermission
public JpaUserPermission()
-
-
Method Details
-
fromMe
public org.modelmapper.ModelMapper fromMe()- Specified by:
fromMe
in interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
toMe
public org.modelmapper.ModelMapper toMe()- Specified by:
toMe
in interfacecom.broadleafcommerce.data.tracking.core.mapping.ModelMapperMappable
-
getBusinessDomainType
- Specified by:
getBusinessDomainType
in interfacecom.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
-
getId
-
getName
-
getLastUpdated
We don't useLastModifiedDate
here because we want to enable manually setting this value (ex: for setting the lastUpdated to a value received in a persistence message).- See Also:
-
UserPermission.lastUpdated
-
isArchived
public boolean isArchived()- See Also:
-
UserPermission.archived
-
isAccountPermission
public boolean isAccountPermission() -
isUserAssignable
public boolean isUserAssignable() -
setId
-
setName
-
setLastUpdated
We don't useLastModifiedDate
here because we want to enable manually setting this value (ex: for setting the lastUpdated to a value received in a persistence message).- See Also:
-
UserPermission.lastUpdated
-
setArchived
public void setArchived(boolean archived) - See Also:
-
UserPermission.archived
-
setAccountPermission
public void setAccountPermission(boolean accountPermission) -
setUserAssignable
public void setUserAssignable(boolean userAssignable) -
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-