Class RoleGroup
java.lang.Object
com.aeontronix.enhancedmule.tools.anypoint.AnypointObject<Organization>
com.aeontronix.enhancedmule.tools.role.RoleGroup
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields inherited from class com.aeontronix.enhancedmule.tools.anypoint.AnypointObject
client, httpHelper, json, jsonHelper, parent -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassignRoles(Iterable<RoleAssignmentAddition> roleAssignmentAdditions) voidvoiddeleteRoleAssignment(Iterable<RoleAssignment> roleAssignments) static RoleGroupfindById(Organization organization, HttpHelper httpHelper, JsonHelper jsonHelper, String id) getId()getName()booleanbooleansame(RoleDescriptor roleDescriptor) voidsetDescription(String description) voidsetEditable(boolean editable) voidsetExternalNames(Set<String> externalNames) voidvoidupdate()
-
Constructor Details
-
RoleGroup
-
RoleGroup
-
RoleGroup
public RoleGroup()
-
-
Method Details
-
getId
-
setId
-
getName
-
setName
-
getDescription
-
setDescription
-
isEditable
public boolean isEditable() -
setEditable
public void setEditable(boolean editable) -
getExternalNames
-
setExternalNames
-
update
- Throws:
HttpException
-
findById
public static RoleGroup findById(Organization organization, HttpHelper httpHelper, JsonHelper jsonHelper, String id) throws NotFoundException, HttpException - Throws:
NotFoundExceptionHttpException
-
findRoleAssignments
- Throws:
HttpExceptionNotFoundException
-
assignRoles
public List<RoleAssignment> assignRoles(Iterable<RoleAssignmentAddition> roleAssignmentAdditions) throws HttpException - Throws:
HttpException
-
deleteAllRoleAssignment
- Throws:
HttpException
-
deleteRoleAssignment
- Throws:
HttpException
-
same
-