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 Object
The 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 -
Method Summary
Modifier and TypeMethodDescriptionorg.imixs.workflow.ItemCollectionloadTextBlock(String name) This method returns a text-block ItemCollection for a specified name or id.
-
Constructor Details
-
TextBlockHelperService
public TextBlockHelperService()
-
-
Method Details
-
loadTextBlock
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.
-