public interface FolderBulkCreator
| Modifier and Type | Method and Description |
|---|---|
void |
commit()
Commit all requested changes.
|
void |
createAnnotation(URI uri)
Create a new annotation into this folder.
|
void |
createDocumentAlternativeItem(URI uri)
Create a new document alternative into this folder.
|
void |
createDocumentItem(URI uri)
Create a new document into this folder.
|
void |
createDocumentPartItem(URI uri)
Create a new document part into this folder.
|
void |
createExternalUrl(String url)
Create an external url.
|
void |
createMetadata(URI uri)
Create a new metadata into this folder.
|
void |
createQuery(String name,
String query,
QueryType queryType)
Create a new query.
|
WorkspaceFolder |
getDestinationFolder()
Return the destination folder where all items will be created.
|
int |
getFailures() |
String |
getId()
Return this FolderBulkCreator id.
|
int |
getNumberOfRequests()
Return the number of requests processed by this FolderBulkCreator.
|
float |
getStatus() |
void |
remove() |
String getId()
void createMetadata(URI uri) throws InsufficientPrivilegesException, InternalErrorException
uri - the metadata uri.InsufficientPrivilegesException - if the user don't have sufficient privileges to perform this operation.InternalErrorException - if an internal error occurs.void createAnnotation(URI uri) throws InsufficientPrivilegesException, InternalErrorException
uri - the annotation uri.InsufficientPrivilegesException - if the user don't have sufficient privileges to perform this operation.InternalErrorException - if an internal error occurs.void createDocumentPartItem(URI uri) throws InsufficientPrivilegesException, InternalErrorException
uri - the part uri.InsufficientPrivilegesException - if the user don't have sufficient privileges to perform this operation.InternalErrorException - if an internal error occurs.void createDocumentAlternativeItem(URI uri) throws InsufficientPrivilegesException, InternalErrorException
uri - the alternative uri.InsufficientPrivilegesException - if the user don't have sufficient privileges to perform this operation.InternalErrorException - if an internal error occurs.void createDocumentItem(URI uri) throws InsufficientPrivilegesException, InternalErrorException
uri - the document uri.InsufficientPrivilegesException - if the user don't have sufficient privileges to perform this operation.InternalErrorException - if an internal error occurs.void createExternalUrl(String url) throws InternalErrorException
url - the url.InternalErrorExceptionvoid createQuery(String name, String query, QueryType queryType) throws InternalErrorException
name - the item name.query - the query.queryType - the query type.InternalErrorExceptionvoid commit()
throws InternalErrorException
InternalErrorException - if an internal error occurs.WorkspaceFolder getDestinationFolder()
int getNumberOfRequests()
throws InternalErrorException
InternalErrorExceptionfloat getStatus()
throws InternalErrorException
InternalErrorExceptionvoid remove()
throws InternalErrorException
InternalErrorExceptionint getFailures()
throws InternalErrorException
InternalErrorExceptionCopyright © 2020. All Rights Reserved.