public class OrganizationManagerBulkResult
extends java.lang.Object
implements java.io.Serializable
OrganizationManagerBulkResult class is a value object and contains the
result of bulk operation on organization entity.| Constructor and Description |
|---|
OrganizationManagerBulkResult(java.lang.String status)
Construct
OrganizationManagerBulkResult with given status
status |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map |
getFailedResults()
Provides a
Map of failed result. |
java.lang.String |
getStatus()
Gets the status of bulk organization operation result.
|
java.util.List |
getSucceededResults()
Provides
List of success result containing GUID of the organization
for which operation succeeded. |
void |
setFailedResults(java.util.Map failedResults)
Sets a
Map of failed result. |
void |
setStatus(java.lang.String status)
Sets the status of bulk organization operation result.
|
void |
setSucceededResults(java.util.List succeededResults)
Set the
List of success result containing GUID of the
organization for which operation succeeded. |
public OrganizationManagerBulkResult(java.lang.String status)
OrganizationManagerBulkResult with given status
statusstatus - 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.public void setStatus(java.lang.String status)
status - The status of the result. Set status as 'COMPLETED' if bulk
operation is successful for at least one organization.public java.lang.String getStatus()
public void setFailedResults(java.util.Map failedResults)
Map of failed result. The map contains mapping of
GUID of the organization and the failure reason.failedResults - A Map of failed result containing mapping of GUID
of the organization and the failure reason.public java.util.Map getFailedResults()
Map of failed result. The map contains mapping of
GUID of the organization and the failure reason.Map of failed result containing mapping of GUID of
the organization and the failure reason.public void setSucceededResults(java.util.List succeededResults)
List of success result containing GUID of the
organization for which operation succeeded.succeededResults - The List of success result containing GUID of the
organization for which operation succeeded.public java.util.List getSucceededResults()
List of success result containing GUID of the organization
for which operation succeeded.List of success result containing GUID of the organization
for which operation succeeded.