Package com.axelor.auth.db
Class Group
java.lang.Object
com.axelor.db.Model
com.axelor.auth.db.AuditableModel
com.axelor.auth.db.Group
This object stores the groups.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Add the givenMetaMenu
item to themenus
collection.void
Add the givenMetaPermission
item to themetaPermissions
collection.void
addPermission
(Permission item) Add the givenPermission
item to thepermissions
collection.void
Add the givenRole
item to theroles
collection.void
Add the givenMetaView
item to theviews
collection.void
Clear themenus
collection.void
Clear themetaPermissions
collection.void
Clear thepermissions
collection.void
Clear theroles
collection.void
Clear theviews
collection.boolean
getCode()
Default home action.getId()
getMenus()
getName()
getRoles()
Specify whether the members of this group are technical staff.getViews()
int
hashCode()
void
removeMenu
(MetaMenu item) Remove the givenMetaMenu
item from themenus
collection.void
Remove the givenMetaPermission
item from themetaPermissions
collection.void
removePermission
(Permission item) Remove the givenPermission
item from thepermissions
collection.void
removeRole
(Role item) Remove the givenRole
item from theroles
collection.void
removeView
(MetaView item) Remove the givenMetaView
item from theviews
collection.void
void
setHomeAction
(String homeAction) void
void
void
setMetaPermissions
(Set<MetaPermission> metaPermissions) void
void
setNavigation
(String navigation) void
setPermissions
(Set<Permission> permissions) void
void
setTechnicalStaff
(Boolean technicalStaff) void
setViewCustomizationPermission
(ViewCustomizationPermission viewCustomizationPermission) 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
-
Group
public Group() -
Group
-
-
Method Details
-
getId
-
setId
-
getCode
-
setCode
-
getName
-
setName
-
getHomeAction
Default home action.- Returns:
- the property value
-
setHomeAction
-
getTechnicalStaff
Specify whether the members of this group are technical staff.- Returns:
- the property value
-
setTechnicalStaff
-
getViewCustomizationPermission
-
setViewCustomizationPermission
-
getRoles
-
setRoles
-
addRole
Add the givenRole
item to theroles
collection.- Parameters:
item
- the item to add
-
removeRole
Remove the givenRole
item from theroles
collection.- Parameters:
item
- the item to remove
-
clearRoles
public void clearRoles()Clear theroles
collection. -
getPermissions
-
setPermissions
-
addPermission
Add the givenPermission
item to thepermissions
collection.- Parameters:
item
- the item to add
-
removePermission
Remove the givenPermission
item from thepermissions
collection.- Parameters:
item
- the item to remove
-
clearPermissions
public void clearPermissions()Clear thepermissions
collection. -
getMetaPermissions
-
setMetaPermissions
-
addMetaPermission
Add the givenMetaPermission
item to themetaPermissions
collection.- Parameters:
item
- the item to add
-
removeMetaPermission
Remove the givenMetaPermission
item from themetaPermissions
collection.- Parameters:
item
- the item to remove
-
clearMetaPermissions
public void clearMetaPermissions()Clear themetaPermissions
collection. -
getMenus
-
setMenus
-
addMenu
Add the givenMetaMenu
item to themenus
collection.- Parameters:
item
- the item to add
-
removeMenu
Remove the givenMetaMenu
item from themenus
collection.- Parameters:
item
- the item to remove
-
clearMenus
public void clearMenus()Clear themenus
collection. -
getViews
-
setViews
-
addView
Add the givenMetaView
item to theviews
collection.- Parameters:
item
- the item to add
-
removeView
Remove the givenMetaView
item from theviews
collection.- Parameters:
item
- the item to remove
-
clearViews
public void clearViews()Clear theviews
collection. -
equals
-
hashCode
public int hashCode() -
toString
-