public class BoxPluginServiceCallbacks
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
com.box.sdk.BoxAPIConnection |
getBoxConnection(java.lang.String repositoryId)
Returns a BoxAPIConnection for the given repository.
|
com.box.sdk.BoxFile |
getBoxDocument(java.lang.String repositoryId,
java.lang.String documentId,
boolean verify)
Retrieves a Box document.
|
public com.box.sdk.BoxAPIConnection getBoxConnection(java.lang.String repositoryId)
repositoryId - The repository identifier, as defined in IBM Content Navigator.com.box.sdk.BoxAPIConnection object that provides a connection to the Box repository. If
the server is not found, this method returns null.public com.box.sdk.BoxFile getBoxDocument(java.lang.String repositoryId,
java.lang.String documentId,
boolean verify)
repositoryId - The repository identifier, as defined in IBM Content Navigator.documentId - The document ID.verify - A flag indicating whether or not the document existence should be confirmed when making this call. If
false, the returned object is a placeholder representing the specified documentId, and may not
necessarily represent an existing accessible document.