Class UserPermission
- java.lang.Object
-
- com.broadleafcommerce.auth.resource.domain.UserPermission
-
public class UserPermission extends Object
-
-
Constructor Summary
Constructors Constructor Description UserPermission()UserPermission(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetId()InstantgetLastUpdated()Indicates when this record was last updated.StringgetName()The name for this permission.inthashCode()booleanisArchived()This entity is soft-deleted instead of hard-deleted, and this field is set totruewhen the entity is soft-deleted.voidsetArchived(boolean archived)This entity is soft-deleted instead of hard-deleted, and this field is set totruewhen the entity is soft-deleted.voidsetId(String id)voidsetLastUpdated(Instant lastUpdated)Indicates when this record was last updated.voidsetName(String name)The name for this permission.UserPermissionReftoRef()StringtoString()
-
-
-
Constructor Detail
-
UserPermission
public UserPermission(String name)
-
UserPermission
public UserPermission()
-
-
Method Detail
-
toRef
public UserPermissionRef toRef()
-
getId
public String getId()
-
getName
public String getName()
The name for this permission. This is not guaranteed to be unique.
-
getLastUpdated
public Instant getLastUpdated()
Indicates when this record was last updated.
-
isArchived
public boolean isArchived()
This entity is soft-deleted instead of hard-deleted, and this field is set totruewhen the entity is soft-deleted.
-
setId
public void setId(String id)
-
setName
public void setName(String name)
The name for this permission. This is not guaranteed to be unique.
-
setLastUpdated
public void setLastUpdated(Instant lastUpdated)
Indicates when this record was last updated.
-
setArchived
public void setArchived(boolean archived)
This entity is soft-deleted instead of hard-deleted, and this field is set totruewhen the entity is soft-deleted.
-
canEqual
protected boolean canEqual(Object other)
-
-