Class BusinessRoleDto
java.lang.Object
com.evolveum.midpoint.gui.impl.page.admin.role.mining.model.BusinessRoleDto
- All Implemented Interfaces:
Serializable
The BusinessRoleDto class represents a Data Transfer Object (DTO) that holds information
about a user's assignment to a specific role and associated deltas.
- See Also:
-
Constructor Summary
ConstructorDescriptionBusinessRoleDto
(@NotNull PrismObject<UserType> prismObjectUser, @NotNull PrismObject<RoleType> prismObjectRole, Set<PrismObject<RoleType>> candidateRoles, PageBase pageBase) BusinessRoleDto
(PrismObject<UserType> prismObjectUser, PrismObject<RoleType> prismRoleObject, List<ObjectDelta<? extends ObjectType>> objectDeltas, int assignedCount, int unassignedCount, boolean include, Set<PrismObject<RoleType>> candidateRoles) -
Method Summary
Modifier and TypeMethodDescriptionint
List<ObjectDelta<? extends ObjectType>>
int
boolean
void
setAssignedCount
(int assignedCount) void
setDeltaDtos
(List<DeltaDto> deltaDtos) void
setInclude
(boolean include) void
setObjectDeltas
(List<ObjectDelta<? extends ObjectType>> objectDeltas) void
setPrismObjectUser
(PrismObject<UserType> prismObjectUser) void
setPrismRoleObject
(PrismObject<RoleType> prismRoleObject) void
setUnassignedCount
(int unassignedCount) void
updateValue
(List<PrismObject<RoleType>> inducements, PageBase pageBase) Updates the value of the BusinessRoleDto object for new inducements.
-
Constructor Details
-
BusinessRoleDto
public BusinessRoleDto(PrismObject<UserType> prismObjectUser, PrismObject<RoleType> prismRoleObject, List<ObjectDelta<? extends ObjectType>> objectDeltas, int assignedCount, int unassignedCount, boolean include, Set<PrismObject<RoleType>> candidateRoles) -
BusinessRoleDto
public BusinessRoleDto(@NotNull @NotNull PrismObject<UserType> prismObjectUser, @NotNull @NotNull PrismObject<RoleType> prismObjectRole, Set<PrismObject<RoleType>> candidateRoles, PageBase pageBase)
-
-
Method Details
-
updateValue
Updates the value of the BusinessRoleDto object for new inducements.- Parameters:
inducements
- The list of inducements to be used for updating the value.pageBase
- The pageBase object.
-
getPrismObjectUser
-
setPrismObjectUser
-
getPrismRoleObject
-
setPrismRoleObject
-
getObjectDeltas
-
setObjectDeltas
-
getDeltaDtos
-
setDeltaDtos
-
getAssignedCount
public int getAssignedCount() -
setAssignedCount
public void setAssignedCount(int assignedCount) -
getUnassignedCount
public int getUnassignedCount() -
setUnassignedCount
public void setUnassignedCount(int unassignedCount) -
isInclude
public boolean isInclude() -
setInclude
public void setInclude(boolean include)
-