Examples of UpdateCollaborationRequest


Examples of com.box.boxjavalibv2.requests.UpdateCollaborationRequest

     *            status is 'pending'
     * @return updated BoxCollaboration
     */
    public BoxCollaboration updateCollaboration(final String collabId, BoxCollabRequestObject requestObject) throws BoxRestException,
        AuthFatalFailureException, BoxServerException {
        UpdateCollaborationRequest request = new UpdateCollaborationRequest(getConfig(), getObjectMapper(), collabId, requestObject);
        return (BoxCollaboration) super.getResponseAndParseAndTryCast(request, BoxResourceType.COLLABORATION, getObjectMapper());
    }
View Full Code Here

Examples of com.box.boxjavalibv2.requests.UpdateCollaborationRequest

    }

    @Override
    public BoxCollaboration updateCollaboration(final String collabId, final BoxCollabRequestObject requestObject) throws BoxRestException,
        AuthFatalFailureException, BoxServerException {
        UpdateCollaborationRequest request = new UpdateCollaborationRequest(getConfig(), getJSONParser(), collabId, requestObject);
        if (request.getExpectedResponseCode() == HttpStatus.SC_NO_CONTENT) {
            executeRequestWithNoResponseBody(request);
            return null;
        }
        return (BoxCollaboration) super.getResponseAndParseAndTryCast(request, BoxResourceType.COLLABORATION, getJSONParser());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.