Package com.emc.d2fs.interfaces
Interface IDialogService
public interface IDialogService
D2 dialog services.
Common Dialog Attributes:
PropertiesDialog --
CreateDialog --
ImportAttachmentDialog --
AdvancedSearchDialog --
SaveSearchDialog --
CommentDialog --
D2WorkflowLaunchDialog --
TaskDelegateWfManagerDialog
TaskDialog --
TaskPerformerDialog
TaskPropertyPageDialog --
DestroyDialog --
AdminDictionaryDialog --
ExportDictionaryDialog --
LoadVersionDictionaryDialog --
SaveVersionDictionaryDialog --
DistributionDialog --
ChangeStateDialog --
MassUpdateDialog --
ChangePermissionsDialog --
PreferencesDialog --
DmGroupDialog --
DmUserDialog --
RelationCreateDialog --
QueryCategoryDialog --
SendmailDialog --
SignOffDialog --
ContentSubscriptionDialog --
ExportTaxonomyDialog --
LoadVersionTaxonomyDialog --
SaveVersionTaxonomyDialog --
VDSnapshotCreateDialog --
VdTemplateDialog --
Note that Attribute lists are used to provide common and dialog specific arguments and object attributes when building
and submitting dialogs.
See D2fsConstants for additional dialog names.
- mode: DF_STRING - Desired Dialog Mode {"create", "edit", "import"}
- id: DF_ID - Id of the target object; Defaults to Context's id
- r_object_type: DF_STRING - Documentum object type
- confirm: DF_BOOLEAN - Indicate that the operation is confirmed. If an operation requires confirmation, this must be true or a D2ConfirmException() will be returned.
- Type specific attribute name: VARIOUS - Documentum object specific attributes. ie. "object_name"
D2fsConstants.PROPERTIES- r_object_type: DF_STRING - Documentum object type (for creation)
- count_import_file: DF_INTEGER - Number of files being imported
- property_config: DF_STRING - Name of property configuration
- force_dialog: DF_STRING - Force a specific dialog name
- force_readonly: DF_BOOLEAN - Boolean to force dialog to be readonly
- o2_config: DF_STRING - O2 configuration name
- default_value: DF_STRING - Name of default value configuration name
- list: DF_STRING - List of attribute names that will get default values (separated by AttributeUtils.SEPARATOR_VALUE)
- inheritedId: DF_ID - ID of object from which to inherit
- inheritance_properties: DF_BOOLEAN- Control if property inheritance is active
- inheritance_content: DF_BOOLEAN- Control if content is inherited
- attr_inheritance: DF_STRING - Name of the attribute inheritance configuration
D2fsConstants.CREATE- file_name: DF_STRING - Filename added to label
- inheritedId: DF_STRING - ID of object from which to inherit
D2fsConstants.IMPORT_ATTACHMENT- attachment_names: (OUTPUT?) DF_STRING- List of filenames
D2fsConstants.ADVANCED_SEARCH- id: DF_ID - Id of search or {"node_last_search" for last search}
- mode: DF_STRING - Mode {"creation | "modification"}
D2fsConstants.SAVE_SEARCH- search_name: DF_STRING - Name of saved search.
D2fsConstants.COMMENT- id: DF_ID - Id of the object being commented on
- editor: DF_STRING - Richtext body of the comment
- parentCommentId: DF_STRING - Id of the parent comment (if any)
D2fsConstants.D2WORKFLOW_LAUNCH- config: DF_STRING - Name of the D2 workflow config
- workflowTrackerId: DF_ID - Id of the workflow tracker
- contextType: DF_STRING - Task/activity name
D2fsConstants.TASK- operation: DF_STRING - The task operation {"forward", "reject", ???OTHERS}
- workflowTrackerId: DF_ID - Id of the workflow tracker
D2fsConstants.TASK_PROPERTY- property_page: DF_STRING - Name of the property configuration.
- dialog_title_prefix: DF_STRING - Name added to beginning of dialog label
D2fsConstants.DESTROY- okForAll: DF_STRING - Include "buttonOkForAll" button if "true"
D2fsConstants.ADMIN_DICTIONARY- gridLocales: DF_STRING - List of locales (separated by AttributeUtils.SEPARATOR_VALUE)
- gridAlias: DF_STRING - List of alias values (separated by AttributeUtils.SEPARATOR_VALUE)
- gridLocalesRemove: DF_STRING - locales to remove
- gridAliasRemove: DF_STRING - locales aliases to remove
D2fsConstants.EXPORT_DICTIONARY- value_number: DF_STRING - A value for default value number.
- IsABigDictionary: DF_BOOLEAN - Adjust height for larger dictionaries.
D2fsConstants.LOAD_VERSION_DICTIONARY- object_name: DF_STRING - Dictionary Name
D2fsConstants.SAVE_VERSION_DICTIONARY- object_name: DF_STRING - Dictionary Name
D2fsConstants.DISTRIBUTION_DIALOG- config_name: DF_STRING - Name of distribution config (overridden by tracker config name)
D2fsConstants.CHANGE_STATE- dialog_lifecycle: DF_STRING - Property configuration name
D2fsConstants.MASS_UPDATE_DIALOG- config_name: DF_STRING - Mass update configuration name
D2fsConstants.CHANGE_PERMISSIONS- config_name: DF_STRING - Name of Acl configuration name
D2fsConstants.PREFERENCES- FORCED_LANGUAGE: DF_BOOLEAN - Set forced language to be active.
D2fsConstants.DM_GROUP_DIALOG- mode: DF_STRING - Determine if create or other mode {"create", "edit"}.
D2fsConstants.DM_USER_DIALOG- mode: DF_STRING - Determine if create or other mode {"create", "edit"}.
D2fsConstants.DM_USER_DIALOG- description: DF_STRING - Description of new relation
- relation_type: DF_STRING - Name of the relation type.
- relation_target: DF_BOOLEAN - Reverse the relationship.
- relation_target: DF_STRING - Id of the relation child.
(for use in validDialog()) - -
D2fsConstants.QUERY_CATEGORY- is_public: DF_BOOLEAN - The default value for is_public
D2fsConstants.SENDMAIL- locate_url: DF_STRING - List of URLs to include in message body (separated by AttributeUtils.SEPARATOR_VALUE)
(for validDialog)
- address: DF_STRING - List of recipients (separated by AttributeUtils.SEPARATOR_VALUE)
- message: DF_STRING - Message body.
- subject: DF_STRING - Message subject.
- attach: DF_BOOLEAN - Determine if attachments are added.
- format: DF_STRING - Preferred format
D2fsConstants.SIGN_OFF- intention_assistance_type: DF_STRING - Assistance type
- intention_assistance_value: DF_STRING - Assistance value
- intention_assistance_locale: DF_STRING - Assistance local (default "auto")
- intention_required: DF_BOOLEAN - Determine if intention is required.
- intention_editable: DF_BOOLEAN - Determine if intention is editable
D2fsConstants.CONTENT_SUBSCRIPTION- subscriptions: DF_STRING - List of subscription configuration names for each subscription (separated by AttributeUtils.SEPARATOR_VALUE)
(for validDialog)
D2fsConstants.EXPORT_TAXONOMY- value_number: DF_STRING - A value for default value number.
- IsABigTaxonomy: DF_BOOLEAN - Adjust height of dialog for large taxonomy.
D2fsConstants.LOAD_VERSION_TAXONOMY- object_name: DF_STRING - Taxonomy name
D2fsConstants.SAVE_VERSION_TAXONOMY- object_name: DF_STRING - Taxonomy name
D2fsConstants.VD_SNAPSHOT_CREATE_DIALOG- title: DF_STRING - Title of snapshot
(for validDialog)
D2fsConstants.VD_INHERITED_TEMPLATES-
Method Summary
Modifier and TypeMethodDescriptionCancel dialogGet dialog object to displaygetExportValuesUrl(Context context, String format, String separator) Get export values urlgetImportValuesUrl(Context context, String separator) Get import values urlGet label valuesgetOptions(Context context, List<Attribute> parameters) Get options for combo box fielddoc heregetTaxonomy(Context context, List<Attribute> parameters) Get taxonomy values for combo box fieldbooleanisMemberOfGroup(Context context, List<Attribute> attributes) Check if user is member of a groupvoidsetBaseUrl(String url) Set server base url used to build the url forgetExportValuesUrlorgetImportValuesUrlSince 4.2.1 forgetDialogorvalidDialogorcancelDialogValid dialog submission
-
Method Details
-
getDialog
Dialog getDialog(Context context, String id, String dialogName, List<Attribute> parameters) throws Exception Get dialog object to display- Parameters:
context-Contextobject containing informations about client/sessionid- String value of related document iddialogName- String dialog name -- SeeD2fsConstantsfor values labeled "Dialog name".parameters-Attributelist of additional parameters.Attributes: "mode" = {"create", "edit", "import"} -- Dialog use mode
- Returns:
Dialogobject- Throws:
Exception- Since:
- 4.0.1
-
validDialog
Dialog validDialog(Context context, String id, String dialogName, List<Attribute> parameters) throws Exception Valid dialog submission- Parameters:
context-Contextobject containing informations about client/sessionid- String value of related document iddialogName- String dialog name -- See values labeled "Dialog name" inD2fsConstants.parameters-Attributelist of additional parameters.getDialog(com.emc.d2fs.models.context.Context, java.lang.String, java.lang.String, java.util.List<com.emc.d2fs.models.attribute.Attribute>)for attribute details.- Returns:
Dialogobject- Throws:
Exception- Since:
- 4.0.1
-
cancelDialog
Dialog cancelDialog(Context context, String id, String dialogName, List<Attribute> parameters) throws Exception Cancel dialog- Parameters:
context-Contextobject containing informations about client/sessionid- String value of related document iddialogName- String dialog name -- See values labeled "Dialog name"D2fsConstantsparameters-Attributelist of additional parameters- Returns:
Dialogobject- Throws:
Exception- Since:
- 4.0.1
-
getOptions
Get options for combo box field -
getTaxonomy
Get taxonomy values for combo box field -
getLabels
Get label values -
isMemberOfGroup
Check if user is member of a group -
setBaseUrl
Set server base url used to build the url forgetExportValuesUrlorgetImportValuesUrlSince 4.2.1 forgetDialogorvalidDialogorcancelDialog- Parameters:
url- String value of base url- Since:
- 4.1.0
-
getExportValuesUrl
Get export values url- Parameters:
context-Contextobject containing informations about client/sessionformat- String value of dictionary formatseparator- String value of data separator value- Returns:
- String value of export url
- Throws:
D2fsExceptionException- Since:
- 4.1.0
-
getImportValuesUrl
Get import values url- Parameters:
context-Contextobject containing informations about client/sessionseparator- String value of data separator value- Returns:
- String value of import url
- Throws:
D2fsExceptionException- Since:
- 4.1.0
-
getSubforms
List<SubformInfo> getSubforms(Context context, String id, String dialogName, List<Attribute> parameters) throws Exception doc here- Throws:
Exception
-