Package org.imixs.workflow.wopi
Class TextBlockHelperService
- java.lang.Object
-
- org.imixs.workflow.wopi.TextBlockHelperService
-
@DeclareRoles({"org.imixs.ACCESSLEVEL.NOACCESS","org.imixs.ACCESSLEVEL.READERACCESS","org.imixs.ACCESSLEVEL.AUTHORACCESS","org.imixs.ACCESSLEVEL.EDITORACCESS","org.imixs.ACCESSLEVEL.MANAGERACCESS"}) @RolesAllowed({"org.imixs.ACCESSLEVEL.NOACCESS","org.imixs.ACCESSLEVEL.READERACCESS","org.imixs.ACCESSLEVEL.AUTHORACCESS","org.imixs.ACCESSLEVEL.EDITORACCESS","org.imixs.ACCESSLEVEL.MANAGERACCESS"}) public class TextBlockHelperService extends ObjectThe TextBlockHelperService is helper service to fetch a textBlock provided by the Imixs-Office-Workflow project. A text-block document is identified by its ID (txtname) and holds a HTML or PlainText information. A text-block document holds the following items- txtmode - html/text
- txtcontent - textual information
- Author:
- rsoika
-
-
Constructor Summary
Constructors Constructor Description TextBlockHelperService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.imixs.workflow.ItemCollectionloadTextBlock(String name)This method returns a text-block ItemCollection for a specified name or id.
-
-
-
Method Detail
-
loadTextBlock
public org.imixs.workflow.ItemCollection loadTextBlock(String name)
This method returns a text-block ItemCollection for a specified name or id. If no text-block is found for this name the Method creates an empty text-block object. The text-block entity are not cached by this service. See also the TextBlockService in the Imixs-Office-Worklfow-Util project.- Parameters:
name- in attribute txtnamediscardCache- - indicates if the internal cache should be discarded.
-
-