Package com.emc.d2fs.interfaces
Interface ICreationService
- All Superinterfaces:
ID2fsService
Service used for document creation process
-
Method Summary
Modifier and TypeMethodDescriptionapplyVdTemplate
(Context context, List<Attribute> parameters) Apply VD template to documentcreateProperties
(Context context, List<Attribute> parameters) Create document propertiesgetConvertStructureConfig
(Context context, String id) Get the convert folder structure to VD config based on folder.getFilteredTemplates
(Context context, String id, String filter, String filterPropName) Get filtered list of templatesgetImportStructureConfigs
(Context context, List<Attribute> parameters) Get the import structure configs for user.getTemplateFilterOptions
(Context context) Get property names for Template filter combo boxgetTemplates
(Context context, String id) Get all available templatesint[]
Get the size of the largest property page a user should get when creating/importing a document.getVDTemplates
(Context context, String id, List<Attribute> parameters) Get all available virtual documents templates config.boolean
hasAnyAttachments
(Context context, String id) Check if Documentum object is a mail and has attachments.boolean
hasAttachments
(Context context, String id) Check if Documentum object is a mail and has attachments.boolean
isAFolderOrACabinet
(Context context, List<Attribute> parameters) Check if the type in parameter is a folder or a a cabinet.boolean
isNoContentAuthorized
(Context context, String id) Check if document without content is authorizedboolean
isNoCreationProfile
(Context context, List<Attribute> parameters) Check if creation profile are availableboolean
removeAttachments
(Context context, String id) Remove attachments.setTemplate
(Context context, List<Attribute> parameters) Set template to documentMethods inherited from interface com.emc.d2fs.interfaces.ID2fsService
isRemote, setRemote
-
Method Details
-
createProperties
Create document properties- Parameters:
context
-Context
object containing informations about client/sessionparameters
-Attribute
list of properties- r_object_type: DF_STRING - Type of object to create
- contentId: DF_ID - (optional) Id of container to link new object
- object_name: DF_STRING - Name of new object
- mode: DF_STRING - Mode {"create"(default), "import"}
- start_version: DF_STRING - Starting version label(s) separated by ","
- inheritance_properties: DF_BOOLEAN - Control attribute inheritance
- inheritance_content: DF_BOOLEAN - Control content inheritance
- inheritance_vd: DF_BOOLEAN - Control vd inheritance
- block_inheritance_mod: DF_BOOLEAN - Block Inheritance Modification
- uploadFile: DF_STRING - Import file name
- attr_inheritance: DF_STRING - Inheritance configuration name
- default_value: DF_STRING - Default value configuration name
- linkedDocument: DF_BOOLEAN - Control application of default values and linking
- silentLinkedDocument: DF_BOOLEAN - Control application of default values and linking
- inheritedId: DF_ID, Id of object from which to inherit
- attachment_type: DF_STRING - Content type of mail attachments
- attachment_name: DF_STRING - Name of attachment
- property_config: DF_STRING - Property configuration name.
- list: DF_STRING - String containing a list of attribute names to be set(separated by AttributeUtils.SEPARATOR_VALUE)
- Returns:
- String value of process result
- Throws:
Exception
- Since:
- 4.0.1
-
setTemplate
Set template to document- Parameters:
context
-Context
object containing informations about client/sessionparameters
-Attribute
list of template parameters with document id- template: DF_STRING - Template name
- contentId: DF_ID - (optional) Id of link location
- Returns:
- String value of process result
- Throws:
Exception
- Since:
- 4.0.1
-
applyVdTemplate
Apply VD template to document- Parameters:
context
-Context
object containing informations about client/sessionparameters
-Attribute
list of template parameters with document id- template: DF_STRING - Template name
- contentId: DF_ID - (optional) Id of link location
- Returns:
- String value of process result
- Throws:
Exception
- Since:
- 4.2.1
-
getTemplates
Get all available templates -
getTemplateFilterOptions
Get property names for Template filter combo box -
getFilteredTemplates
List<Template> getFilteredTemplates(Context context, String id, String filter, String filterPropName) throws Exception Get filtered list of templates -
getVDTemplates
List<Template> getVDTemplates(Context context, String id, List<Attribute> parameters) throws Exception Get all available virtual documents templates config. -
isNoContentAuthorized
Check if document without content is authorized -
isNoCreationProfile
Check if creation profile are available -
isAFolderOrACabinet
Check if the type in parameter is a folder or a a cabinet. -
getUIMaxSize
int[] getUIMaxSize(Context context, String configName, String mode, String inheritedId, String contentId) throws Exception Get the size of the largest property page a user should get when creating/importing a document. This is for UI purpose- Parameters:
context
-Context
object containing informations about client/sessionconfigName
- : the configName to force ( or null )mode
- : create or importinheritedId
- : the id of the inherited objectcontentId
- : the id of the parent folder- Returns:
- an array of 2 integer : [width,height]
- Throws:
Exception
- Since:
- 4.1.0
-
hasAttachments
Check if Documentum object is a mail and has attachments. -
hasAnyAttachments
Check if Documentum object is a mail and has attachments. -
removeAttachments
Remove attachments. -
getImportStructureConfigs
List<ImportStructureConfig> getImportStructureConfigs(Context context, List<Attribute> parameters) throws Exception Get the import structure configs for user. -
getConvertStructureConfig
Get the convert folder structure to VD config based on folder.
-