public interface IBoxWebLinksManager extends IBoxResourceManager
| Modifier and Type | Method and Description |
|---|---|
BoxWebLink |
copyWebLink(java.lang.String webLinkId,
BoxItemCopyRequestObject requestObject)
Copy a web link.
|
BoxWebLink |
createSharedLink(java.lang.String webLinkId,
BoxSharedLinkRequestObject requestObject)
Create a shared link for a web link, given the id of the web link.
|
void |
deleteWebLink(java.lang.String webLinkId,
BoxDefaultRequestObject requestObject)
Delete a web link.
|
BoxWebLink |
getWebLink(java.lang.String webLinkId,
BoxDefaultRequestObject requestObject)
Get web link given a web link id.
|
BoxWebLink |
updateWebLinkInfo(java.lang.String webLinkId,
BoxWebLinkRequestObject requestObject)
Update info for a web link.
|
BoxWebLink getWebLink(java.lang.String webLinkId, BoxDefaultRequestObject requestObject) throws BoxRestException, BoxServerException, AuthFatalFailureException
webLinkId - id of the web linkrequestObject - object that goes into request.BoxRestException - See BoxRestException for more info.BoxServerException - See BoxServerException for more info.AuthFatalFailureException - See AuthFatalFailureException for more info.void deleteWebLink(java.lang.String webLinkId,
BoxDefaultRequestObject requestObject)
throws BoxRestException,
BoxServerException,
AuthFatalFailureException
webLinkId - id of the web linkrequestObject - object that goes into request.BoxRestException - See BoxRestException for more info.BoxServerException - See BoxServerException for more info.AuthFatalFailureException - See AuthFatalFailureException for more info.BoxWebLink copyWebLink(java.lang.String webLinkId, BoxItemCopyRequestObject requestObject) throws BoxRestException, BoxServerException, AuthFatalFailureException
webLinkId - id of the web linkrequestObject - request objectBoxRestException - See BoxRestException for more info.BoxServerException - See BoxServerException for more info.AuthFatalFailureException - See AuthFatalFailureException for more info.BoxWebLink updateWebLinkInfo(java.lang.String webLinkId, BoxWebLinkRequestObject requestObject) throws java.io.UnsupportedEncodingException, BoxRestException, BoxServerException, AuthFatalFailureException
webLinkId - id of the web linkrequestObject - request objectjava.io.UnsupportedEncodingException - exceptionBoxRestException - See BoxRestException for more info.BoxServerException - See BoxServerException for more info.AuthFatalFailureException - See AuthFatalFailureException for more info.BoxWebLink createSharedLink(java.lang.String webLinkId, BoxSharedLinkRequestObject requestObject) throws BoxRestException, BoxServerException, AuthFatalFailureException
webLinkId - id of the web linkrequestObject - request objectBoxRestException - See BoxRestException for more info.BoxServerException - See BoxServerException for more info.AuthFatalFailureException - See AuthFatalFailureException for more info.