public class ClientMockResultHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SECURITY_PROFILES |
public static final String SECURITY_PROFILES
public static List<LogbookOperation> getLogbookOperations()
InvalidParseOperationException
@Deprecated public static com.fasterxml.jackson.databind.JsonNode getLogbookResults() throws InvalidParseOperationException
InvalidParseOperationException
@Deprecated public static RequestResponse getLogbooksRequestResponseJsonNode() throws InvalidParseOperationException
InvalidParseOperationException
public static RequestResponse<LogbookOperation> getLogbookOperationsRequestResponse()
public static RequestResponse<LogbookOperation> getLogbookOperationRequestResponse()
public static RequestResponse<LogbookLifecycle> getLogbookLifecycleRequestResponse()
public static com.fasterxml.jackson.databind.JsonNode getMetaDataResult() throws InvalidParseOperationException
InvalidParseOperationException
public static RequestResponse createReponse(Object s)
s
- the original object to be included in responseInvalidParseOperationException
public static RequestResponse createReponse(String s) throws InvalidParseOperationException
s
- the original object to be included in responseInvalidParseOperationException
public static RequestResponse createReponse(String s, int statuscode) throws InvalidParseOperationException
s
- the original object to be included in responsestatuscode
- status to be returnedInvalidParseOperationException
public static RequestResponse<AccessionRegisterSummaryModel> getAccessionRegisterSummary()
public static RequestResponse getAccessionRegisterDetail() throws InvalidParseOperationException
InvalidParseOperationException
public static RequestResponse<FileFormatModel> getFormat()
public static RequestResponse<FileFormatModel> getFormat(int statusCode)
statusCode
- public static RequestResponse<FileRulesModel> getRule()
public static RequestResponse<FileRulesModel> getRule(int statusCode)
statusCode
- public static RequestResponse<IngestContractModel> getIngestContracts()
public static RequestResponse<AccessContractModel> getAccessContracts()
public static RequestResponse<ManagementContractModel> getManagementContracts()
public static RequestResponse<AgenciesModel> getAgencies()
public static RequestResponse<AgenciesModel> getAgencies(int statusCode)
statusCode
- public static RequestResponse<ContextModel> getContexts(int statusCode)
public static RequestResponse<ProfileModel> getProfiles(int statusCode)
public static RequestResponse<OntologyModel> getOntologies(int statusCode)
statusCode
- public static RequestResponse<FileFormatModel> getFormatList()
InvalidParseOperationException
public static RequestResponse<FileRulesModel> getRuleList()
public static RequestResponse getEmptyResult()
InvalidParseOperationException
public static RequestResponse getArchiveUnitResult() throws InvalidParseOperationException
InvalidParseOperationException
public static RequestResponse<com.fasterxml.jackson.databind.JsonNode> getArchiveUnitSimpleResult(com.fasterxml.jackson.databind.JsonNode query)
public static RequestResponse<com.fasterxml.jackson.databind.JsonNode> getGotSimpleResult(com.fasterxml.jackson.databind.JsonNode query)
public static javax.ws.rs.core.Response getObjectStream()
InvalidParseOperationException
public static ItemStatus getItemStatus(String id) throws InvalidParseOperationException
id
- InvalidParseOperationException
public static RequestResponse checkOperationTraceability() throws InvalidParseOperationException
InvalidParseOperationException
public static RequestResponse getSecurityProfiles() throws VitamClientException
VitamClientException
public static RequestResponse getSecurityProfiles(int statusCode) throws VitamClientException
statusCode
- VitamClientException
public static RequestResponse<com.fasterxml.jackson.databind.JsonNode> getDIPSimpleResult(com.fasterxml.jackson.databind.JsonNode dslRequest)
public static RequestResponse<ProfileModel> getEvidenceAudit(int statusCode)
public static RequestResponse<ProfileModel> getProbativeValue(int statusCode)
public static RequestResponse<ArchiveUnitProfileModel> getArchiveUnitProfiles(int statusCode)
statusCode
- Copyright © 2019 Vitam. All rights reserved.