Package com.emc.d2fs.interfaces
Interface ITemplateService
- All Superinterfaces:
ID2fsService
Document template management.
-
Method Summary
Modifier and TypeMethodDescriptiongetTemplates
(Context context, String id) Get all available templatesboolean
isNoContentAuthorized
(Context context, String id) Check if document without content is authorizedboolean
setTemplate
(Context context, String id, String templateName) Set template to documentMethods inherited from interface com.emc.d2fs.interfaces.ID2fsService
isRemote, setRemote
-
Method Details
-
setTemplate
Set template to document- Parameters:
context
-Context
object containing informations about client/sessionid
- String value of document idtemplateName
- String value of template name- Returns:
- true if process performs without exception
- Throws:
D2fsException
- Since:
- 4.0.1
-
getTemplates
Get all available templates -
isNoContentAuthorized
Check if document without content is authorized- Parameters:
context
-Context
object containing informations about client/sessionid
- String value of document id- Returns:
- true if empty document is allowed
- Throws:
D2fsException
- Since:
- 4.0.1
-