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 blankUserManagerResult
UserManagerResult
(String entityId, String status) ConstructUserManagerResult
with given GUIDentityId
and statusstatus
-
Method Summary
Modifier and TypeMethodDescriptionProvides the GUID of the user the result belongs to.Provides aMap
of failed result.Provides the result status of the operation.ProvidesList
of success result containing GUID of the user for which operation succeeded.void
setFailedResults
(HashMap<String, String> failedResults) Sets aMap
of failed result.void
setRequestId
(String requestId) void
setSucceededResults
(List succeededResults) Set theList
of success result containing GUID of the user for which operation succeeded.
-
Constructor Details
-
UserManagerResult
public UserManagerResult()Construct a blankUserManagerResult
-
UserManagerResult
ConstructUserManagerResult
with given GUIDentityId
and 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 aMap
of 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
- AMap
of failed result containing mapping of GUID of the user and the failure reason.
-
getFailedResults
Provides aMap
of 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
Map
of failed result containing mapping of GUID of the user and the failure reason.
-
getSucceededResults
ProvidesList
of 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
List
of success result containing GUID of the user for which operation succeeded.
-
setSucceededResults
Set theList
of 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
- TheList
of success result containing GUID of the user for which operation succeeded.
-