Package com.emc.d2fs.interfaces
Interface IDistributionService
- All Superinterfaces:
ID2fsService
Document distribution services.
-
Method Summary
Modifier and TypeMethodDescriptiongetDistributionContent
(Context context, List<Attribute> attributes) Get the list of distributions for he user define in the context.getReportFileName
(Context context, String id) return a file name for the distribution report generated.getSignoffParameters
(Context context, String configName, String action) return the signoff configuration for a distribution.boolean
handleAction
(Context context, String id, List<Attribute> attributes) Handle action accept o reject on a document for a distribution.boolean
launchDistribution
(Context context, String id, List<Attribute> attributes) Launch a distribution on a document.boolean
stopDistribution
(Context context, String id, List<Attribute> attributes) Stop a distribution on a document.Methods inherited from interface com.emc.d2fs.interfaces.ID2fsService
isRemote, setRemote
-
Method Details
-
launchDistribution
Launch a distribution on a document.- Parameters:
context
-Context
object containing informations about client/sessionid
- String value of the distribution tracker idattributes
- Listsome parameters. - config_name: DF_STRING - (optional)Configuration name
- docId: DF_ID - Id of object for distribution
- list: DF_STRING - List of object attribute names (separated by AttributeUtils.SEPARATOR_VALUE)
- Returns:
- boolean
- Throws:
Exception
- Since:
- 4.0.1
-
stopDistribution
Stop a distribution on a document. -
getDistributionContent
Get the list of distributions for he user define in the context. -
handleAction
Handle action accept o reject on a document for a distribution.- Parameters:
context
-Context
object containing informations about client/sessionid
- String value of the distribution tracker idattributes
- Listsome parameters. - config_name: DF_STRING - Configuration name
- action: DF_STRING - Action name {"accept", "reject"}
- signoff_required: DF_BOOLEAN - Determine is signoff is required.
- signoff_intention: DF_STRING - Signoff intention.
- Returns:
- boolean
- Throws:
Exception
- Since:
- 4.0.1
-
getSignoffParameters
List<Attribute> getSignoffParameters(Context context, String configName, String action) throws Exception return the signoff configuration for a distribution. -
getReportFileName
return a file name for the distribution report generated.
-