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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JpaUserPermission()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
org.modelmapper.ModelMapper
fromMe()
Class<?>
getBusinessDomainType()
String
getId()
Instant
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).String
getName()
int
hashCode()
boolean
isArchived()
void
setArchived(boolean archived)
void
setId(String id)
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
setName(String name)
org.modelmapper.ModelMapper
toMe()
String
toString()
-
-
-
Method Detail
-
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
public Class<?> getBusinessDomainType()
- Specified by:
getBusinessDomainType
in interfacecom.broadleafcommerce.data.tracking.core.mapping.BusinessTypeAware
-
getId
public String getId()
-
getName
public String getName()
-
getLastUpdated
public Instant 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
-
setId
public void setId(String id)
-
setName
public void setName(String name)
-
setLastUpdated
public 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).- See Also:
UserPermission.lastUpdated
-
setArchived
public void setArchived(boolean archived)
- See Also:
UserPermission.archived
-
canEqual
protected boolean canEqual(Object other)
-
-