|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InstanceService
The Interface InstanceService.
| Method Summary | |
|---|---|
void |
addFile(ItemInstance instance,
java.lang.String fileSetName,
File file)
Adds the file. |
void |
addFiles(ItemInstance instance,
java.lang.String fileSetName,
java.util.Collection<? extends File> files)
Adds the files. |
void |
addFiles(ItemInstance instance,
java.lang.String fileSetName,
File... files)
Adds the files. |
ContactInstance |
addInstanceContact(ItemInstance instance,
ContactInstance.DestinationType destinationType,
Contact contact)
Adds the instance contact. |
ContactInstance |
addInstanceContact(ItemInstance instance,
ContactInstance.DestinationType destinationType,
LocationAttribute location)
Adds the instance contact. |
ContactInstance |
addInstanceContact(ItemInstance instance,
ContactInstance.DestinationType destinationType,
Organization organization,
ContactInstance parent)
Adds the instance contact. |
ContactInstance |
addInstanceContact(ItemInstance instance,
ContactInstance.DestinationType destinationType,
java.lang.String contactDescription)
Adds the instance contact. |
ContactInstance |
addInstanceContact(ItemInstance instance,
ContactInstance.DestinationType destinationType,
it.neverworks.security.User user,
ContactInstance parent)
Adds the instance contact. |
ContactInstance |
addInstanceContact(ItemInstance instance,
ContactInstance contactInstance)
Adds the instance contact. |
ContactInstance |
addInstanceContactOrganization(ItemInstance instance,
ContactInstance.DestinationType destinationType,
java.lang.String organizationId,
ContactInstance parent)
Adds the instance contact organization. |
ContactInstance |
addInstanceContactOrganization(java.lang.String instanceId,
ContactInstance.DestinationType destinationType,
java.lang.String organizationId,
ContactInstance parent)
Adds the instance contact organization. |
ContactInstance |
addInstanceContactUserOrganization(java.lang.String instanceId,
ContactInstance.DestinationType destinationType,
java.lang.String userOrganizationId,
ContactInstance parent)
Adds the instance contact user organization. |
void |
cleanTrash()
Clean trash. |
void |
cleanTrash(MessageBox mbox)
Clean trash. |
void |
clearFiles(ItemInstance instance,
java.lang.String fileSetName,
boolean deleteFromDms)
Clear files. |
ItemInstance |
cloneItemInstance(ItemInstance instance,
boolean cloneFrom,
boolean cloneTo,
boolean cloneCc,
boolean cloneBcc,
boolean cloneAttachments)
Clone item instance. |
java.util.List<ItemInstance> |
cloneMultipleItemInstance(ItemInstance instance,
boolean spamBccIntoTo,
boolean cloneOnlyExternal)
Clone multiple item instance. |
File |
createFromAttachment(ItemInstance instance,
AttachmentItem ar,
ConfidentialityLevel confidentialityLevel)
Creates the from attachment. |
File |
createFromAttachment(ItemInstance instance,
InstanceBaseAction.AttachmentInfo attachment,
ConfidentialityLevel confidentialityLevel)
Creates the from attachment. |
ItemInstance |
createItemInstance(Storyboard storyboard,
MessageBox mbox,
MessageInstance.MessageType msgType,
java.util.List<AttachmentItem> attachments,
java.util.HashMap<java.lang.String,java.lang.Object> variables)
Creates the item instance. |
ItemInstance |
createItemInstance(Storyboard storyboard,
MessageBox mbox,
MessageInstance.MessageType msgType,
java.util.List<AttachmentItem> attachments,
java.util.HashMap<java.lang.String,java.lang.Object> variables,
boolean startProcess)
Creates the item instance. |
ItemInstance |
createItemInstance(Storyboard storyboard,
MessageBox mbox,
MessageInstance.MessageType msgType,
java.util.List<AttachmentItem> attachments,
java.util.HashMap<java.lang.String,java.lang.Object> variables,
View processLayout)
Creates the item instance. |
ItemInstance |
createItemInstance(Storyboard storyboard,
MessageBox mbox,
MessageInstance.MessageType msgType,
java.util.List<AttachmentItem> attachments,
java.util.HashMap<java.lang.String,java.lang.Object> variables,
View processLayout,
boolean startProcess)
Creates the item instance. |
ItemInstance |
createItemInstance(java.lang.String storyboardProcessName,
MessageBox mbox,
MessageInstance.MessageType msgType,
java.util.List<AttachmentItem> attachments,
java.util.HashMap<java.lang.String,java.lang.Object> variables)
Creates the item instance. |
ItemInstance |
createItemInstance(java.lang.String storyboardProcessName,
MessageBox mbox,
MessageInstance.MessageType msgType,
java.util.List<AttachmentItem> attachments,
java.util.HashMap<java.lang.String,java.lang.Object> variables,
boolean startProcess)
Creates the item instance. |
ItemInstance |
createItemInstance(java.lang.String storyboardProcessName,
MessageBox mbox,
MessageInstance.MessageType msgType,
java.util.List<AttachmentItem> attachments,
java.util.HashMap<java.lang.String,java.lang.Object> variables,
View processLayout)
Creates the item instance. |
ItemInstance |
createItemInstance(java.lang.String storyboardProcessName,
MessageBox mbox,
MessageInstance.MessageType msgType,
java.util.List<AttachmentItem> attachments,
java.util.HashMap<java.lang.String,java.lang.Object> variables,
View processLayout,
boolean startProcess)
Creates the item instance. |
File |
createItemLink(ItemInstance itemInstance,
File destination,
java.lang.String newName)
Creates the item link. |
File |
createItemLink(ItemInstance itemInstance,
File destination,
java.lang.String newName,
java.lang.String note)
Creates the item link. |
Document |
createLocalAttachment(ItemInstance instance,
java.lang.String name,
java.lang.String contentType,
ObjectTemplate objectTemplate,
ConfidentialityLevel confidentialityLevel,
java.io.InputStream stream,
long size)
Creates the local attachment. |
RemoteDocument |
createRemoteAttachment(ItemInstance instance,
java.lang.String name,
CloudFile remoteFile)
Creates the remote attachment. |
void |
deleteProcessInstance(ItemInstance instance)
Delete process instance. |
void |
exportInstancesXml(java.util.Date fromDate,
java.util.Date toDate,
java.io.File exportFile)
Export instances xml. |
void |
exportInstancesXml(InstancesSet instances,
java.io.File exportFile)
Export instances xml. |
java.util.List<ItemInstance> |
findByVariableMapValueEquals(java.util.Map<java.lang.String,java.lang.Object> values)
Find by variable map value equals. |
java.util.List<ItemInstance> |
findByVariableValueEquals(java.lang.String varName,
java.lang.Object varValue)
Find by variable value equals. |
ContactInstance |
findContactInstanceById(java.lang.Long id)
Find contact instance by id. |
MessageInstance |
findFirstMessageInstanceByAppIdentifierAndYear(java.lang.String appIdentifier,
int year)
Come sopra ma in presenza di duplicati ritorna il primo che trova. |
ItemInstance |
findInstanceById(java.lang.Long id)
Find instance by id. |
ItemInstance |
findInstanceRelated(CloudFile file)
Find instance related. |
ItemInstance |
findInstanceRelated(File file)
Find instance related. |
java.util.Set<ItemInstance> |
findInstances(CloudFile file)
Find instances. |
java.util.Set<ItemInstance> |
findInstances(File file)
Find instances. |
ItemInstance |
findItemInstanceByAppIdentifierAndSbCode(java.lang.String appIdentifier,
java.lang.String sbCode)
Find item instance by app identifier and sb code. |
Document |
findMailEML(MessageInstance messageInstance)
Find mail eml. |
MessageInstance |
findMessageInstanceByAppIdentifier(java.lang.String appIdentifier,
java.util.Date appIdentifierDate)
Find message instance by app identifier. |
MessageInstance |
findMessageInstanceByAppIdentifierAndYear(java.lang.String appIdentifier,
int year)
Find message instance by app identifier and year. |
MessageInstance |
findMessageInstanceById(java.lang.Long id)
Find message instance by id. |
MessageServiceInstance |
findMessageServiceInstanceByAppIdentifier(java.lang.String appIdentifier,
java.util.Date appIdentifierDate,
javax.mail.internet.InternetAddress recipient,
MessageServiceInstance.XmlAutomationType xmlAutomationType)
Find message service instance by app identifier. |
MessageServiceInstance |
findMessageServiceInstanceByAppIdentifier(java.lang.String appIdentifier,
java.util.Date appIdentifierDate,
MessageServiceInstance.XmlAutomationType xmlAutomationType)
Find message service instance by app identifier. |
java.util.Set<ItemLink> |
getActiveItemLinks(ItemInstance instance)
Gets the active item links. |
Document |
getDocumentByName(ItemInstance instance,
java.lang.String attachmentName)
Gets the document by name. |
File |
getFile(ItemInstance instance,
java.lang.String fileSetName,
java.lang.String fileName)
Gets the file. |
java.util.Set<File> |
getFiles(ItemInstance instance,
java.lang.String fileSetName)
Gets the files. |
java.util.Set<File> |
getFilesAll(ItemInstance instance)
Gets the files all. |
FileSet |
getFileSet(ItemInstance instance,
java.lang.String fileSetName)
Gets the file set. |
File |
getInstanceAttachmentFolder(ItemInstance instance)
Gets the instance attachment folder. |
File |
getInstanceAttachmentStoryboardFolder(ItemInstance instance,
File rootSbFolder)
Gets the instance attachment storyboard folder. |
it.neverworks.mail.helper.MessageHelper |
getMessageHelper(MessageInstance messageInstance)
Gets the message helper. |
FileSet |
getOrCreateFileSet(ItemInstance instance,
java.lang.String fileSetName)
Gets the or create file set. |
it.neverworks.mail.helper.MessageHelper |
getOriginalMessagePEC(MessageServiceInstance instance)
Gets the original message pec. |
java.util.Set<File> |
getUserFilesAll(ItemInstance instance)
Gets the user files all. |
boolean |
itemLinkExists(ItemInstance itemInstance,
File destination)
Item link exists. |
void |
moveToTrash(ItemInstance instance)
Move to trash. |
ContactInstance |
prepareInstanceContactByEmail(javax.mail.internet.InternetAddress email)
Prepare instance contact by email. |
void |
recoveryFromTrash(ItemInstance instance)
Recovery from trash. |
void |
removeFile(ItemInstance instance,
java.lang.String fileSetName,
boolean deleteFromDms,
File file)
Removes the file. |
void |
removeFiles(ItemInstance instance,
java.lang.String fileSetName,
boolean deleteFromDms,
java.util.Collection<? extends File> files)
Removes the files. |
void |
removeFiles(ItemInstance instance,
java.lang.String fileSetName,
boolean deleteFromDms,
File... files)
Removes the files. |
void |
removeInstanceContact(ContactInstance contactInstance)
Removes the instance contact. |
void |
removeInstanceContactOrganization(java.lang.String instanceId,
ContactInstance.DestinationType destinationType,
java.lang.String organizationId)
Removes the instance contact organization. |
void |
removeItemLink(ItemInstance itemInstance,
ItemLink link)
Removes the item link. |
void |
replaceFiles(ItemInstance instance,
java.lang.String fileSetName,
boolean deleteFromDms,
java.util.Collection<? extends File> files)
Replace files. |
void |
replaceFiles(ItemInstance instance,
java.lang.String fileSetName,
boolean deleteFromDms,
File... files)
Replace files. |
void |
replicaAttachments(java.lang.String replicaServerId,
ItemInstance instance,
java.lang.String fileRegEx)
Replica attachments. |
void |
restartAssignment(MessageInstance messageInstance,
java.util.List<InstanceAssignmentEntry> instanceAssignmentEntries)
Restart assignment. |
void |
restartAssignment(MessageInstance messageInstance,
java.util.List<InstanceAssignmentEntry> instanceAssignmentEntries,
java.util.Map<java.lang.String,java.lang.Object> customVariables)
Restart assignment. |
void |
restartAssignmentFromSheet(java.lang.String filePath,
ContactInstance parentCi)
Restart assignment from sheet. |
void |
restartInstance(ItemInstance instance,
boolean preserveProtVariables)
void exportMessageInstance(Collection |
void |
restartInstance(ItemInstance instance,
boolean preserveProtVariables,
Storyboard storyboard)
Restart instance. |
void |
resumeProcessInstance(ItemInstance instance)
Resume process instance. |
void |
saveItemInstance(ItemInstance instance)
Save item instance. |
void |
suspendProcessInstance(ItemInstance instance)
Suspend process instance. |
void |
updateItemHistoryVariables(ItemInstance instance,
java.util.Map<java.lang.String,java.lang.Object> variables)
Update item history variables. |
void |
updateItemHistoryVariables(java.lang.String id,
java.util.Map<java.lang.String,java.lang.Object> variables)
Update item history variables. |
void |
updateStatusById(java.lang.String itemInstanceId,
ItemInstance.WorkStatus status,
java.lang.String statusDescription)
Update status by id. |
| Method Detail |
|---|
File getInstanceAttachmentFolder(ItemInstance instance)
instance - the instance
File getInstanceAttachmentStoryboardFolder(ItemInstance instance,
File rootSbFolder)
instance - the instancerootSbFolder - the root sb folder
java.util.List<ItemInstance> findByVariableValueEquals(java.lang.String varName,
java.lang.Object varValue)
varName - the var namevarValue - the var value
java.util.List<ItemInstance> findByVariableMapValueEquals(java.util.Map<java.lang.String,java.lang.Object> values)
values - the values
MessageInstance findMessageInstanceById(java.lang.Long id)
id - the id
ItemInstance findInstanceById(java.lang.Long id)
id - the id
ItemInstance findItemInstanceByAppIdentifierAndSbCode(java.lang.String appIdentifier,
java.lang.String sbCode)
appIdentifier - the app identifiersbCode - the sb code
MessageInstance findMessageInstanceByAppIdentifier(java.lang.String appIdentifier,
java.util.Date appIdentifierDate)
appIdentifier - the app identifierappIdentifierDate - the app identifier date
MessageServiceInstance findMessageServiceInstanceByAppIdentifier(java.lang.String appIdentifier,
java.util.Date appIdentifierDate,
MessageServiceInstance.XmlAutomationType xmlAutomationType)
appIdentifier - the app identifierappIdentifierDate - the app identifier datexmlAutomationType - the xml automation type
MessageServiceInstance findMessageServiceInstanceByAppIdentifier(java.lang.String appIdentifier,
java.util.Date appIdentifierDate,
javax.mail.internet.InternetAddress recipient,
MessageServiceInstance.XmlAutomationType xmlAutomationType)
appIdentifier - the app identifierappIdentifierDate - the app identifier daterecipient - the recipientxmlAutomationType - the xml automation type
MessageInstance findMessageInstanceByAppIdentifierAndYear(java.lang.String appIdentifier,
int year)
appIdentifier - the app identifieryear - the year
MessageInstance findFirstMessageInstanceByAppIdentifierAndYear(java.lang.String appIdentifier,
int year)
appIdentifier - the app identifieryear - the year
Document findMailEML(MessageInstance messageInstance)
messageInstance - the message instance
ItemInstance createItemInstance(java.lang.String storyboardProcessName,
MessageBox mbox,
MessageInstance.MessageType msgType,
java.util.List<AttachmentItem> attachments,
java.util.HashMap<java.lang.String,java.lang.Object> variables)
storyboardProcessName - the storyboard process namembox - the mboxmsgType - the msg typeattachments - the attachmentsvariables - the variables
ItemInstance createItemInstance(java.lang.String storyboardProcessName,
MessageBox mbox,
MessageInstance.MessageType msgType,
java.util.List<AttachmentItem> attachments,
java.util.HashMap<java.lang.String,java.lang.Object> variables,
View processLayout)
storyboardProcessName - the storyboard process namembox - the mboxmsgType - the msg typeattachments - the attachmentsvariables - the variablesprocessLayout - the process layout
ItemInstance createItemInstance(java.lang.String storyboardProcessName,
MessageBox mbox,
MessageInstance.MessageType msgType,
java.util.List<AttachmentItem> attachments,
java.util.HashMap<java.lang.String,java.lang.Object> variables,
boolean startProcess)
storyboardProcessName - the storyboard process namembox - the mboxmsgType - the msg typeattachments - the attachmentsvariables - the variablesstartProcess - the start process
ItemInstance createItemInstance(java.lang.String storyboardProcessName,
MessageBox mbox,
MessageInstance.MessageType msgType,
java.util.List<AttachmentItem> attachments,
java.util.HashMap<java.lang.String,java.lang.Object> variables,
View processLayout,
boolean startProcess)
storyboardProcessName - the storyboard process namembox - the mboxmsgType - the msg typeattachments - the attachmentsvariables - the variablesprocessLayout - the process layoutstartProcess - the start process
ItemInstance createItemInstance(Storyboard storyboard,
MessageBox mbox,
MessageInstance.MessageType msgType,
java.util.List<AttachmentItem> attachments,
java.util.HashMap<java.lang.String,java.lang.Object> variables)
storyboard - the storyboardmbox - the mboxmsgType - the msg typeattachments - the attachmentsvariables - the variables
ItemInstance createItemInstance(Storyboard storyboard,
MessageBox mbox,
MessageInstance.MessageType msgType,
java.util.List<AttachmentItem> attachments,
java.util.HashMap<java.lang.String,java.lang.Object> variables,
boolean startProcess)
storyboard - the storyboardmbox - the mboxmsgType - the msg typeattachments - the attachmentsvariables - the variablesstartProcess - the start process
ItemInstance createItemInstance(Storyboard storyboard,
MessageBox mbox,
MessageInstance.MessageType msgType,
java.util.List<AttachmentItem> attachments,
java.util.HashMap<java.lang.String,java.lang.Object> variables,
View processLayout)
storyboard - the storyboardmbox - the mboxmsgType - the msg typeattachments - the attachmentsvariables - the variablesprocessLayout - the process layout
ItemInstance createItemInstance(Storyboard storyboard,
MessageBox mbox,
MessageInstance.MessageType msgType,
java.util.List<AttachmentItem> attachments,
java.util.HashMap<java.lang.String,java.lang.Object> variables,
View processLayout,
boolean startProcess)
storyboard - the storyboardmbox - the mboxmsgType - the msg typeattachments - the attachmentsvariables - the variablesprocessLayout - the process layoutstartProcess - the start process
ItemInstance cloneItemInstance(ItemInstance instance,
boolean cloneFrom,
boolean cloneTo,
boolean cloneCc,
boolean cloneBcc,
boolean cloneAttachments)
instance - the instancecloneFrom - the clone fromcloneTo - the clone tocloneCc - the clone cccloneBcc - the clone bcccloneAttachments - the clone attachments
java.util.List<ItemInstance> cloneMultipleItemInstance(ItemInstance instance,
boolean spamBccIntoTo,
boolean cloneOnlyExternal)
instance - the instancespamBccIntoTo - the spam bcc into tocloneOnlyExternal - the clone only external
void saveItemInstance(ItemInstance instance)
instance - the instance
void updateStatusById(java.lang.String itemInstanceId,
ItemInstance.WorkStatus status,
java.lang.String statusDescription)
throws java.lang.Exception
itemInstanceId - the item instance idstatus - the statusstatusDescription - the status description
java.lang.Exception - the exception
void updateItemHistoryVariables(java.lang.String id,
java.util.Map<java.lang.String,java.lang.Object> variables)
id - the idvariables - the variables
void updateItemHistoryVariables(ItemInstance instance,
java.util.Map<java.lang.String,java.lang.Object> variables)
instance - the instancevariables - the variablesvoid moveToTrash(ItemInstance instance)
instance - the instancevoid recoveryFromTrash(ItemInstance instance)
instance - the instanceContactInstance findContactInstanceById(java.lang.Long id)
id - the id
ContactInstance prepareInstanceContactByEmail(javax.mail.internet.InternetAddress email)
email - the email
ContactInstance addInstanceContact(ItemInstance instance,
ContactInstance contactInstance)
instance - the instancecontactInstance - the contact instance
ContactInstance addInstanceContact(ItemInstance instance,
ContactInstance.DestinationType destinationType,
java.lang.String contactDescription)
instance - the instancedestinationType - the destination typecontactDescription - the contact description
ContactInstance addInstanceContact(ItemInstance instance,
ContactInstance.DestinationType destinationType,
Contact contact)
instance - the instancedestinationType - the destination typecontact - the contact
ContactInstance addInstanceContact(ItemInstance instance,
ContactInstance.DestinationType destinationType,
LocationAttribute location)
instance - the instancedestinationType - the destination typelocation - the location
ContactInstance addInstanceContact(ItemInstance instance,
ContactInstance.DestinationType destinationType,
it.neverworks.security.User user,
ContactInstance parent)
instance - the instancedestinationType - the destination typeuser - the userparent - the parent
ContactInstance addInstanceContact(ItemInstance instance,
ContactInstance.DestinationType destinationType,
Organization organization,
ContactInstance parent)
instance - the instancedestinationType - the destination typeorganization - the organizationparent - the parent
ContactInstance addInstanceContactOrganization(ItemInstance instance,
ContactInstance.DestinationType destinationType,
java.lang.String organizationId,
ContactInstance parent)
instance - the instancedestinationType - the destination typeorganizationId - the organization idparent - the parent
ContactInstance addInstanceContactOrganization(java.lang.String instanceId,
ContactInstance.DestinationType destinationType,
java.lang.String organizationId,
ContactInstance parent)
instanceId - the instance iddestinationType - the destination typeorganizationId - the organization idparent - the parent
ContactInstance addInstanceContactUserOrganization(java.lang.String instanceId,
ContactInstance.DestinationType destinationType,
java.lang.String userOrganizationId,
ContactInstance parent)
instanceId - the instance iddestinationType - the destination typeuserOrganizationId - the user organization idparent - the parent
void removeInstanceContact(ContactInstance contactInstance)
contactInstance - the contact instance
void removeInstanceContactOrganization(java.lang.String instanceId,
ContactInstance.DestinationType destinationType,
java.lang.String organizationId)
instanceId - the instance iddestinationType - the destination typeorganizationId - the organization idit.neverworks.mail.helper.MessageHelper getMessageHelper(MessageInstance messageInstance)
messageInstance - the message instance
void restartInstance(ItemInstance instance,
boolean preserveProtVariables)
instance - the instancepreserveProtVariables - the preserve prot variables
void restartInstance(ItemInstance instance,
boolean preserveProtVariables,
Storyboard storyboard)
instance - the instancepreserveProtVariables - the preserve prot variablesstoryboard - the storyboardvoid suspendProcessInstance(ItemInstance instance)
instance - the instancevoid resumeProcessInstance(ItemInstance instance)
instance - the instancevoid deleteProcessInstance(ItemInstance instance)
instance - the instance
void restartAssignment(MessageInstance messageInstance,
java.util.List<InstanceAssignmentEntry> instanceAssignmentEntries)
throws java.lang.Exception
messageInstance - the message instanceinstanceAssignmentEntries - the instance assignment entries
java.lang.Exception - the exception
void restartAssignment(MessageInstance messageInstance,
java.util.List<InstanceAssignmentEntry> instanceAssignmentEntries,
java.util.Map<java.lang.String,java.lang.Object> customVariables)
throws java.lang.Exception
messageInstance - the message instanceinstanceAssignmentEntries - the instance assignment entriescustomVariables - the custom variables
java.lang.Exception - the exception
void restartAssignmentFromSheet(java.lang.String filePath,
ContactInstance parentCi)
throws java.lang.Exception
filePath - the file pathparentCi - the parent ci
java.lang.Exception - the exceptionvoid cleanTrash()
void cleanTrash(MessageBox mbox)
mbox - the mboxit.neverworks.mail.helper.MessageHelper getOriginalMessagePEC(MessageServiceInstance instance)
instance - the instance
File createFromAttachment(ItemInstance instance,
InstanceBaseAction.AttachmentInfo attachment,
ConfidentialityLevel confidentialityLevel)
instance - the instanceattachment - the attachmentconfidentialityLevel - the confidentiality level
File createFromAttachment(ItemInstance instance,
AttachmentItem ar,
ConfidentialityLevel confidentialityLevel)
instance - the instancear - the arconfidentialityLevel - the confidentiality level
RemoteDocument createRemoteAttachment(ItemInstance instance,
java.lang.String name,
CloudFile remoteFile)
instance - the instancename - the nameremoteFile - the remote file
Document createLocalAttachment(ItemInstance instance,
java.lang.String name,
java.lang.String contentType,
ObjectTemplate objectTemplate,
ConfidentialityLevel confidentialityLevel,
java.io.InputStream stream,
long size)
instance - the instancename - the namecontentType - the content typeobjectTemplate - the object templateconfidentialityLevel - the confidentiality levelstream - the streamsize - the size
File getFile(ItemInstance instance,
java.lang.String fileSetName,
java.lang.String fileName)
instance - the instancefileSetName - the file set namefileName - the file name
java.util.Set<File> getFiles(ItemInstance instance,
java.lang.String fileSetName)
instance - the instancefileSetName - the file set name
java.util.Set<File> getUserFilesAll(ItemInstance instance)
instance - the instance
java.util.Set<File> getFilesAll(ItemInstance instance)
instance - the instance
FileSet getFileSet(ItemInstance instance,
java.lang.String fileSetName)
instance - the instancefileSetName - the file set name
FileSet getOrCreateFileSet(ItemInstance instance,
java.lang.String fileSetName)
instance - the instancefileSetName - the file set name
void addFile(ItemInstance instance,
java.lang.String fileSetName,
File file)
instance - the instancefileSetName - the file set namefile - the file
void addFiles(ItemInstance instance,
java.lang.String fileSetName,
File... files)
instance - the instancefileSetName - the file set namefiles - the files
void addFiles(ItemInstance instance,
java.lang.String fileSetName,
java.util.Collection<? extends File> files)
instance - the instancefileSetName - the file set namefiles - the files
void removeFile(ItemInstance instance,
java.lang.String fileSetName,
boolean deleteFromDms,
File file)
instance - the instancefileSetName - the file set namedeleteFromDms - the delete from dmsfile - the file
void removeFiles(ItemInstance instance,
java.lang.String fileSetName,
boolean deleteFromDms,
File... files)
instance - the instancefileSetName - the file set namedeleteFromDms - the delete from dmsfiles - the files
void removeFiles(ItemInstance instance,
java.lang.String fileSetName,
boolean deleteFromDms,
java.util.Collection<? extends File> files)
instance - the instancefileSetName - the file set namedeleteFromDms - the delete from dmsfiles - the files
void replaceFiles(ItemInstance instance,
java.lang.String fileSetName,
boolean deleteFromDms,
File... files)
instance - the instancefileSetName - the file set namedeleteFromDms - the delete from dmsfiles - the files
void replaceFiles(ItemInstance instance,
java.lang.String fileSetName,
boolean deleteFromDms,
java.util.Collection<? extends File> files)
instance - the instancefileSetName - the file set namedeleteFromDms - the delete from dmsfiles - the files
void clearFiles(ItemInstance instance,
java.lang.String fileSetName,
boolean deleteFromDms)
instance - the instancefileSetName - the file set namedeleteFromDms - the delete from dms
Document getDocumentByName(ItemInstance instance,
java.lang.String attachmentName)
instance - the instanceattachmentName - the attachment name
java.util.Set<ItemInstance> findInstances(File file)
file - the file
java.util.Set<ItemInstance> findInstances(CloudFile file)
file - the file
ItemInstance findInstanceRelated(File file)
file - the file
ItemInstance findInstanceRelated(CloudFile file)
file - the file
void replicaAttachments(java.lang.String replicaServerId,
ItemInstance instance,
java.lang.String fileRegEx)
replicaServerId - the replica server idinstance - the instancefileRegEx - the file reg ex
void exportInstancesXml(InstancesSet instances,
java.io.File exportFile)
throws java.io.IOException
instances - the instancesexportFile - the export file
java.io.IOException - Signals that an I/O exception has occurred.
void exportInstancesXml(java.util.Date fromDate,
java.util.Date toDate,
java.io.File exportFile)
throws java.io.IOException
fromDate - the from datetoDate - the to dateexportFile - the export file
java.io.IOException - Signals that an I/O exception has occurred.
void removeItemLink(ItemInstance itemInstance,
ItemLink link)
itemInstance - the item instancelink - the link
File createItemLink(ItemInstance itemInstance,
File destination,
java.lang.String newName)
itemInstance - the item instancedestination - the destinationnewName - the new name
File createItemLink(ItemInstance itemInstance,
File destination,
java.lang.String newName,
java.lang.String note)
itemInstance - the item instancedestination - the destinationnewName - the new namenote - the note
boolean itemLinkExists(ItemInstance itemInstance,
File destination)
itemInstance - the item instancedestination - the destination
java.util.Set<ItemLink> getActiveItemLinks(ItemInstance instance)
instance - the instance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||