|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BasketBulkCreator
Method Summary | |
---|---|
void |
commit()
Commit all requested changes. |
void |
createAnnotation(java.lang.String annnotationOid,
java.lang.String objectName)
Create a new annotation into this basket. |
void |
createDocumentAlternativeItem(java.lang.String alternativeOid,
java.lang.String collectionId,
java.lang.String objectOid)
Create a new document alternative into this basket. |
void |
createDocumentAlternativeItem(java.lang.String alternativeOid,
java.lang.String collectionId,
java.lang.String objectOid,
java.lang.String itemName)
Create a new document alternative into this basket. |
void |
createDocumentItem(java.lang.String oid,
java.lang.String collectionId)
Create a new document into this basket. |
void |
createDocumentItem(java.lang.String oid,
java.lang.String itemName,
java.lang.String collectionId)
Create a new document into this basket. |
void |
createDocumentPartItem(java.lang.String partOid,
java.lang.String collectionId,
java.lang.String objectOid)
Create a new document part into this basket. |
void |
createDocumentPartItem(java.lang.String partOid,
java.lang.String collectionId,
java.lang.String objectOid,
java.lang.String itemName)
Create a new document part into this basket. |
void |
createExternalUrl(java.lang.String url)
Create an external url. |
void |
createMetadata(java.lang.String metadataOid,
java.lang.String itemName)
Create a new metadata into this basket. |
void |
createQuery(java.lang.String name,
java.lang.String query,
QueryType queryType)
Create a new query. |
Basket |
getDestinationBasket()
Return the destination basket where all items will be created. |
java.lang.String |
getId()
Return this BasketBulkCreator id. |
int |
getNumberOfRequests()
Return the number of requests processed by this BasketBulkCreator. |
Method Detail |
---|
java.lang.String getId()
void createMetadata(java.lang.String metadataOid, java.lang.String itemName) throws InsufficientPrivilegesException, InternalErrorException, ItemAlreadyExistException
metadataOid
- the metadata oid.itemName
- the basket item name.
InsufficientPrivilegesException
- if the user don't have sufficient privileges to perform this operation.
InternalErrorException
- if an internal error occurs.
ItemAlreadyExistException
- if an item with the specified name already exists.void createAnnotation(java.lang.String annnotationOid, java.lang.String objectName) throws InsufficientPrivilegesException, InternalErrorException, ItemAlreadyExistException
annnotationOid
- the annotation oid.objectName
- the annotation refered object name.
InsufficientPrivilegesException
- if the user don't have sufficient privileges to perform this operation.
InternalErrorException
- if an internal error occurs.
ItemAlreadyExistException
- if an item with the specified name already exists.void createDocumentPartItem(java.lang.String partOid, java.lang.String collectionId, java.lang.String objectOid, java.lang.String itemName) throws InsufficientPrivilegesException, InternalErrorException, ItemAlreadyExistException
partOid
- the document part oid.collectionId
- the main document collection id.objectOid
- the main document object oid.itemName
- the main document name.
InsufficientPrivilegesException
- if the user don't have sufficient privileges to perform this operation.
InternalErrorException
- if an internal error occurs.
ItemAlreadyExistException
- if an item with the specified name already exists.void createDocumentPartItem(java.lang.String partOid, java.lang.String collectionId, java.lang.String objectOid) throws InsufficientPrivilegesException, InternalErrorException, ItemAlreadyExistException
partOid
- the document part oid.collectionId
- the main document collection id.objectOid
- the main document object oid.
InsufficientPrivilegesException
- if the user don't have sufficient privileges to perform this operation.
InternalErrorException
- if an internal error occurs.
ItemAlreadyExistException
- if an item with the specified name already exists.void createDocumentAlternativeItem(java.lang.String alternativeOid, java.lang.String collectionId, java.lang.String objectOid, java.lang.String itemName) throws InsufficientPrivilegesException, InternalErrorException, ItemAlreadyExistException
alternativeOid
- the document alternative oid.collectionId
- the main document collection id.objectOid
- the main document object oid.itemName
- the basket item name.
InsufficientPrivilegesException
- if the user don't have sufficient privileges to perform this operation.
InternalErrorException
- if an internal error occurs.
ItemAlreadyExistException
- if an item with the specified name already exists.void createDocumentAlternativeItem(java.lang.String alternativeOid, java.lang.String collectionId, java.lang.String objectOid) throws InsufficientPrivilegesException, InternalErrorException, ItemAlreadyExistException
alternativeOid
- the document alternative oid.collectionId
- the main document collection id.objectOid
- the main document object oid.
InsufficientPrivilegesException
- if the user don't have sufficient privileges to perform this operation.
InternalErrorException
- if an internal error occurs.
ItemAlreadyExistException
- if an item with the specified name already exists.void createDocumentItem(java.lang.String oid, java.lang.String itemName, java.lang.String collectionId) throws InsufficientPrivilegesException, InternalErrorException, ItemAlreadyExistException
oid
- the document oid.itemName
- the basket item name.collectionId
- the document collection id.
InsufficientPrivilegesException
- if the user don't have sufficient privileges to perform this operation.
InternalErrorException
- if an internal error occurs.
ItemAlreadyExistException
- if an item with the specified name already exists.void createDocumentItem(java.lang.String oid, java.lang.String collectionId) throws InsufficientPrivilegesException, InternalErrorException, ItemAlreadyExistException
oid
- the document oid.collectionId
- the document collection id.
InsufficientPrivilegesException
- if the user don't have sufficient privileges to perform this operation.
InternalErrorException
- if an internal error occurs.
ItemAlreadyExistException
- if an item with the specified name already exists.void createExternalUrl(java.lang.String url)
url
- the url.void createQuery(java.lang.String name, java.lang.String query, QueryType queryType)
name
- the item name.query
- the query.queryType
- the query type.void commit() throws InternalErrorException
InternalErrorException
- if an internal error occurs.Basket getDestinationBasket()
int getNumberOfRequests()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |