@MTOM(threshold=4096) public interface CometWhiteboard
Nested Class Summary | |
---|---|
static class |
CometWhiteboard.DocumentInfo
|
static class |
CometWhiteboard.DocumentStatus
|
static class |
CometWhiteboard.DocumentType
|
static class |
CometWhiteboard.RecordID
|
static class |
CometWhiteboard.Renderer
|
static class |
CometWhiteboard.ReorganizeLevel
|
static class |
CometWhiteboard.SessionInfo
|
Method Summary | |
---|---|
javax.activation.DataHandler |
adapterCreateDocument(java.lang.String sessionID,
java.lang.String documentID,
java.lang.String options)
Adapt and download a document. |
java.lang.String |
adapterCreateDocumentOnServer(java.lang.String sessionID,
java.lang.String documentID,
java.lang.String options,
java.lang.String newDocumentID)
Adapt a document and create an InDesign® document on the Server. |
javax.activation.DataHandler |
adapterCreatePDF(java.lang.String sessionID,
java.lang.String documentID,
java.lang.String options,
java.lang.String pdfProfile)
Adapt a document to the size and specification given in options and generate a PDF. |
javax.activation.DataHandler |
adapterCreatePreview(java.lang.String sessionID,
java.lang.String documentID,
java.lang.String options,
double resolution)
Adapt a document to the size and specification given in options and generate a preview. |
boolean |
cometGroupAddToGroup(java.lang.String sessionID,
java.lang.String documentID,
int groupID,
int[] elementIDs,
boolean asSubGroup,
java.lang.String options)
Add elements to a comet group. |
void |
cometGroupDeleteGroup(java.lang.String sessionID,
java.lang.String documentID,
int groupID,
CometWhiteboard.ReorganizeLevel reorganize,
java.lang.String options)
Delete a comet group. |
javax.activation.DataHandler |
cometGroupGetElements(java.lang.String sessionID,
java.lang.String documentID,
int groupID,
java.lang.String options)
Get all elements of a comet group. |
javax.activation.DataHandler |
cometGroupGetNotes(java.lang.String sessionID,
java.lang.String documentID,
int groupID,
java.lang.String options)
Get all notes of a comet group. |
javax.activation.DataHandler |
cometGroupGetPlaceholders(java.lang.String sessionID,
java.lang.String documentID,
int groupID,
boolean evaluateSyncState,
java.lang.String options)
Get the placeholders of a comet group. |
javax.activation.DataHandler[] |
cometGroupGetPreviews(java.lang.String sessionID,
java.lang.String documentID,
int groupID,
double resolution,
java.lang.String options)
Get a comet group previews. |
int |
cometGroupInsertAfter(java.lang.String sessionID,
java.lang.String documentID,
int groupID,
CometWhiteboard.RecordID recordID,
int templateID,
CometWhiteboard.ReorganizeLevel reorganize,
java.lang.String options)
Insert a new comet group (i.e. link a product with a template) after an existing group. |
int |
cometGroupInsertBefore(java.lang.String sessionID,
java.lang.String documentID,
int groupID,
CometWhiteboard.RecordID recordID,
int templateID,
CometWhiteboard.ReorganizeLevel reorganize,
java.lang.String options)
Insert a new comet group (i.e. link a product with a template) before an existing group. |
int |
cometGroupJoinGroups(java.lang.String sessionID,
java.lang.String documentID,
int[] groupIDs,
boolean asSubGroups,
java.lang.String options)
Join comet groups. |
void |
cometGroupLoadPlaceholders(java.lang.String sessionID,
java.lang.String documentID,
int groupID,
int[] placeholderIDs,
CometWhiteboard.RecordID recordID)
Load all placeholders linked with Record recordID found on group groupID. |
boolean |
cometGroupRemoveFromGroup(java.lang.String sessionID,
java.lang.String documentID,
int groupID,
int[] elementIDs,
java.lang.String options)
Remove elements from a comet group. |
int |
cometGroupReplaceGroup(java.lang.String sessionID,
java.lang.String documentID,
int groupID,
CometWhiteboard.RecordID recordID,
int templateID,
CometWhiteboard.ReorganizeLevel reorganize,
java.lang.String options)
Replace an existing comet group by a new one. |
boolean |
cometGroupResolveGroup(java.lang.String sessionID,
java.lang.String documentID,
int groupID,
boolean resolveSubGroups,
java.lang.String options)
Resolve a comet group. |
boolean |
cometGroupSetNotes(java.lang.String sessionID,
java.lang.String documentID,
int groupID,
javax.activation.DataHandler notes)
Set (i.e. replace the formerly) notes of a comet group. |
void |
cometGroupSetPlaceholderImage(java.lang.String sessionID,
java.lang.String documentID,
int groupID,
int placeholderID,
CometWhiteboard.RecordID recordID,
javax.activation.DataHandler data,
boolean executeSaveMethod)
Apply image to all placeholders linked with Record recordID found on group groupID overriding the default load method. |
void |
cometGroupSetPlaceholderImagePath(java.lang.String sessionID,
java.lang.String documentID,
int groupID,
int placeholderID,
CometWhiteboard.RecordID recordID,
java.lang.String path,
boolean executeSaveMethod)
Apply image path to all placeholders linked with Record recordID found on group groupID overriding the default load method. |
void |
cometGroupSetPlaceholderValue(java.lang.String sessionID,
java.lang.String documentID,
int groupID,
int placeholderID,
CometWhiteboard.RecordID recordID,
java.lang.String value,
boolean executeSaveMethod)
Apply value to all placeholders linked with Record recordID found on group groupID overriding the default load method. |
void |
cometGroupSyncPlaceholders(java.lang.String sessionID,
java.lang.String documentID,
int groupID,
int[] placeholderIDs,
CometWhiteboard.RecordID recordID)
Sync all placeholders linked with Record recordID found on group groupID. |
boolean |
cometGroupUpdatePlaceholders(java.lang.String sessionID,
java.lang.String documentID,
int groupID)
Update the placeholder definitions of all placeholders found in a comet group. |
CometWhiteboard.SessionInfo |
connectionGetNewChildSession(java.lang.String sessionID)
Get Child Session of Current Session. |
CometWhiteboard.SessionInfo |
connectionLogin(java.lang.String user,
java.lang.String password,
java.lang.String datasetName)
Login to comet server. |
void |
connectionLogout(java.lang.String sessionID)
Logout from comet server. |
boolean |
connectionSetUserProperty(java.lang.String sessionID,
java.lang.String key,
java.lang.String value)
Set a user property. |
java.lang.String |
copyMasterdocument(java.lang.String sessionID,
java.lang.String masterdocName,
java.lang.String newDocumentID)
Copy a masterdocument. |
javax.activation.DataHandler |
createPDF(java.lang.String sessionID,
java.lang.String masterdocName,
javax.activation.DataHandler itemsXML,
CometWhiteboard.Renderer renderer,
java.lang.String pdfProfile,
java.lang.String options)
Place products in a document (either blank or copied from a masterdocument) and return a PDF |
javax.activation.DataHandler |
createProductPDF(java.lang.String sessionID,
java.lang.String masterdocName,
CometWhiteboard.RecordID recordID,
int templateID,
java.lang.String pdfProfile,
java.lang.String options)
Link a product with a template and create a PDF |
javax.activation.DataHandler |
createProductPreview(java.lang.String sessionID,
java.lang.String masterdocName,
CometWhiteboard.RecordID recordID,
int templateID,
double resolution,
java.lang.String options)
Link a template with a product and create a preview. |
boolean |
documentClose(java.lang.String sessionID,
java.lang.String documentID)
Close a document. |
boolean |
documentCloseImmediately(java.lang.String sessionID,
java.lang.String documentID)
Close a document immediately if the server policies allow to do so. |
java.lang.String |
documentCreate(java.lang.String sessionID,
java.lang.String newDocumentID,
java.lang.String setupParams)
Create a document. |
java.lang.String |
documentCreateAs(java.lang.String sessionID,
java.lang.String newDocumentID,
java.lang.String filename,
java.lang.String setupParams)
Create a document and preserve the filename. |
boolean |
documentDelete(java.lang.String sessionID,
java.lang.String documentID)
Delete a document. |
javax.activation.DataHandler |
documentDownload(java.lang.String sessionID,
java.lang.String documentID)
Download a document. |
java.lang.String |
documentDuplicate(java.lang.String sessionID,
java.lang.String documentID,
java.lang.String newDocumentID)
Duplicate a document. |
java.lang.String |
documentExecCScript(java.lang.String sessionID,
java.lang.String documentID,
int scriptID,
java.lang.String arguments)
Execute a predefined cscript on a document. |
boolean |
documentExists(java.lang.String sessionID,
java.lang.String documentID)
Check whether a document exists. |
boolean |
documentForceClose(java.lang.String sessionID,
java.lang.String documentID)
Close a document regardless of the configuration and current state in other sessions. |
javax.activation.DataHandler |
documentGeneratePDF(java.lang.String sessionID,
java.lang.String documentID,
java.lang.String pdfProfileName,
java.lang.String options)
Create a pdf of all pages / spreads of a document. |
javax.activation.DataHandler |
documentGetCometGroups(java.lang.String sessionID,
java.lang.String documentID,
java.lang.String options)
Get all comet groups of a document. |
javax.activation.DataHandler |
documentGetElements(java.lang.String sessionID,
java.lang.String documentID,
java.lang.String options)
Get all elements of a document. |
CometWhiteboard.DocumentInfo |
documentGetInfo(java.lang.String sessionID,
java.lang.String documentID)
Get information about a document, such as type, status and filename. |
javax.activation.DataHandler |
documentGetItems(java.lang.String sessionID,
java.lang.String documentID,
java.lang.String options)
Get items (i.e. |
java.util.List<java.lang.String> |
documentGetLayers(java.lang.String sessionID,
java.lang.String documentID)
Get all document layers. |
java.util.List<CometWhiteboard.DocumentInfo> |
documentGetList(java.lang.String sessionID)
Get a list of all documents available in the current session. |
javax.activation.DataHandler |
documentGetNotes(java.lang.String sessionID,
java.lang.String documentID,
java.lang.String options)
Get all notes of a document. |
int |
documentGetPageCount(java.lang.String sessionID,
java.lang.String documentID)
Get the number of pages of a document |
javax.activation.DataHandler |
documentGetPackage(java.lang.String sessionID,
java.lang.String documentID,
java.lang.String options)
Get a zipped package of the document. |
javax.activation.DataHandler |
documentGetPlaceholders(java.lang.String sessionID,
java.lang.String documentID,
boolean evaluateSyncState,
java.lang.String options)
Get all placeholders of a document. |
java.util.List<CometWhiteboard.DocumentInfo> |
documentGetSessionDocs(java.lang.String sessionID)
Get all documents opened in the current session |
int |
documentGetSpreadCount(java.lang.String sessionID,
java.lang.String documentID)
Get the number of spreads of a document |
javax.activation.DataHandler |
documentGetSpreads(java.lang.String sessionID,
java.lang.String documentID,
java.lang.String options)
Get spread information a document. |
java.util.List<java.lang.String> |
documentGetVisibleLayers(java.lang.String sessionID,
java.lang.String documentID)
Get all document layers visible in the current session. |
boolean |
documentHideAllLayers(java.lang.String sessionID,
java.lang.String documentID)
Hide all layers for the current session / document. |
boolean |
documentHideLayers(java.lang.String sessionID,
java.lang.String documentID,
java.util.List<java.lang.String> layers)
Hide the given layers for the current session / document. |
boolean |
documentIsRegistered(java.lang.String sessionID,
java.lang.String documentID)
Check if a document is registered on ComeServer. |
void |
documentLoadPlaceholders(java.lang.String sessionID,
java.lang.String documentID,
int[] placeholderIDs,
CometWhiteboard.RecordID recordID)
Load all placeholders linked with Record recordID found in the document. |
javax.activation.DataHandler |
documentMatchItems(java.lang.String sessionID,
java.lang.String documentID,
javax.activation.DataHandler items,
java.lang.String options)
Compare a list of items (i.e. |
java.lang.String |
documentMoveFile(java.lang.String sessionID,
java.lang.String documentID,
java.lang.String newDocumentID)
This will turn a document into something else - provided the newDocumentID has been registered or is known in a publication system. |
java.lang.String |
documentMoveTmpFile(java.lang.String sessionID,
java.lang.String tmpDocumentID,
java.lang.String newDocumentID)
This will move a tmp file into something else. |
boolean |
documentOpen(java.lang.String sessionID,
java.lang.String documentID)
Open a document on the server. |
java.lang.String |
documentRegister(java.lang.String sessionID,
java.lang.String newDocumentID,
java.lang.String path)
This will register an arbitrary file on comet server. |
boolean |
documentReorganize(java.lang.String sessionID,
java.lang.String documentID,
int pageIndex,
CometWhiteboard.ReorganizeLevel reorganize)
Reorganize a document starting at page pageIndex. |
boolean |
documentSave(java.lang.String sessionID,
java.lang.String documentID)
Save a document. |
java.lang.String |
documentSaveAs(java.lang.String sessionID,
java.lang.String documentID,
java.lang.String newDocumentID)
Just like documentDuplicate except that the new document
will be opened right afterward the operation. |
boolean |
documentSetActiveLayer(java.lang.String sessionID,
java.lang.String documentID,
java.lang.String layerName)
Set the active layer for the current session / document. |
boolean |
documentSetItems(java.lang.String sessionID,
java.lang.String documentID,
javax.activation.DataHandler data,
java.lang.String options)
Replace the items currently placed in this document |
void |
documentSetNotes(java.lang.String sessionID,
java.lang.String documentID,
javax.activation.DataHandler notes)
Set (i.e. replace the formerly) notes of a document. |
void |
documentSetPlaceholderImage(java.lang.String sessionID,
java.lang.String documentID,
int placeholderID,
CometWhiteboard.RecordID recordID,
javax.activation.DataHandler data,
boolean executeSaveMethod)
Apply image to all placeholders linked with Record recordID found in the document overriding the default load method. |
void |
documentSetPlaceholderImagePath(java.lang.String sessionID,
java.lang.String documentID,
int placeholderID,
CometWhiteboard.RecordID recordID,
java.lang.String path,
boolean executeSaveMethod)
Apply image path to all placeholders linked with Record recordID found in the document overriding the default load method. |
void |
documentSetPlaceholderValue(java.lang.String sessionID,
java.lang.String documentID,
int placeholderID,
CometWhiteboard.RecordID recordID,
java.lang.String value,
boolean executeSaveMethod)
Apply value to all placeholders linked with Record recordID found in the document overriding the default load method. |
boolean |
documentSetup(java.lang.String sessionID,
java.lang.String documentID,
java.lang.String setupParams,
boolean applyAdaption)
Setup a document, i.e.: change page size, margins, bleed and slug with or without page adaption. |
boolean |
documentShowAllLayers(java.lang.String sessionID,
java.lang.String documentID)
Show all layers for the current session / document. |
boolean |
documentShowDefaultLayers(java.lang.String sessionID,
java.lang.String documentID)
Show the default layers within the current session. |
boolean |
documentShowLayers(java.lang.String sessionID,
java.lang.String documentID,
java.util.List<java.lang.String> layers)
Show the given layers for the current session / document. |
void |
documentSyncPlaceholders(java.lang.String sessionID,
java.lang.String documentID,
int[] placeholderIDs,
CometWhiteboard.RecordID recordID)
Sync all placeholders linked with Record recordID found in the document. |
java.lang.String |
documentTmpCopy(java.lang.String sessionID,
java.lang.String documentID)
Create a temporary copy of a document. |
boolean |
documentUnregister(java.lang.String sessionID,
java.lang.String documentID)
Unregister a document. |
boolean |
documentUpdatePlaceholders(java.lang.String sessionID,
java.lang.String documentID)
Update placeholder definitions in a document. |
java.lang.String |
documentUpload(java.lang.String sessionID,
java.lang.String newDocumentID,
javax.activation.DataHandler data)
This will upload data to the server. |
java.lang.String |
documentUploadAs(java.lang.String sessionID,
java.lang.String newDocumentID,
javax.activation.DataHandler data,
java.lang.String filename)
Like documentUpload , the filename is preserved for later downloads. |
boolean |
elementDelete(java.lang.String sessionID,
java.lang.String documentID,
int elementID)
Delete an element. |
boolean |
elementDeleteParagraph(java.lang.String sessionID,
java.lang.String documentID,
int elementID,
int paragraph)
Delete a text paragraph. |
javax.activation.DataHandler |
elementGetPlaceholders(java.lang.String sessionID,
java.lang.String documentID,
int elementID,
boolean evaluateSyncState,
java.lang.String options)
Get the placeholders of a page. |
javax.activation.DataHandler |
elementGetPreview(java.lang.String sessionID,
java.lang.String documentID,
int elementID,
double resolution,
java.lang.String options)
Get the preview of an element. |
boolean |
elementInsertParagraphAfter(java.lang.String sessionID,
java.lang.String documentID,
int elementID,
int paragraph,
java.lang.String value,
java.lang.String options)
Insert a text paragraph after an existing paragraph. |
boolean |
elementInsertParagraphBefore(java.lang.String sessionID,
java.lang.String documentID,
int elementID,
int paragraph,
java.lang.String value,
java.lang.String options)
Insert a text paragraph before an existing paragraph. |
void |
elementLoadPlaceholders(java.lang.String sessionID,
java.lang.String documentID,
int elementID,
int[] placeholderIDs,
CometWhiteboard.RecordID recordID)
Load all placeholders linked with Record recordID found in an element |
boolean |
elementMoveBy(java.lang.String sessionID,
java.lang.String documentID,
int elementID,
double offsetX,
double offsetY)
Move an element by offsetX / offsetY dpi within a spread |
boolean |
elementSetCellValue(java.lang.String sessionID,
java.lang.String documentID,
int tableID,
int column,
int row,
java.lang.String value,
java.lang.String options)
Set the value of a table cell. |
boolean |
elementSetImage(java.lang.String sessionID,
java.lang.String documentID,
int elementID,
javax.activation.DataHandler data)
Set an element image. |
boolean |
elementSetImagePath(java.lang.String sessionID,
java.lang.String documentID,
int elementID,
java.lang.String path)
Set an elements image path. |
boolean |
elementSetValue(java.lang.String sessionID,
java.lang.String documentID,
int elementID,
int paragraph,
java.lang.String value,
java.lang.String options)
Set an element value. |
void |
elementSetVisible(java.lang.String sessionID,
java.lang.String documentID,
int[] elementIDs,
boolean visibleState,
java.lang.String options)
|
void |
elementSyncPlaceholders(java.lang.String sessionID,
java.lang.String documentID,
int elementID,
int[] placeholderIDs,
CometWhiteboard.RecordID recordID)
Sync all placeholders linked with Record recordID found in an element. |
boolean |
elementTransform(java.lang.String sessionID,
java.lang.String documentID,
int elementID,
java.lang.String options)
Transform an element. |
boolean |
elementUpdatePlaceholders(java.lang.String sessionID,
java.lang.String documentID,
int elementID)
Update the placeholder definitions of all placeholders found in an element. |
java.lang.String |
execTemplate(java.lang.String sessionID,
java.lang.String masterdocName,
CometWhiteboard.RecordID recordID,
int templateID,
java.lang.String setupOptions)
Link a template with a product and save it as a new document. |
java.util.List<java.lang.String> |
getPdfProfiles(java.lang.String sessionID,
java.lang.String documentID,
java.lang.String options)
Get the names of all available PDF profiles. |
boolean |
pageAddPages(java.lang.String sessionID,
java.lang.String documentID,
int behindPage,
int numberOfPages,
java.lang.String masterpageName,
java.lang.String options)
Add pages to a document. |
boolean |
pageApplyGrid(java.lang.String sessionID,
java.lang.String documentID,
int pageIndex,
int gridID,
CometWhiteboard.ReorganizeLevel reorganize)
Apply a grid to a page. |
int |
pageBuild(java.lang.String sessionID,
java.lang.String documentID,
int pageIndex,
javax.activation.DataHandler itemsXML,
java.lang.String options)
Build a list of products starting at pageIndex. |
int |
pageBuildAt(java.lang.String sessionID,
java.lang.String documentID,
int pageIndex,
javax.activation.DataHandler itemsXML,
double absLeft,
double absTop,
java.lang.String options)
Build a list of products starting at pageIndex, position absLeft / absTop. |
boolean |
pageDeletePages(java.lang.String sessionID,
java.lang.String documentID,
int firstPage,
int numberOfPages,
java.lang.String options)
Delete pages in a document. |
javax.activation.DataHandler |
pageGeneratePDF(java.lang.String sessionID,
java.lang.String documentID,
java.lang.String pageList,
java.lang.String pdfProfileName,
java.lang.String options)
Generate a PDF of a single, a list of or all pages of a document. |
javax.activation.DataHandler |
pageGetCometGroups(java.lang.String sessionID,
java.lang.String documentID,
int pageIndex,
java.lang.String options)
Get all comet groups of a page. |
javax.activation.DataHandler |
pageGetElements(java.lang.String sessionID,
java.lang.String documentID,
int pageIndex,
java.lang.String options)
Get all elements of a page. |
javax.activation.DataHandler |
pageGetNotes(java.lang.String sessionID,
java.lang.String documentID,
int pageIndex,
java.lang.String options)
Get all notes of a page. |
javax.activation.DataHandler |
pageGetPlaceholders(java.lang.String sessionID,
java.lang.String documentID,
int pageIndex,
boolean evaluateSyncState,
java.lang.String options)
Get the placeholders of a page. |
javax.activation.DataHandler |
pageGetPreview(java.lang.String sessionID,
java.lang.String documentID,
int pageIndex,
double resolution,
java.lang.String options)
Get a preview of a page. |
javax.activation.DataHandler |
pageGetPreviewOfClipping(java.lang.String sessionID,
java.lang.String documentID,
int pageIndex,
double resolution,
double absLeft,
double absTop,
double width,
double height,
java.lang.String options)
Get the preview of a certain area within a page. |
int |
pageGetTemplateID(java.lang.String sessionID,
java.lang.String documentID,
int pageIndex)
Get the ID of the pagetemplate applied to a page. |
int |
pageImportGroup(java.lang.String sessionID,
java.lang.String documentID,
java.lang.String documentIDFrom,
int pageIndex,
int groupID,
double absLeft,
double absTop)
Import a comet group from a document into another document, page, position absLeft / absTop. |
void |
pageLoadPlaceholders(java.lang.String sessionID,
java.lang.String documentID,
int pageIndex,
int[] placeholderIDs,
CometWhiteboard.RecordID recordID)
Load all placeholders linked with Record recordID found on page pageIndex. |
boolean |
pageMoveCometGroupTo(java.lang.String sessionID,
java.lang.String documentID,
int pageIndex,
int groupID,
double absLeft,
double absTop,
java.lang.String options)
Move a comet group to position absLeft / absTop on a page. |
boolean |
pageMoveElementTo(java.lang.String sessionID,
java.lang.String documentID,
int pageIndex,
int elementID,
double absLeft,
double absTop)
Move an element to position absLeft / absTop on a page. |
boolean |
pageMovePages(java.lang.String sessionID,
java.lang.String documentID,
int behindPage,
int firstPage,
int numPages,
java.lang.String options)
Move pages in a document |
int |
pagePlaceTemplate(java.lang.String sessionID,
java.lang.String documentID,
int pageIndex,
CometWhiteboard.RecordID recordID,
int templateID,
double absLeft,
double absTop,
CometWhiteboard.ReorganizeLevel reorganize,
java.lang.String options)
Place a template at position absLeft / absTop on a page. |
boolean |
pageSetNotes(java.lang.String sessionID,
java.lang.String documentID,
int pageIndex,
javax.activation.DataHandler notes)
Set (i.e. replace the formerly) notes of a page. |
void |
pageSetPlaceholderImage(java.lang.String sessionID,
java.lang.String documentID,
int pageIndex,
int placeholderID,
CometWhiteboard.RecordID recordID,
javax.activation.DataHandler data,
boolean executeSaveMethod)
Apply image to all placeholders linked with Record recordID found on page pageIndex overriding the default load method. |
void |
pageSetPlaceholderImagePath(java.lang.String sessionID,
java.lang.String documentID,
int pageIndex,
int placeholderID,
CometWhiteboard.RecordID recordID,
java.lang.String path,
boolean executeSaveMethod)
Apply image path to all placeholders linked with Record recordID found on page pageIndex overriding the default load method. |
void |
pageSetPlaceholderValue(java.lang.String sessionID,
java.lang.String documentID,
int pageIndex,
int placeholderID,
CometWhiteboard.RecordID recordID,
java.lang.String value,
boolean executeSaveMethod)
Apply value to all placeholders linked with Record recordID found on page pageIndex overriding the default load method. |
boolean |
pageSetTemplateID(java.lang.String sessionID,
java.lang.String documentID,
int pageIndex,
int templateID,
java.lang.String options)
Apply a pagetemplate to a page. |
void |
pageSyncPlaceholders(java.lang.String sessionID,
java.lang.String documentID,
int pageIndex,
int[] placeholderIDs,
CometWhiteboard.RecordID recordID)
Sync all placeholders linked with Record recordID found on page pageIndex. |
boolean |
pageUpdatePlaceholders(java.lang.String sessionID,
java.lang.String documentID,
int pageIndex)
Update the placeholder definitions of all placeholders found on a page. |
boolean |
reloadConfiguration(java.lang.String adminSessionID,
java.lang.String dataset)
Reload configuration. |
boolean |
spreadAddSpreads(java.lang.String sessionID,
java.lang.String documentID,
int behindSpread,
int numberOfSpreads,
java.lang.String masterpageName,
java.lang.String options)
Add spreads to an document. |
boolean |
spreadApplyGrid(java.lang.String sessionID,
java.lang.String documentID,
int spreadIndex,
int gridID,
CometWhiteboard.ReorganizeLevel reorganize)
Apply a grid to a spread. |
int |
spreadBuild(java.lang.String sessionID,
java.lang.String documentID,
int spreadIndex,
javax.activation.DataHandler itemsXML,
java.lang.String options)
Build a list of products starting at spreadIndex. |
int |
spreadBuildAt(java.lang.String sessionID,
java.lang.String documentID,
int spreadIndex,
javax.activation.DataHandler itemsXML,
double absLeft,
double absTop,
java.lang.String options)
Build a list of products starting at spreadIndex, position absLeft / absTop. |
boolean |
spreadDeleteSpreads(java.lang.String sessionID,
java.lang.String documentID,
int firstSpread,
int numberOfSpreads,
java.lang.String options)
Delete spreads in a document. |
javax.activation.DataHandler |
spreadExportCometGroups(java.lang.String sessionID,
java.lang.String documentID,
int spreadIndex,
int[] groupIDs,
java.lang.String options)
Export a list of comet groups to an InDesign® document |
javax.activation.DataHandler |
spreadExportElements(java.lang.String sessionID,
java.lang.String documentID,
int spreadIndex,
int[] elementIDs,
java.lang.String options)
Export a list of elements (frames) to an InDesign® document |
javax.activation.DataHandler |
spreadGeneratePDF(java.lang.String sessionID,
java.lang.String documentID,
java.lang.String spreadList,
java.lang.String pdfProfileName,
java.lang.String options)
Generate a PDF of a single, a list of or all spreads of a document. |
javax.activation.DataHandler |
spreadGetCometGroups(java.lang.String sessionID,
java.lang.String documentID,
int spreadIndex,
java.lang.String options)
Get all comet groups of a spread. |
javax.activation.DataHandler |
spreadGetCometGroupsPreview(java.lang.String sessionID,
java.lang.String documentID,
int spreadIndex,
int[] groupIDs,
double resolution,
java.lang.String options)
Get a preview of several CometGroups |
javax.activation.DataHandler |
spreadGetElements(java.lang.String sessionID,
java.lang.String documentID,
int spreadIndex,
java.lang.String options)
Get all elements of a spread. |
javax.activation.DataHandler |
spreadGetElementsPreview(java.lang.String sessionID,
java.lang.String documentID,
int spreadIndex,
int[] elementIDs,
double resolution,
java.lang.String options)
Get a preview of several elements |
javax.activation.DataHandler |
spreadGetNotes(java.lang.String sessionID,
java.lang.String documentID,
int spreadIndex,
java.lang.String options)
Get all notes of a spread. |
int[] |
spreadGetPages(java.lang.String sessionID,
java.lang.String documentID,
int spreadIndex)
Get the indexes of all pages in a spread. |
javax.activation.DataHandler |
spreadGetPlaceholders(java.lang.String sessionID,
java.lang.String documentID,
int spreadIndex,
boolean evaluateSyncState,
java.lang.String options)
Get the placeholders of a spread. |
javax.activation.DataHandler |
spreadGetPreview(java.lang.String sessionID,
java.lang.String documentID,
int spreadIndex,
double resolution,
java.lang.String options)
Get a preview of a spread. |
javax.activation.DataHandler |
spreadGetPreviewOfClipping(java.lang.String sessionID,
java.lang.String documentID,
int spreadIndex,
double resolution,
double absLeft,
double absTop,
double width,
double height,
java.lang.String options)
Get a preview of a certain area within a spread. |
int |
spreadGetTemplateID(java.lang.String sessionID,
java.lang.String documentID,
int spreadIndex)
Get the ID of the pagetemplate applied to a spread. |
int |
spreadImportGroup(java.lang.String sessionID,
java.lang.String documentID,
java.lang.String documentIDFrom,
int spreadIndex,
int groupID,
double absLeft,
double absTop)
Import a comet group from a document into another document, spread, position absLeft / absTop. |
void |
spreadLoadPlaceholders(java.lang.String sessionID,
java.lang.String documentID,
int spreadIndex,
int[] placeholderIDs,
CometWhiteboard.RecordID recordID)
Load all placeholders linked with Record recordID found on spread spreadIndex. |
boolean |
spreadMoveCometGroupTo(java.lang.String sessionID,
java.lang.String documentID,
int spreadIndex,
int groupID,
double absLeft,
double absTop,
java.lang.String options)
Move a comet group to a certain position within a spread. |
boolean |
spreadMoveElementTo(java.lang.String sessionID,
java.lang.String documentID,
int spreadIndex,
int elementID,
double absLeft,
double absTop)
Move an element to position absLeft / absTop on a spread. |
boolean |
spreadMoveSpreads(java.lang.String sessionID,
java.lang.String documentID,
int behindSpread,
int firstSpread,
int numSpreads,
java.lang.String options)
Move spreads in a document |
int |
spreadPlaceDocument(java.lang.String sessionID,
java.lang.String documentID,
int spreadIndex,
javax.activation.DataHandler data,
double absLeft,
double absTop,
boolean createCometGroup,
java.lang.String options)
Import and place an InDesign® document |
int |
spreadPlaceTemplate(java.lang.String sessionID,
java.lang.String documentID,
int spreadIndex,
CometWhiteboard.RecordID recordID,
int templateID,
double absLeft,
double absTop,
CometWhiteboard.ReorganizeLevel reorganize,
java.lang.String options)
Place a template at position absLeft / absTop on a spread. |
boolean |
spreadSetNotes(java.lang.String sessionID,
java.lang.String documentID,
int spreadIndex,
javax.activation.DataHandler notes)
Set (i.e. replace the formerly) notes of a spread. |
void |
spreadSetPlaceholderImage(java.lang.String sessionID,
java.lang.String documentID,
int spreadIndex,
int placeholderID,
CometWhiteboard.RecordID recordID,
javax.activation.DataHandler data,
boolean executeSaveMethod)
Apply image to all placeholders linked with Record recordID found on spread spreadIndex overriding the default load method. |
void |
spreadSetPlaceholderImagePath(java.lang.String sessionID,
java.lang.String documentID,
int spreadIndex,
int placeholderID,
CometWhiteboard.RecordID recordID,
java.lang.String path,
boolean executeSaveMethod)
Apply image path to all placeholders linked with Record recordID found on spread spreadIndex overriding the default load method. |
void |
spreadSetPlaceholderValue(java.lang.String sessionID,
java.lang.String documentID,
int spreadIndex,
int placeholderID,
CometWhiteboard.RecordID recordID,
java.lang.String value,
boolean executeSaveMethod)
Apply value to all placeholders linked with Record recordID found on spread spreadIndex overriding the default load method. |
boolean |
spreadSetTemplateID(java.lang.String sessionID,
java.lang.String documentID,
int spreadIndex,
int templateID,
java.lang.String options)
Apply a pagetemplate to a spread. |
void |
spreadSyncPlaceholders(java.lang.String sessionID,
java.lang.String documentID,
int spreadIndex,
int[] placeholderIDs,
CometWhiteboard.RecordID recordID)
Sync all placeholders linked with Record recordID found on spread spreadIndex. |
boolean |
spreadUpdatePlaceholders(java.lang.String sessionID,
java.lang.String documentID,
int spreadIndex)
Update the placeholder definitions of all placeholders found on a spread. |
Method Detail |
---|
javax.activation.DataHandler adapterCreateDocument(java.lang.String sessionID, java.lang.String documentID, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDoptions
- command options
com.priint.comet.common.CometException
java.lang.String adapterCreateDocumentOnServer(java.lang.String sessionID, java.lang.String documentID, java.lang.String options, java.lang.String newDocumentID) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document ID,options
- command optionsnewDocumentID
- new document ID. If the ID is null or empty a unique ID will be generated and returned.
com.priint.comet.common.CometException
javax.activation.DataHandler adapterCreatePDF(java.lang.String sessionID, java.lang.String documentID, java.lang.String options, java.lang.String pdfProfile) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDoptions
- command optionspdfProfile
-
com.priint.comet.common.CometException
javax.activation.DataHandler adapterCreatePreview(java.lang.String sessionID, java.lang.String documentID, java.lang.String options, double resolution) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDoptions
- command optionsresolution
- resolution in dpi
com.priint.comet.common.CometException
boolean cometGroupAddToGroup(java.lang.String sessionID, java.lang.String documentID, int groupID, int[] elementIDs, boolean asSubGroup, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDgroupID
- ID of the comet groupelementIDs
- elements to be added to the groupasSubGroup
- add the new elements as a subgroupoptions
- command options
com.priint.comet.common.CometException
void cometGroupDeleteGroup(java.lang.String sessionID, java.lang.String documentID, int groupID, CometWhiteboard.ReorganizeLevel reorganize, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDgroupID
- ID of the comet groupreorganize
- reorganize the document after deleting. Can be one of "NONE", "FULL", "PAGE", "SUBSEQUENT"options
- command options
com.priint.comet.common.CometException
javax.activation.DataHandler cometGroupGetElements(java.lang.String sessionID, java.lang.String documentID, int groupID, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDgroupID
- ID of the comet groupoptions
- command options
com.priint.comet.common.CometException
javax.activation.DataHandler cometGroupGetNotes(java.lang.String sessionID, java.lang.String documentID, int groupID, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDgroupID
- ID of the comet groupoptions
- command options
com.priint.comet.common.CometException
javax.activation.DataHandler cometGroupGetPlaceholders(java.lang.String sessionID, java.lang.String documentID, int groupID, boolean evaluateSyncState, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDgroupID
- ID of the comet groupevaluateSyncState
- evaluate sync state using the sync script assigned to the placeholderoptions
- command options
com.priint.comet.common.CometException
javax.activation.DataHandler[] cometGroupGetPreviews(java.lang.String sessionID, java.lang.String documentID, int groupID, double resolution, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDgroupID
- ID of the comet groupresolution
- resolution in dpi resolution in dpi.options
- command options
com.priint.comet.common.CometException
int cometGroupInsertAfter(java.lang.String sessionID, java.lang.String documentID, int groupID, CometWhiteboard.RecordID recordID, int templateID, CometWhiteboard.ReorganizeLevel reorganize, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDgroupID
- ID of the comet grouprecordID
- ID of the recordtemplateID
- ID of the templatereorganize
- reorganize the document after inserting. Can be one of "NONE", "FULL", "PAGE", "SUBSEQUENT"options
- command options
com.priint.comet.common.CometException
int cometGroupInsertBefore(java.lang.String sessionID, java.lang.String documentID, int groupID, CometWhiteboard.RecordID recordID, int templateID, CometWhiteboard.ReorganizeLevel reorganize, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDgroupID
- ID of the comet grouprecordID
- ID of the recordtemplateID
- ID of the templatereorganize
- reorganize the document after inserting. Can be one of "NONE", "FULL", "PAGE", "SUBSEQUENT"options
- command options
com.priint.comet.common.CometException
int cometGroupJoinGroups(java.lang.String sessionID, java.lang.String documentID, int[] groupIDs, boolean asSubGroups, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDgroupIDs
- IDs of comet groupsasSubGroups
- preserve former group membership and create subgroupsoptions
- command options
com.priint.comet.common.CometException
void cometGroupLoadPlaceholders(java.lang.String sessionID, java.lang.String documentID, int groupID, int[] placeholderIDs, CometWhiteboard.RecordID recordID) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDgroupID
- ID of the groupplaceholderIDs
- recordID
- ID of the record
com.priint.comet.common.CometException
boolean cometGroupRemoveFromGroup(java.lang.String sessionID, java.lang.String documentID, int groupID, int[] elementIDs, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDgroupID
- ID of the comet groupelementIDs
- options
- command options
com.priint.comet.common.CometException
int cometGroupReplaceGroup(java.lang.String sessionID, java.lang.String documentID, int groupID, CometWhiteboard.RecordID recordID, int templateID, CometWhiteboard.ReorganizeLevel reorganize, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDgroupID
- ID of the comet grouprecordID
- ID of the recordtemplateID
- ID of the templatereorganize
- reorganize the document after deleting and inserting. Can be one of "NONE", "FULL", "PAGE", "SUBSEQUENT"options
- command options
com.priint.comet.common.CometException
boolean cometGroupResolveGroup(java.lang.String sessionID, java.lang.String documentID, int groupID, boolean resolveSubGroups, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDgroupID
- ID of the comet groupresolveSubGroups
- recursively resolve subgroupsoptions
- command options
com.priint.comet.common.CometException
boolean cometGroupSetNotes(java.lang.String sessionID, java.lang.String documentID, int groupID, javax.activation.DataHandler notes) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDgroupID
- ID of the comet groupnotes
- a XML document as specified here
com.priint.comet.common.CometException
void cometGroupSetPlaceholderImage(java.lang.String sessionID, java.lang.String documentID, int groupID, int placeholderID, CometWhiteboard.RecordID recordID, javax.activation.DataHandler data, boolean executeSaveMethod) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDgroupID
- ID of the groupplaceholderID
- recordID
- ID of the recorddata
- binary dataexecuteSaveMethod
- save new value to databse or not
com.priint.comet.common.CometException
void cometGroupSetPlaceholderImagePath(java.lang.String sessionID, java.lang.String documentID, int groupID, int placeholderID, CometWhiteboard.RecordID recordID, java.lang.String path, boolean executeSaveMethod) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDgroupID
- ID of the groupplaceholderID
- recordID
- ID of the recordpath
- path of the image on the serverexecuteSaveMethod
-
com.priint.comet.common.CometException
void cometGroupSetPlaceholderValue(java.lang.String sessionID, java.lang.String documentID, int groupID, int placeholderID, CometWhiteboard.RecordID recordID, java.lang.String value, boolean executeSaveMethod) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDgroupID
- ID of the groupplaceholderID
- recordID
- ID of the recordvalue
- the value to be applied new valueexecuteSaveMethod
- write the new value to database or not
com.priint.comet.common.CometException
void cometGroupSyncPlaceholders(java.lang.String sessionID, java.lang.String documentID, int groupID, int[] placeholderIDs, CometWhiteboard.RecordID recordID) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDgroupID
- ID of the groupplaceholderIDs
- recordID
- ID of the record
com.priint.comet.common.CometException
boolean cometGroupUpdatePlaceholders(java.lang.String sessionID, java.lang.String documentID, int groupID) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDgroupID
- ID of the comet group
com.priint.comet.common.CometException
CometWhiteboard.SessionInfo connectionGetNewChildSession(java.lang.String sessionID) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogin
com.priint.comet.common.CometException
CometWhiteboard.SessionInfo connectionLogin(java.lang.String user, java.lang.String password, java.lang.String datasetName) throws com.priint.comet.common.CometException
user
- user name (login)password
- the passworddatasetName
- name of the dataset
com.priint.comet.common.CometException
void connectionLogout(java.lang.String sessionID) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogin
com.priint.comet.common.CometException
boolean connectionSetUserProperty(java.lang.String sessionID, java.lang.String key, java.lang.String value) throws com.priint.comet.common.CometException
<?xml version="1.0"?> <properties sessionid="3049838447"> <property> <key>mail</key> <value>info@priint.net</value> </property> <property> . . . </property> </properties>
sessionID
- session ID obtained from connectionLoginkey
- name of the propertyvalue
- the value to be applied
com.priint.comet.common.CometException
java.lang.String copyMasterdocument(java.lang.String sessionID, java.lang.String masterdocName, java.lang.String newDocumentID) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLoginmasterdocName
- newDocumentID
-
com.priint.comet.common.CometException
javax.activation.DataHandler createPDF(java.lang.String sessionID, java.lang.String masterdocName, javax.activation.DataHandler itemsXML, CometWhiteboard.Renderer renderer, java.lang.String pdfProfile, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLoginmasterdocName
- itemsXML
- renderer
- pdfProfile
- options
-
com.priint.comet.common.CometException
javax.activation.DataHandler createProductPDF(java.lang.String sessionID, java.lang.String masterdocName, CometWhiteboard.RecordID recordID, int templateID, java.lang.String pdfProfile, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLoginmasterdocName
- name of a masterdocument, if empty or null a default blank document will be usedrecordID
- templateID
- pdfProfile
- the UI name of a valid PDF profile. This profile must exists, an UnknownPDFProfileException will be thrown otherwiseoptions
- setup options.
com.priint.comet.common.CometException
javax.activation.DataHandler createProductPreview(java.lang.String sessionID, java.lang.String masterdocName, CometWhiteboard.RecordID recordID, int templateID, double resolution, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLoginmasterdocName
- name of a masterdocument, if empty or null a default blank document will be usedrecordID
- ID of the recordtemplateID
- ID of the templateresolution
- resolution in pt / dpioptions
- setup options.
com.priint.comet.common.CometException
boolean documentClose(java.lang.String sessionID, java.lang.String documentID) throws com.priint.comet.common.CometException
documentForceClose
instead
sessionID
- session ID obtained from connectionLogindocumentID
- the document ID
com.priint.comet.common.CometException
boolean documentCloseImmediately(java.lang.String sessionID, java.lang.String documentID) throws com.priint.comet.common.CometException
documentForceClose
instead
sessionID
- session ID obtained from connectionLogindocumentID
- the document ID
com.priint.comet.common.CometException
java.lang.String documentCreate(java.lang.String sessionID, java.lang.String newDocumentID, java.lang.String setupParams) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLoginnewDocumentID
- new document ID. If the ID is null or empty a unique ID will be generated and returned.setupParams
- setup options.
com.priint.comet.common.CometException
java.lang.String documentCreateAs(java.lang.String sessionID, java.lang.String newDocumentID, java.lang.String filename, java.lang.String setupParams) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLoginnewDocumentID
- new document ID. If the ID is null or empty a unique ID will
be generated and returned.filename
- the filenamesetupParams
- setup options.
com.priint.comet.common.CometException
boolean documentDelete(java.lang.String sessionID, java.lang.String documentID) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document ID
com.priint.comet.common.CometException
javax.activation.DataHandler documentDownload(java.lang.String sessionID, java.lang.String documentID) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document ID
com.priint.comet.common.CometException
java.lang.String documentDuplicate(java.lang.String sessionID, java.lang.String documentID, java.lang.String newDocumentID) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDnewDocumentID
- new document ID. If the ID is null or empty a unique ID will
be generated and returned.
com.priint.comet.common.CometException
java.lang.String documentExecCScript(java.lang.String sessionID, java.lang.String documentID, int scriptID, java.lang.String arguments) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDscriptID
- ID of the scriptarguments
- arguments passed to script (available as char * gArgument)
com.priint.comet.common.CometException
boolean documentExists(java.lang.String sessionID, java.lang.String documentID) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document ID
com.priint.comet.common.CometException
boolean documentForceClose(java.lang.String sessionID, java.lang.String documentID) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document ID
com.priint.comet.common.CometException
javax.activation.DataHandler documentGeneratePDF(java.lang.String sessionID, java.lang.String documentID, java.lang.String pdfProfileName, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDpdfProfileName
- options
- command options.
com.priint.comet.common.CometException
javax.activation.DataHandler documentGetCometGroups(java.lang.String sessionID, java.lang.String documentID, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDoptions
- command options
com.priint.comet.common.CometException
javax.activation.DataHandler documentGetElements(java.lang.String sessionID, java.lang.String documentID, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDoptions
- command options
com.priint.comet.common.CometException
CometWhiteboard.DocumentInfo documentGetInfo(java.lang.String sessionID, java.lang.String documentID) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document ID
com.priint.comet.common.CometException
javax.activation.DataHandler documentGetItems(java.lang.String sessionID, java.lang.String documentID, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDoptions
-
com.priint.comet.common.CometException
java.util.List<java.lang.String> documentGetLayers(java.lang.String sessionID, java.lang.String documentID) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document ID
com.priint.comet.common.CometException
java.util.List<CometWhiteboard.DocumentInfo> documentGetList(java.lang.String sessionID) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogin
com.priint.comet.common.CometException
javax.activation.DataHandler documentGetNotes(java.lang.String sessionID, java.lang.String documentID, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDoptions
- command options
com.priint.comet.common.CometException
int documentGetPageCount(java.lang.String sessionID, java.lang.String documentID) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document ID
com.priint.comet.common.CometException
javax.activation.DataHandler documentGetPackage(java.lang.String sessionID, java.lang.String documentID, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDoptions
- command options
com.priint.comet.common.CometException
javax.activation.DataHandler documentGetPlaceholders(java.lang.String sessionID, java.lang.String documentID, boolean evaluateSyncState, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDevaluateSyncState
- options
- command options
com.priint.comet.common.CometException
java.util.List<CometWhiteboard.DocumentInfo> documentGetSessionDocs(java.lang.String sessionID) throws com.priint.comet.common.CometException
sessionID
-
com.priint.comet.common.CometException
int documentGetSpreadCount(java.lang.String sessionID, java.lang.String documentID) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document ID
com.priint.comet.common.CometException
javax.activation.DataHandler documentGetSpreads(java.lang.String sessionID, java.lang.String documentID, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDoptions
- command options
com.priint.comet.common.CometException
java.util.List<java.lang.String> documentGetVisibleLayers(java.lang.String sessionID, java.lang.String documentID) throws com.priint.comet.common.CometException
documentShowDefaultLayers
sessionID
- session ID obtained from connectionLogindocumentID
- the document ID
com.priint.comet.common.CometException
boolean documentHideAllLayers(java.lang.String sessionID, java.lang.String documentID) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document ID
com.priint.comet.common.CometException
boolean documentHideLayers(java.lang.String sessionID, java.lang.String documentID, java.util.List<java.lang.String> layers) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDlayers
- list of layer names
com.priint.comet.common.CometException
boolean documentIsRegistered(java.lang.String sessionID, java.lang.String documentID) throws com.priint.comet.common.CometException
documentExists
instead.
sessionID
- documentID
-
com.priint.comet.common.CometException
void documentLoadPlaceholders(java.lang.String sessionID, java.lang.String documentID, int[] placeholderIDs, CometWhiteboard.RecordID recordID) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDplaceholderIDs
- recordID
- ID of the record
com.priint.comet.common.CometException
javax.activation.DataHandler documentMatchItems(java.lang.String sessionID, java.lang.String documentID, javax.activation.DataHandler items, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDitems
- options
-
com.priint.comet.common.CometException
java.lang.String documentMoveFile(java.lang.String sessionID, java.lang.String documentID, java.lang.String newDocumentID) throws com.priint.comet.common.CometException
// upload data and move to an arbitrary path in the file system afterwards: String managedDoc = api.documentUpload (sessionID, null, data); String externDoc = api.documentRegister (sessionID, "12345", "/comet_server/doesnotexistyet.indd"); api.documentMoveFile (sessionID, managedDoc, externDoc);Literally the same could have been achieved with (more recommended):
// register (not yet existing) file String externDoc = api.documentRegister (sessionID, "12345", "/comet_server/doesnotexistyet.indd"); // upload data to that location: api.documentUpload (sessionID, externDoc, data);
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDnewDocumentID
- new document ID. If the ID is null or empty a unique ID will
be generated and returned.
com.priint.comet.common.CometException
java.lang.String documentMoveTmpFile(java.lang.String sessionID, java.lang.String tmpDocumentID, java.lang.String newDocumentID) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogintmpDocumentID
- newDocumentID
- new document ID. If the ID is null or empty a unique ID will
be generated and returned.
com.priint.comet.common.CometException
boolean documentOpen(java.lang.String sessionID, java.lang.String documentID) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- document ID
com.priint.comet.common.CometException
java.lang.String documentRegister(java.lang.String sessionID, java.lang.String newDocumentID, java.lang.String path) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLoginnewDocumentID
- new document ID. If the ID is null or empty a unique ID will
be generated and returned.path
- document path on the server
com.priint.comet.common.CometException
boolean documentReorganize(java.lang.String sessionID, java.lang.String documentID, int pageIndex, CometWhiteboard.ReorganizeLevel reorganize) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDpageIndex
- 0-based index of the first page to reorganizereorganize
- reorganize level. Can be one of "NONE", "FULL", "PAGE", "SUBSEQUENT"
com.priint.comet.common.CometException
boolean documentSave(java.lang.String sessionID, java.lang.String documentID) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document ID
com.priint.comet.common.CometException
java.lang.String documentSaveAs(java.lang.String sessionID, java.lang.String documentID, java.lang.String newDocumentID) throws com.priint.comet.common.CometException
documentDuplicate
except that the new document
will be opened right afterward the operation.
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDnewDocumentID
- new document ID. If the ID is null or empty a unique ID will
be generated and returned.
com.priint.comet.common.CometException
boolean documentSetActiveLayer(java.lang.String sessionID, java.lang.String documentID, java.lang.String layerName) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDlayerName
- name of the layer
com.priint.comet.common.CometException
boolean documentSetItems(java.lang.String sessionID, java.lang.String documentID, javax.activation.DataHandler data, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDdata
- options
-
com.priint.comet.common.CometException
void documentSetNotes(java.lang.String sessionID, java.lang.String documentID, javax.activation.DataHandler notes) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDnotes
- a XML document as specified here
com.priint.comet.common.CometException
void documentSetPlaceholderImage(java.lang.String sessionID, java.lang.String documentID, int placeholderID, CometWhiteboard.RecordID recordID, javax.activation.DataHandler data, boolean executeSaveMethod) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDplaceholderID
- recordID
- ID of the recorddata
- binary dataexecuteSaveMethod
- save new value to databse or not
com.priint.comet.common.CometException
void documentSetPlaceholderImagePath(java.lang.String sessionID, java.lang.String documentID, int placeholderID, CometWhiteboard.RecordID recordID, java.lang.String path, boolean executeSaveMethod) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDplaceholderID
- recordID
- ID of the recordpath
- path of the image on the serverexecuteSaveMethod
-
com.priint.comet.common.CometException
void documentSetPlaceholderValue(java.lang.String sessionID, java.lang.String documentID, int placeholderID, CometWhiteboard.RecordID recordID, java.lang.String value, boolean executeSaveMethod) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDplaceholderID
- recordID
- ID of the recordvalue
- the value to be applied new valueexecuteSaveMethod
- write the new value to database or not
com.priint.comet.common.CometException
boolean documentSetup(java.lang.String sessionID, java.lang.String documentID, java.lang.String setupParams, boolean applyAdaption) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDsetupParams
- setup options.applyAdaption
-
com.priint.comet.common.CometException
boolean documentShowAllLayers(java.lang.String sessionID, java.lang.String documentID) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document ID
com.priint.comet.common.CometException
boolean documentShowDefaultLayers(java.lang.String sessionID, java.lang.String documentID) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document ID
com.priint.comet.common.CometException
boolean documentShowLayers(java.lang.String sessionID, java.lang.String documentID, java.util.List<java.lang.String> layers) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDlayers
- list of layer names
com.priint.comet.common.CometException
void documentSyncPlaceholders(java.lang.String sessionID, java.lang.String documentID, int[] placeholderIDs, CometWhiteboard.RecordID recordID) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDplaceholderIDs
- recordID
- ID of the record
com.priint.comet.common.CometException
java.lang.String documentTmpCopy(java.lang.String sessionID, java.lang.String documentID) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document ID
com.priint.comet.common.CometException
boolean documentUnregister(java.lang.String sessionID, java.lang.String documentID) throws com.priint.comet.common.CometException
sessionID
- documentID
-
com.priint.comet.common.CometException
boolean documentUpdatePlaceholders(java.lang.String sessionID, java.lang.String documentID) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document ID
com.priint.comet.common.CometException
java.lang.String documentUpload(java.lang.String sessionID, java.lang.String newDocumentID, javax.activation.DataHandler data) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLoginnewDocumentID
- new document ID. If the ID is null or empty a unique ID will
be generated and returned.data
- binary data
com.priint.comet.common.CometException
java.lang.String documentUploadAs(java.lang.String sessionID, java.lang.String newDocumentID, javax.activation.DataHandler data, java.lang.String filename) throws com.priint.comet.common.CometException
documentUpload
, the filename is preserved for later downloads.
sessionID
- session ID obtained from connectionLoginnewDocumentID
- new document ID. If the ID is null or empty a unique ID will
be generated and returned.data
- binary datafilename
- the filename
com.priint.comet.common.CometException
boolean elementDelete(java.lang.String sessionID, java.lang.String documentID, int elementID) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDelementID
- ID of the element
com.priint.comet.common.CometException
boolean elementDeleteParagraph(java.lang.String sessionID, java.lang.String documentID, int elementID, int paragraph) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDelementID
- ID of the elementparagraph
-
com.priint.comet.common.CometException
javax.activation.DataHandler elementGetPlaceholders(java.lang.String sessionID, java.lang.String documentID, int elementID, boolean evaluateSyncState, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDelementID
- ID of the elementevaluateSyncState
- evaluate sync state using the sync script assigned to the placeholderoptions
- command options
com.priint.comet.common.CometException
javax.activation.DataHandler elementGetPreview(java.lang.String sessionID, java.lang.String documentID, int elementID, double resolution, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDelementID
- ID of the elementresolution
- resolution in dpioptions
- command options
com.priint.comet.common.CometException
boolean elementInsertParagraphAfter(java.lang.String sessionID, java.lang.String documentID, int elementID, int paragraph, java.lang.String value, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDelementID
- ID of the elementparagraph
- ID / sequence of paragraphvalue
- the value to be appliedoptions
- command options
com.priint.comet.common.CometException
boolean elementInsertParagraphBefore(java.lang.String sessionID, java.lang.String documentID, int elementID, int paragraph, java.lang.String value, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDelementID
- ID of the elementparagraph
- ID / sequence of paragraphvalue
- the value to be appliedoptions
- command options
com.priint.comet.common.CometException
void elementLoadPlaceholders(java.lang.String sessionID, java.lang.String documentID, int elementID, int[] placeholderIDs, CometWhiteboard.RecordID recordID) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDelementID
- ID of the elementplaceholderIDs
- recordID
- ID of the record
com.priint.comet.common.CometException
boolean elementMoveBy(java.lang.String sessionID, java.lang.String documentID, int elementID, double offsetX, double offsetY) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDelementID
- ID of the elementoffsetX
- offset xoffsetY
- offset y
com.priint.comet.common.CometException
boolean elementSetCellValue(java.lang.String sessionID, java.lang.String documentID, int tableID, int column, int row, java.lang.String value, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDcolumn
- 0-based column indexrow
- 0-based row indextableID
- ID of the tablevalue
- the value to be applied
com.priint.comet.common.CometException
boolean elementSetImage(java.lang.String sessionID, java.lang.String documentID, int elementID, javax.activation.DataHandler data) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDelementID
- ID of the elementdata
- binary data
com.priint.comet.common.CometException
boolean elementSetImagePath(java.lang.String sessionID, java.lang.String documentID, int elementID, java.lang.String path) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDelementID
- ID of the elementpath
- image path on the server
com.priint.comet.common.CometException
boolean elementSetValue(java.lang.String sessionID, java.lang.String documentID, int elementID, int paragraph, java.lang.String value, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDelementID
- ID of the elementparagraph
- ID / sequence of paragraphvalue
- the value to be appliedoptions
- command options
com.priint.comet.common.CometException
void elementSetVisible(java.lang.String sessionID, java.lang.String documentID, int[] elementIDs, boolean visibleState, java.lang.String options) throws com.priint.comet.common.CometException
com.priint.comet.common.CometException
void elementSyncPlaceholders(java.lang.String sessionID, java.lang.String documentID, int elementID, int[] placeholderIDs, CometWhiteboard.RecordID recordID) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDelementID
- ID of the elementplaceholderIDs
- recordID
- ID of the record
com.priint.comet.common.CometException
boolean elementTransform(java.lang.String sessionID, java.lang.String documentID, int elementID, java.lang.String options) throws com.priint.comet.common.CometException
// change the size (width and height) of an element boolean result = api.elementTransform (sessionID, documentID, elementID, "size:123.0;"); // change width and height of an element result = api.elementTransform (sessionID, documentID, elementID, "width:123.0;height:456.0;"); // scale retaining the proportions result = api.elementTransform (sessionID, documentID, elementID, "scale:2.0;"); // free scaling result = api.elementTransform (sessionID, documentID, elementID, "scale-x:2.0;scale-y:2.3;");More transformations will be implemented at your request, please contact feature-request@priint.net.
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDelementID
- ID of the elementoptions
- command options
com.priint.comet.common.CometException
boolean elementUpdatePlaceholders(java.lang.String sessionID, java.lang.String documentID, int elementID) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDelementID
- ID of the element
com.priint.comet.common.CometException
java.lang.String execTemplate(java.lang.String sessionID, java.lang.String masterdocName, CometWhiteboard.RecordID recordID, int templateID, java.lang.String setupOptions) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLoginmasterdocName
- name of a masterdocument, if empty or null a default blank document will be usedrecordID
- ID of the recordtemplateID
- ID of the templatesetupOptions
- setup options.
com.priint.comet.common.CometException
java.util.List<java.lang.String> getPdfProfiles(java.lang.String sessionID, java.lang.String documentID, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDoptions
-
com.priint.comet.common.CometException
boolean pageAddPages(java.lang.String sessionID, java.lang.String documentID, int behindPage, int numberOfPages, java.lang.String masterpageName, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDbehindPage
- insertion point, use -1 to insert pages at front of documentnumberOfPages
- how many pages to addmasterpageName
- name of the masterpage to apply (leave empty to apply no masterpage)options
- this command supports the reshuffle option (default: true), set it to false if you don't want pages to be reshuffled
com.priint.comet.common.CometException
boolean pageApplyGrid(java.lang.String sessionID, java.lang.String documentID, int pageIndex, int gridID, CometWhiteboard.ReorganizeLevel reorganize) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDpageIndex
- 0-based index of the pagegridID
- ID of the page gridreorganize
- reorganize the document after deleting. Can be one of "NONE", "FULL", "PAGE", "SUBSEQUENT"
com.priint.comet.common.CometException
int pageBuild(java.lang.String sessionID, java.lang.String documentID, int pageIndex, javax.activation.DataHandler itemsXML, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDpageIndex
- 0-based index of the pageitemsXML
- xmloptions
- command options
com.priint.comet.common.CometException
int pageBuildAt(java.lang.String sessionID, java.lang.String documentID, int pageIndex, javax.activation.DataHandler itemsXML, double absLeft, double absTop, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document ID pageIndex
- 0-based index of the pageitemsXML
- xml absLeft
- absolute left positionabsTop
- absolute top positionoptions
- command options
com.priint.comet.common.CometException
boolean pageDeletePages(java.lang.String sessionID, java.lang.String documentID, int firstPage, int numberOfPages, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDfirstPage
- first page to deletenumberOfPages
- number of pages to deleteoptions
- this command supports the reshuffle option (default: true), set it to false if you don't want pages to be reshuffled
com.priint.comet.common.CometException
javax.activation.DataHandler pageGeneratePDF(java.lang.String sessionID, java.lang.String documentID, java.lang.String pageList, java.lang.String pdfProfileName, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDpageList
- comma seperated list of spread indexes or empty to output all spreadspdfProfileName
- name of the PDF profileoptions
- command options
com.priint.comet.common.CometException
javax.activation.DataHandler pageGetCometGroups(java.lang.String sessionID, java.lang.String documentID, int pageIndex, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDpageIndex
- 0-based index of the pageoptions
- command options
com.priint.comet.common.CometException
javax.activation.DataHandler pageGetElements(java.lang.String sessionID, java.lang.String documentID, int pageIndex, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDpageIndex
- 0-based index of the pageoptions
- command options
com.priint.comet.common.CometException
javax.activation.DataHandler pageGetNotes(java.lang.String sessionID, java.lang.String documentID, int pageIndex, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDpageIndex
- 0-based index of the pageoptions
- command options
com.priint.comet.common.CometException
javax.activation.DataHandler pageGetPlaceholders(java.lang.String sessionID, java.lang.String documentID, int pageIndex, boolean evaluateSyncState, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDpageIndex
- 0-based index of the pageevaluateSyncState
- evaluate sync state using the sync script assigned to the placeholderoptions
- command options
com.priint.comet.common.CometException
javax.activation.DataHandler pageGetPreview(java.lang.String sessionID, java.lang.String documentID, int pageIndex, double resolution, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDpageIndex
- 0-based index of the pageresolution
- resolution in dpioptions
- command options
com.priint.comet.common.CometException
javax.activation.DataHandler pageGetPreviewOfClipping(java.lang.String sessionID, java.lang.String documentID, int pageIndex, double resolution, double absLeft, double absTop, double width, double height, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDpageIndex
- 0-based index of the pageresolution
- resolution in dpiabsLeft
- left origin of clipping rectabsTop
- top origin of clipping rectwidth
- width of clipping rectheight
- height of clipping rectoptions
- command options
com.priint.comet.common.CometException
int pageGetTemplateID(java.lang.String sessionID, java.lang.String documentID, int pageIndex) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDpageIndex
- 0-based index of the page
com.priint.comet.common.CometException
int pageImportGroup(java.lang.String sessionID, java.lang.String documentID, java.lang.String documentIDFrom, int pageIndex, int groupID, double absLeft, double absTop) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDdocumentIDFrom
- source document IDpageIndex
- 0-based index of the pagegroupID
- ID of the comet groupabsLeft
- absolute left positionabsTop
- absolute top position
com.priint.comet.common.CometException
void pageLoadPlaceholders(java.lang.String sessionID, java.lang.String documentID, int pageIndex, int[] placeholderIDs, CometWhiteboard.RecordID recordID) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDpageIndex
- 0-based index of the pageplaceholderIDs
- recordID
- ID of the record
com.priint.comet.common.CometException
boolean pageMoveCometGroupTo(java.lang.String sessionID, java.lang.String documentID, int pageIndex, int groupID, double absLeft, double absTop, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDpageIndex
- 0-based index of the pagegroupID
- ID of the comet groupabsLeft
- absolute left positionabsTop
- absolute top positionoptions
- command options
com.priint.comet.common.CometException
boolean pageMoveElementTo(java.lang.String sessionID, java.lang.String documentID, int pageIndex, int elementID, double absLeft, double absTop) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDpageIndex
- 0-based index of the spreadelementID
- ID of the elementabsLeft
- absolute left positionabsTop
- absolute top position
com.priint.comet.common.CometException
boolean pageMovePages(java.lang.String sessionID, java.lang.String documentID, int behindPage, int firstPage, int numPages, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDbehindPage
- firstPage
- numPages
- options
-
com.priint.comet.common.CometException
int pagePlaceTemplate(java.lang.String sessionID, java.lang.String documentID, int pageIndex, CometWhiteboard.RecordID recordID, int templateID, double absLeft, double absTop, CometWhiteboard.ReorganizeLevel reorganize, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDpageIndex
- 0-based index of the pagerecordID
- ID of the recordtemplateID
- ID of the templateabsLeft
- absolute left positionabsTop
- absolute top positionreorganize
- reorganize the document after deleting. Can be one of "NONE", "FULL", "PAGE", "SUBSEQUENT"options
- command options
com.priint.comet.common.CometException
boolean pageSetNotes(java.lang.String sessionID, java.lang.String documentID, int pageIndex, javax.activation.DataHandler notes) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDpageIndex
- 0-based index of the spread 0-based index of spreadnotes
- a XML document as specified here
com.priint.comet.common.CometException
void pageSetPlaceholderImage(java.lang.String sessionID, java.lang.String documentID, int pageIndex, int placeholderID, CometWhiteboard.RecordID recordID, javax.activation.DataHandler data, boolean executeSaveMethod) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDpageIndex
- 0-based index of the pageplaceholderID
- recordID
- ID of the recorddata
- binary dataexecuteSaveMethod
- save new value to databse or not
com.priint.comet.common.CometException
void pageSetPlaceholderImagePath(java.lang.String sessionID, java.lang.String documentID, int pageIndex, int placeholderID, CometWhiteboard.RecordID recordID, java.lang.String path, boolean executeSaveMethod) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDpageIndex
- 0-based index of the pageplaceholderID
- recordID
- ID of the recordpath
- path of the image on the serverexecuteSaveMethod
-
com.priint.comet.common.CometException
void pageSetPlaceholderValue(java.lang.String sessionID, java.lang.String documentID, int pageIndex, int placeholderID, CometWhiteboard.RecordID recordID, java.lang.String value, boolean executeSaveMethod) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDpageIndex
- 0-based index of the pageplaceholderID
- recordID
- ID of the recordvalue
- the value to be applied new valueexecuteSaveMethod
- write the new value to database or not
com.priint.comet.common.CometException
boolean pageSetTemplateID(java.lang.String sessionID, java.lang.String documentID, int pageIndex, int templateID, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDpageIndex
- 0-based index of the pagetemplateID
- ID of the template
com.priint.comet.common.CometException
void pageSyncPlaceholders(java.lang.String sessionID, java.lang.String documentID, int pageIndex, int[] placeholderIDs, CometWhiteboard.RecordID recordID) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDpageIndex
- 0-based index of the pageplaceholderIDs
- recordID
- ID of the record
com.priint.comet.common.CometException
boolean pageUpdatePlaceholders(java.lang.String sessionID, java.lang.String documentID, int pageIndex) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDpageIndex
- 0-based index of the page
com.priint.comet.common.CometException
boolean reloadConfiguration(java.lang.String adminSessionID, java.lang.String dataset) throws com.priint.comet.common.CometException
adminSessionID
- dataset
-
com.priint.comet.common.CometException
boolean spreadAddSpreads(java.lang.String sessionID, java.lang.String documentID, int behindSpread, int numberOfSpreads, java.lang.String masterpageName, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDbehindSpread
- insertion point, use -1 to insert spreads at front of documentnumberOfSpreads
- number of spreads to insertmasterpageName
- name of the masterpage to apply (leave empty to apply no masterpage)options
- various options. Note: you can use the "pages-per-spread" option to specify the number of pages per spread, otherwise the document default will be used.
com.priint.comet.common.CometException
boolean spreadApplyGrid(java.lang.String sessionID, java.lang.String documentID, int spreadIndex, int gridID, CometWhiteboard.ReorganizeLevel reorganize) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDspreadIndex
- 0-based index of the spreadgridID
- ID of the page gridreorganize
- reorganize the document after deleting. Can be one of "NONE", "FULL", "PAGE", "SUBSEQUENT"
com.priint.comet.common.CometException
int spreadBuild(java.lang.String sessionID, java.lang.String documentID, int spreadIndex, javax.activation.DataHandler itemsXML, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document ID spreadIndex
- 0-based index of the spreaditemsXML
- xml options
- command options
com.priint.comet.common.CometException
int spreadBuildAt(java.lang.String sessionID, java.lang.String documentID, int spreadIndex, javax.activation.DataHandler itemsXML, double absLeft, double absTop, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document ID spreadIndex
- 0-based index of the spreaditemsXML
- xmlabsLeft
- absolute left positionabsTop
- absolute top positionoptions
- command options
com.priint.comet.common.CometException
boolean spreadDeleteSpreads(java.lang.String sessionID, java.lang.String documentID, int firstSpread, int numberOfSpreads, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDfirstSpread
- first spread to deletenumberOfSpreads
- number of spreads to deleteoptions
- currently this command does not support any options
com.priint.comet.common.CometException
javax.activation.DataHandler spreadExportCometGroups(java.lang.String sessionID, java.lang.String documentID, int spreadIndex, int[] groupIDs, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDspreadIndex
- groupIDs
- options
-
com.priint.comet.common.CometException
javax.activation.DataHandler spreadExportElements(java.lang.String sessionID, java.lang.String documentID, int spreadIndex, int[] elementIDs, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDspreadIndex
- elementIDs
- options
-
com.priint.comet.common.CometException
javax.activation.DataHandler spreadGeneratePDF(java.lang.String sessionID, java.lang.String documentID, java.lang.String spreadList, java.lang.String pdfProfileName, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDspreadList
- comma seperated list of spread indexes or empty to output all spreadspdfProfileName
- name of the PDF profileoptions
- command options
com.priint.comet.common.CometException
javax.activation.DataHandler spreadGetCometGroups(java.lang.String sessionID, java.lang.String documentID, int spreadIndex, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDspreadIndex
- 0-based index of the spreadoptions
- command options
com.priint.comet.common.CometException
javax.activation.DataHandler spreadGetCometGroupsPreview(java.lang.String sessionID, java.lang.String documentID, int spreadIndex, int[] groupIDs, double resolution, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDspreadIndex
- groupIDs
- resolution
- options
-
com.priint.comet.common.CometException
javax.activation.DataHandler spreadGetElements(java.lang.String sessionID, java.lang.String documentID, int spreadIndex, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDspreadIndex
- 0-based index of the spreadoptions
- command options
com.priint.comet.common.CometException
javax.activation.DataHandler spreadGetElementsPreview(java.lang.String sessionID, java.lang.String documentID, int spreadIndex, int[] elementIDs, double resolution, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDspreadIndex
- elementIDs
- resolution
- options
-
com.priint.comet.common.CometException
javax.activation.DataHandler spreadGetNotes(java.lang.String sessionID, java.lang.String documentID, int spreadIndex, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDspreadIndex
- 0-based index of the spreadoptions
- command options
com.priint.comet.common.CometException
int[] spreadGetPages(java.lang.String sessionID, java.lang.String documentID, int spreadIndex) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDspreadIndex
- 0-based index of the spread
com.priint.comet.common.CometException
javax.activation.DataHandler spreadGetPlaceholders(java.lang.String sessionID, java.lang.String documentID, int spreadIndex, boolean evaluateSyncState, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDspreadIndex
- 0-based index of the spreadevaluateSyncState
- evaluate sync state using the sync script assigned to the placeholderoptions
- command options
com.priint.comet.common.CometException
javax.activation.DataHandler spreadGetPreview(java.lang.String sessionID, java.lang.String documentID, int spreadIndex, double resolution, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDspreadIndex
- 0-based index of the spreadresolution
- resolution in dpioptions
- command options
com.priint.comet.common.CometException
javax.activation.DataHandler spreadGetPreviewOfClipping(java.lang.String sessionID, java.lang.String documentID, int spreadIndex, double resolution, double absLeft, double absTop, double width, double height, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDspreadIndex
- 0-based index of the spreadresolution
- resolution in dpiabsLeft
- left origin of clipping rectabsTop
- top origin of clipping rectwidth
- width of clipping rectheight
- height of clipping rectoptions
- command options
com.priint.comet.common.CometException
int spreadGetTemplateID(java.lang.String sessionID, java.lang.String documentID, int spreadIndex) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDspreadIndex
- 0-based index of the spread
com.priint.comet.common.CometException
int spreadImportGroup(java.lang.String sessionID, java.lang.String documentID, java.lang.String documentIDFrom, int spreadIndex, int groupID, double absLeft, double absTop) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDdocumentIDFrom
- source document IDspreadIndex
- 0-based index of the spreadgroupID
- ID of the comet groupabsLeft
- absolute left positionabsTop
- absolute top position
com.priint.comet.common.CometException
void spreadLoadPlaceholders(java.lang.String sessionID, java.lang.String documentID, int spreadIndex, int[] placeholderIDs, CometWhiteboard.RecordID recordID) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDspreadIndex
- 0-based index of the spreadplaceholderIDs
- recordID
- ID of the record
com.priint.comet.common.CometException
boolean spreadMoveCometGroupTo(java.lang.String sessionID, java.lang.String documentID, int spreadIndex, int groupID, double absLeft, double absTop, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDspreadIndex
- 0-based index of the spreadgroupID
- ID of the comet groupabsLeft
- absolute left positionabsTop
- absolute top positionoptions
- command options
com.priint.comet.common.CometException
boolean spreadMoveElementTo(java.lang.String sessionID, java.lang.String documentID, int spreadIndex, int elementID, double absLeft, double absTop) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDspreadIndex
- 0-based index of the spreadelementID
- ID of the elementabsLeft
- absolute left positionabsTop
- absolute top position
com.priint.comet.common.CometException
boolean spreadMoveSpreads(java.lang.String sessionID, java.lang.String documentID, int behindSpread, int firstSpread, int numSpreads, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDbehindSpread
- firstSpread
- numSpreads
- options
-
com.priint.comet.common.CometException
int spreadPlaceDocument(java.lang.String sessionID, java.lang.String documentID, int spreadIndex, javax.activation.DataHandler data, double absLeft, double absTop, boolean createCometGroup, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDspreadIndex
- data
- absLeft
- absTop
- createCometGroup
- options
-
com.priint.comet.common.CometException
int spreadPlaceTemplate(java.lang.String sessionID, java.lang.String documentID, int spreadIndex, CometWhiteboard.RecordID recordID, int templateID, double absLeft, double absTop, CometWhiteboard.ReorganizeLevel reorganize, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDspreadIndex
- 0-based index of the spreadrecordID
- ID of the recordtemplateID
- ID of the templateabsLeft
- absolute left positionabsTop
- absolute top positionreorganize
- reorganize the document after deleting. Can be one of "NONE", "FULL", "PAGE", "SUBSEQUENT"options
- command options
com.priint.comet.common.CometException
boolean spreadSetNotes(java.lang.String sessionID, java.lang.String documentID, int spreadIndex, javax.activation.DataHandler notes) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDspreadIndex
- 0-based index of the spreadnotes
- a XML document as specified here
com.priint.comet.common.CometException
void spreadSetPlaceholderImage(java.lang.String sessionID, java.lang.String documentID, int spreadIndex, int placeholderID, CometWhiteboard.RecordID recordID, javax.activation.DataHandler data, boolean executeSaveMethod) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDspreadIndex
- 0-based index of the spreadplaceholderID
- recordID
- ID of the recorddata
- binary dataexecuteSaveMethod
- save new value to databse or not
com.priint.comet.common.CometException
void spreadSetPlaceholderImagePath(java.lang.String sessionID, java.lang.String documentID, int spreadIndex, int placeholderID, CometWhiteboard.RecordID recordID, java.lang.String path, boolean executeSaveMethod) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDspreadIndex
- 0-based index of the spreadplaceholderID
- recordID
- ID of the recordpath
- path of the image on the serverexecuteSaveMethod
-
com.priint.comet.common.CometException
void spreadSetPlaceholderValue(java.lang.String sessionID, java.lang.String documentID, int spreadIndex, int placeholderID, CometWhiteboard.RecordID recordID, java.lang.String value, boolean executeSaveMethod) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDspreadIndex
- 0-based index of the spreadplaceholderID
- recordID
- ID of the recordvalue
- the value to be applied new valueexecuteSaveMethod
- write the new value to database or not
com.priint.comet.common.CometException
boolean spreadSetTemplateID(java.lang.String sessionID, java.lang.String documentID, int spreadIndex, int templateID, java.lang.String options) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDspreadIndex
- 0-based index of the spreadtemplateID
- ID of the template
com.priint.comet.common.CometException
void spreadSyncPlaceholders(java.lang.String sessionID, java.lang.String documentID, int spreadIndex, int[] placeholderIDs, CometWhiteboard.RecordID recordID) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDspreadIndex
- 0-based index of the spreadplaceholderIDs
- recordID
- ID of the record
com.priint.comet.common.CometException
boolean spreadUpdatePlaceholders(java.lang.String sessionID, java.lang.String documentID, int spreadIndex) throws com.priint.comet.common.CometException
sessionID
- session ID obtained from connectionLogindocumentID
- the document IDspreadIndex
- 0-based index of the spread
com.priint.comet.common.CometException