Package com.axelor.auth.db
Class Permission
java.lang.Object
com.axelor.db.Model
com.axelor.auth.db.AuditableModel
com.axelor.auth.db.Permission
This object stores the permissions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Whether to grant create access.Whether to grant export access.Whether to grant import access.Whether to grant read access.Whether to grant remove access.Whether to grant write access.Domain filter as condition.Comma separated list of params for the condition.getId()
getName()
An unique permission name.Fully qualified object name or wild card package name.int
hashCode()
void
setCanCreate
(Boolean canCreate) void
setCanExport
(Boolean canExport) void
setCanImport
(Boolean canImport) void
setCanRead
(Boolean canRead) void
setCanRemove
(Boolean canRemove) void
setCanWrite
(Boolean canWrite) void
setCondition
(String condition) void
setConditionParams
(String conditionParams) void
void
void
toString()
Methods inherited from class com.axelor.auth.db.AuditableModel
getCreatedBy, getCreatedOn, getUpdatedBy, getUpdatedOn
Methods inherited from class com.axelor.db.Model
getArchived, getCid, getVersion, isSelected, setArchived, setCid, setSelected, setVersion
-
Constructor Details
-
Permission
public Permission() -
Permission
-
-
Method Details
-
getId
-
setId
-
getName
An unique permission name.- Returns:
- the property value
-
setName
-
getObject
Fully qualified object name or wild card package name.- Returns:
- the property value
-
setObject
-
getCanRead
Whether to grant read access.- Returns:
- the property value
-
setCanRead
-
getCanWrite
Whether to grant write access.- Returns:
- the property value
-
setCanWrite
-
getCanCreate
Whether to grant create access.- Returns:
- the property value
-
setCanCreate
-
getCanRemove
Whether to grant remove access.- Returns:
- the property value
-
setCanRemove
-
getCanImport
Whether to grant import access.- Returns:
- the property value
-
setCanImport
-
getCanExport
Whether to grant export access.- Returns:
- the property value
-
setCanExport
-
getCondition
Domain filter as condition.- Returns:
- the property value
-
setCondition
-
getConditionParams
Comma separated list of params for the condition.- Returns:
- the property value
-
setConditionParams
-
equals
-
hashCode
public int hashCode() -
toString
-