Package oracle.iam.identity.orgmgmt.vo
Class OrganizationManagerBulkResult
java.lang.Object
oracle.iam.identity.orgmgmt.vo.OrganizationManagerBulkResult
- All Implemented Interfaces:
Serializable
The
OrganizationManagerBulkResult class is a value object and contains the
result of bulk operation on organization entity.- Author:
- abhimanyu seth
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOrganizationManagerBulkResult(String status) ConstructOrganizationManagerBulkResultwith given statusstatus -
Method Summary
Modifier and TypeMethodDescriptionProvides aMapof failed result.Gets the status of bulk organization operation result.ProvidesListof success result containing GUID of the organization for which operation succeeded.voidsetFailedResults(Map<String, oracle.iam.platform.kernel.ValidationFailedException> failedResults) Sets aMapof failed result.voidSets the status of bulk organization operation result.voidsetSucceededResults(List<String> succeededResults) Set theListof success result containing GUID of the organization for which operation succeeded.
-
Constructor Details
-
OrganizationManagerBulkResult
ConstructOrganizationManagerBulkResultwith given statusstatus- Parameters:
status- 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 organization.
-
-
Method Details
-
setStatus
Sets the status of bulk organization operation result.- Parameters:
status- The status of the result. Set status as 'COMPLETED' if bulk operation is successful for at least one organization.
-
getStatus
Gets the status of bulk organization operation result.- Returns:
- The status of the result. The status is 'COMPLETED' if bulk operation is successful for at least one organization.
-
setFailedResults
public void setFailedResults(Map<String, oracle.iam.platform.kernel.ValidationFailedException> failedResults) Sets aMapof failed result. The map contains mapping of GUID of the organization and the failure reason.- Parameters:
failedResults- AMapof failed result containing mapping of GUID of the organization and the failure reason.
-
getFailedResults
Provides aMapof failed result. The map contains mapping of GUID of the organization and the failure reason.- Returns:
- A
Mapof failed result containing mapping of GUID of the organization and the failure reason.
-
setSucceededResults
Set theListof success result containing GUID of the organization for which operation succeeded.- Parameters:
succeededResults- TheListof success result containing GUID of the organization for which operation succeeded.
-
getSucceededResults
ProvidesListof success result containing GUID of the organization for which operation succeeded.- Returns:
- A
Listof success result containing GUID of the organization for which operation succeeded.
-