Package oracle.iam.identity.usermgmt.vo
Class UserManagerResult
java.lang.Object
oracle.iam.identity.usermgmt.vo.UserManagerResult
- All Implemented Interfaces:
Serializable
The
UserManagerResult class is a value object and contains the
result of operation on user entity.- Author:
- abhimanyu seth
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct a blankUserManagerResultUserManagerResult(String entityId, String status) ConstructUserManagerResultwith given GUIDentityIdand statusstatus -
Method Summary
Modifier and TypeMethodDescriptionProvides the GUID of the user the result belongs to.Provides aMapof failed result.Provides the result status of the operation.ProvidesListof success result containing GUID of the user for which operation succeeded.voidsetFailedResults(HashMap<String, String> failedResults) Sets aMapof failed result.voidsetRequestId(String requestId) voidsetSucceededResults(List succeededResults) Set theListof success result containing GUID of the user for which operation succeeded.
-
Constructor Details
-
UserManagerResult
public UserManagerResult()Construct a blankUserManagerResult -
UserManagerResult
ConstructUserManagerResultwith given GUIDentityIdand statusstatus- Parameters:
entityId- The GUID of the userstatus- The status of the result. Set status as 'COMPLETED' if the operation is successful. For bulk operation set status as 'COMPLETED' if bulk operation is successful for at least one user.
-
-
Method Details
-
getEntityId
Provides the GUID of the user the result belongs to.- Returns:
- The GUID of the user the result belongs to.
-
getRequestId
-
setRequestId
-
getStatus
Provides the result status of the operation.- Returns:
- The result status of the operation. The status is 'COMPLETED' if the operation is successful. For bulk operation status is 'COMPLETED' if bulk operation is successful for at least one user.
-
setFailedResults
Sets aMapof failed result. The map contains mapping of GUID of the user and the failure reason. The method is intended to be used for setting failure results for bulk operation.- Parameters:
succeededResults- AMapof failed result containing mapping of GUID of the user and the failure reason.
-
getFailedResults
Provides aMapof failed result. The map contains mapping of GUID of the user and the failure reason. The method is intended to be used for getting failure results for bulk operation.- Returns:
- A
Mapof failed result containing mapping of GUID of the user and the failure reason.
-
getSucceededResults
ProvidesListof success result containing GUID of the user for which operation succeeded. The method is intended to be used for getting success result for bulk operation.- Returns:
- A
Listof success result containing GUID of the user for which operation succeeded.
-
setSucceededResults
Set theListof success result containing GUID of the user for which operation succeeded. The method is intended to be used for setting success result for bulk operation.- Parameters:
succeededResults- TheListof success result containing GUID of the user for which operation succeeded.
-