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 TypeMethodDescriptionvoidAdd the givenMetaMenuitem to themenuscollection.voidAdd the givenMetaPermissionitem to themetaPermissionscollection.voidaddPermission(Permission item) Add the givenPermissionitem to thepermissionscollection.voidAdd the givenRoleitem to therolescollection.voidAdd the givenMetaViewitem to theviewscollection.voidClear themenuscollection.voidClear themetaPermissionscollection.voidClear thepermissionscollection.voidClear therolescollection.voidClear theviewscollection.booleangetCode()Default home action.getId()getMenus()getName()getRoles()Specify whether the members of this group are technical staff.getViews()inthashCode()voidremoveMenu(MetaMenu item) Remove the givenMetaMenuitem from themenuscollection.voidRemove the givenMetaPermissionitem from themetaPermissionscollection.voidremovePermission(Permission item) Remove the givenPermissionitem from thepermissionscollection.voidremoveRole(Role item) Remove the givenRoleitem from therolescollection.voidremoveView(MetaView item) Remove the givenMetaViewitem from theviewscollection.voidvoidsetHomeAction(String homeAction) voidvoidvoidsetMetaPermissions(Set<MetaPermission> metaPermissions) voidvoidsetNavigation(String navigation) voidsetPermissions(Set<Permission> permissions) voidvoidsetTechnicalStaff(Boolean technicalStaff) voidsetViewCustomizationPermission(ViewCustomizationPermission viewCustomizationPermission) voidtoString()Methods inherited from class com.axelor.auth.db.AuditableModel
getCreatedBy, getCreatedOn, getUpdatedBy, getUpdatedOnMethods 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 givenRoleitem to therolescollection.- Parameters:
item- the item to add
-
removeRole
Remove the givenRoleitem from therolescollection.- Parameters:
item- the item to remove
-
clearRoles
public void clearRoles()Clear therolescollection. -
getPermissions
-
setPermissions
-
addPermission
Add the givenPermissionitem to thepermissionscollection.- Parameters:
item- the item to add
-
removePermission
Remove the givenPermissionitem from thepermissionscollection.- Parameters:
item- the item to remove
-
clearPermissions
public void clearPermissions()Clear thepermissionscollection. -
getMetaPermissions
-
setMetaPermissions
-
addMetaPermission
Add the givenMetaPermissionitem to themetaPermissionscollection.- Parameters:
item- the item to add
-
removeMetaPermission
Remove the givenMetaPermissionitem from themetaPermissionscollection.- Parameters:
item- the item to remove
-
clearMetaPermissions
public void clearMetaPermissions()Clear themetaPermissionscollection. -
getMenus
-
setMenus
-
addMenu
Add the givenMetaMenuitem to themenuscollection.- Parameters:
item- the item to add
-
removeMenu
Remove the givenMetaMenuitem from themenuscollection.- Parameters:
item- the item to remove
-
clearMenus
public void clearMenus()Clear themenuscollection. -
getViews
-
setViews
-
addView
Add the givenMetaViewitem to theviewscollection.- Parameters:
item- the item to add
-
removeView
Remove the givenMetaViewitem from theviewscollection.- Parameters:
item- the item to remove
-
clearViews
public void clearViews()Clear theviewscollection. -
equals
-
hashCode
public int hashCode() -
toString
-