Examples of GetTrashItemRequest


Examples of com.box.boxjavalibv2.requests.GetTrashItemRequest

     * @throws BoxServerException
     *             exception
     */
    public BoxItem getTrashItem(final String itemId, final BoxResourceType type, final BoxDefaultRequestObject requestObject) throws BoxRestException,
        AuthFatalFailureException, BoxServerException {
        GetTrashItemRequest request = new GetTrashItemRequest(getConfig(), getObjectMapper(), itemId, type, requestObject);
        Object result = getResponseAndParse(request, type, getObjectMapper());
        return (BoxItem) tryCastBoxItem(type, result);
    }
View Full Code Here

Examples of com.box.boxjavalibv2.requests.GetTrashItemRequest

        return (BoxFolder) restoreTrashItem(id, BoxResourceType.FOLDER, requestObject);
    }

    private BoxItem getTrashItem(final String itemId, final BoxResourceType type, final BoxDefaultRequestObject requestObject) throws BoxRestException,
        AuthFatalFailureException, BoxServerException {
        GetTrashItemRequest request = new GetTrashItemRequest(getConfig(), getJSONParser(), itemId, type, requestObject);
        Object result = getResponseAndParse(request, type, getJSONParser());
        return (BoxItem) tryCastBoxItem(type, result);
    }
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.