public class LegalHoldPolicyAssignmentsManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LegalHoldPolicyAssignmentsManager.Builder |
| Modifier and Type | Field and Description |
|---|---|
Authentication |
auth |
NetworkSession |
networkSession |
| Modifier | Constructor and Description |
|---|---|
|
LegalHoldPolicyAssignmentsManager() |
protected |
LegalHoldPolicyAssignmentsManager(LegalHoldPolicyAssignmentsManager.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
LegalHoldPolicyAssignment |
createLegalHoldPolicyAssignment(CreateLegalHoldPolicyAssignmentRequestBody requestBody)
Assign a legal hold to an item type of: file, file version, folder, user, ownership, or
interactions.
|
LegalHoldPolicyAssignment |
createLegalHoldPolicyAssignment(CreateLegalHoldPolicyAssignmentRequestBody requestBody,
CreateLegalHoldPolicyAssignmentHeaders headers)
Assign a legal hold to an item type of: file, file version, folder, user, ownership, or
interactions.
|
void |
deleteLegalHoldPolicyAssignmentById(String legalHoldPolicyAssignmentId)
Remove a legal hold from an item.
|
void |
deleteLegalHoldPolicyAssignmentById(String legalHoldPolicyAssignmentId,
DeleteLegalHoldPolicyAssignmentByIdHeaders headers)
Remove a legal hold from an item.
|
Authentication |
getAuth() |
LegalHoldPolicyAssignment |
getLegalHoldPolicyAssignmentById(String legalHoldPolicyAssignmentId)
Retrieve a legal hold policy assignment.
|
LegalHoldPolicyAssignment |
getLegalHoldPolicyAssignmentById(String legalHoldPolicyAssignmentId,
GetLegalHoldPolicyAssignmentByIdHeaders headers)
Retrieve a legal hold policy assignment.
|
FilesOnHold |
getLegalHoldPolicyAssignmentFileOnHold(String legalHoldPolicyAssignmentId)
Get a list of files with current file versions for a legal hold assignment.
|
FilesOnHold |
getLegalHoldPolicyAssignmentFileOnHold(String legalHoldPolicyAssignmentId,
GetLegalHoldPolicyAssignmentFileOnHoldHeaders headers)
Get a list of files with current file versions for a legal hold assignment.
|
FilesOnHold |
getLegalHoldPolicyAssignmentFileOnHold(String legalHoldPolicyAssignmentId,
GetLegalHoldPolicyAssignmentFileOnHoldQueryParams queryParams)
Get a list of files with current file versions for a legal hold assignment.
|
FilesOnHold |
getLegalHoldPolicyAssignmentFileOnHold(String legalHoldPolicyAssignmentId,
GetLegalHoldPolicyAssignmentFileOnHoldQueryParams queryParams,
GetLegalHoldPolicyAssignmentFileOnHoldHeaders headers)
Get a list of files with current file versions for a legal hold assignment.
|
LegalHoldPolicyAssignments |
getLegalHoldPolicyAssignments(GetLegalHoldPolicyAssignmentsQueryParams queryParams)
Retrieves a list of items a legal hold policy has been assigned to.
|
LegalHoldPolicyAssignments |
getLegalHoldPolicyAssignments(GetLegalHoldPolicyAssignmentsQueryParams queryParams,
GetLegalHoldPolicyAssignmentsHeaders headers)
Retrieves a list of items a legal hold policy has been assigned to.
|
NetworkSession |
getNetworkSession() |
public Authentication auth
public NetworkSession networkSession
public LegalHoldPolicyAssignmentsManager()
protected LegalHoldPolicyAssignmentsManager(LegalHoldPolicyAssignmentsManager.Builder builder)
public LegalHoldPolicyAssignments getLegalHoldPolicyAssignments(GetLegalHoldPolicyAssignmentsQueryParams queryParams)
queryParams - Query parameters of getLegalHoldPolicyAssignments methodpublic LegalHoldPolicyAssignments getLegalHoldPolicyAssignments(GetLegalHoldPolicyAssignmentsQueryParams queryParams, GetLegalHoldPolicyAssignmentsHeaders headers)
queryParams - Query parameters of getLegalHoldPolicyAssignments methodheaders - Headers of getLegalHoldPolicyAssignments methodpublic LegalHoldPolicyAssignment createLegalHoldPolicyAssignment(CreateLegalHoldPolicyAssignmentRequestBody requestBody)
requestBody - Request body of createLegalHoldPolicyAssignment methodpublic LegalHoldPolicyAssignment createLegalHoldPolicyAssignment(CreateLegalHoldPolicyAssignmentRequestBody requestBody, CreateLegalHoldPolicyAssignmentHeaders headers)
requestBody - Request body of createLegalHoldPolicyAssignment methodheaders - Headers of createLegalHoldPolicyAssignment methodpublic LegalHoldPolicyAssignment getLegalHoldPolicyAssignmentById(String legalHoldPolicyAssignmentId)
legalHoldPolicyAssignmentId - The ID of the legal hold policy assignment. Example:
"753465"public LegalHoldPolicyAssignment getLegalHoldPolicyAssignmentById(String legalHoldPolicyAssignmentId, GetLegalHoldPolicyAssignmentByIdHeaders headers)
legalHoldPolicyAssignmentId - The ID of the legal hold policy assignment. Example:
"753465"headers - Headers of getLegalHoldPolicyAssignmentById methodpublic void deleteLegalHoldPolicyAssignmentById(String legalHoldPolicyAssignmentId)
This is an asynchronous process. The policy will not be fully removed yet when the response returns.
legalHoldPolicyAssignmentId - The ID of the legal hold policy assignment. Example:
"753465"public void deleteLegalHoldPolicyAssignmentById(String legalHoldPolicyAssignmentId, DeleteLegalHoldPolicyAssignmentByIdHeaders headers)
This is an asynchronous process. The policy will not be fully removed yet when the response returns.
legalHoldPolicyAssignmentId - The ID of the legal hold policy assignment. Example:
"753465"headers - Headers of deleteLegalHoldPolicyAssignmentById methodpublic FilesOnHold getLegalHoldPolicyAssignmentFileOnHold(String legalHoldPolicyAssignmentId)
In some cases you may want to get previous file versions instead. In these cases, use the `GET /legal_hold_policy_assignments/:id/file_versions_on_hold` API instead to return any previous versions of a file for this legal hold policy assignment.
Due to ongoing re-architecture efforts this API might not return all file versions held for this policy ID. Instead, this API will only return the latest file version held in the newly developed architecture. The `GET /file_version_legal_holds` API can be used to fetch current and past versions of files held within the legacy architecture.
This endpoint does not support returning any content that is on hold due to a Custodian collaborating on a Hub.
The `GET /legal_hold_policy_assignments?policy_id={id}` API can be used to find a list of policy assignments for a given policy ID.
legalHoldPolicyAssignmentId - The ID of the legal hold policy assignment. Example:
"753465"public FilesOnHold getLegalHoldPolicyAssignmentFileOnHold(String legalHoldPolicyAssignmentId, GetLegalHoldPolicyAssignmentFileOnHoldQueryParams queryParams)
In some cases you may want to get previous file versions instead. In these cases, use the `GET /legal_hold_policy_assignments/:id/file_versions_on_hold` API instead to return any previous versions of a file for this legal hold policy assignment.
Due to ongoing re-architecture efforts this API might not return all file versions held for this policy ID. Instead, this API will only return the latest file version held in the newly developed architecture. The `GET /file_version_legal_holds` API can be used to fetch current and past versions of files held within the legacy architecture.
This endpoint does not support returning any content that is on hold due to a Custodian collaborating on a Hub.
The `GET /legal_hold_policy_assignments?policy_id={id}` API can be used to find a list of policy assignments for a given policy ID.
legalHoldPolicyAssignmentId - The ID of the legal hold policy assignment. Example:
"753465"queryParams - Query parameters of getLegalHoldPolicyAssignmentFileOnHold methodpublic FilesOnHold getLegalHoldPolicyAssignmentFileOnHold(String legalHoldPolicyAssignmentId, GetLegalHoldPolicyAssignmentFileOnHoldHeaders headers)
In some cases you may want to get previous file versions instead. In these cases, use the `GET /legal_hold_policy_assignments/:id/file_versions_on_hold` API instead to return any previous versions of a file for this legal hold policy assignment.
Due to ongoing re-architecture efforts this API might not return all file versions held for this policy ID. Instead, this API will only return the latest file version held in the newly developed architecture. The `GET /file_version_legal_holds` API can be used to fetch current and past versions of files held within the legacy architecture.
This endpoint does not support returning any content that is on hold due to a Custodian collaborating on a Hub.
The `GET /legal_hold_policy_assignments?policy_id={id}` API can be used to find a list of policy assignments for a given policy ID.
legalHoldPolicyAssignmentId - The ID of the legal hold policy assignment. Example:
"753465"headers - Headers of getLegalHoldPolicyAssignmentFileOnHold methodpublic FilesOnHold getLegalHoldPolicyAssignmentFileOnHold(String legalHoldPolicyAssignmentId, GetLegalHoldPolicyAssignmentFileOnHoldQueryParams queryParams, GetLegalHoldPolicyAssignmentFileOnHoldHeaders headers)
In some cases you may want to get previous file versions instead. In these cases, use the `GET /legal_hold_policy_assignments/:id/file_versions_on_hold` API instead to return any previous versions of a file for this legal hold policy assignment.
Due to ongoing re-architecture efforts this API might not return all file versions held for this policy ID. Instead, this API will only return the latest file version held in the newly developed architecture. The `GET /file_version_legal_holds` API can be used to fetch current and past versions of files held within the legacy architecture.
This endpoint does not support returning any content that is on hold due to a Custodian collaborating on a Hub.
The `GET /legal_hold_policy_assignments?policy_id={id}` API can be used to find a list of policy assignments for a given policy ID.
legalHoldPolicyAssignmentId - The ID of the legal hold policy assignment. Example:
"753465"queryParams - Query parameters of getLegalHoldPolicyAssignmentFileOnHold methodheaders - Headers of getLegalHoldPolicyAssignmentFileOnHold methodpublic Authentication getAuth()
public NetworkSession getNetworkSession()