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 boolean
canEqual(Object other)
boolean
equals(Object o)
String
getId()
Instant
getLastUpdated()
Indicates when this record was last updated.String
getName()
The name for this permission.int
hashCode()
boolean
isArchived()
This entity is soft-deleted instead of hard-deleted, and this field is set totrue
when the entity is soft-deleted.void
setArchived(boolean archived)
This entity is soft-deleted instead of hard-deleted, and this field is set totrue
when the entity is soft-deleted.void
setId(String id)
void
setLastUpdated(Instant lastUpdated)
Indicates when this record was last updated.void
setName(String name)
The name for this permission.UserPermissionRef
toRef()
String
toString()
-
-
-
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 totrue
when 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 totrue
when the entity is soft-deleted.
-
canEqual
protected boolean canEqual(Object other)
-
-