Package de.espirit.firstspirit.access
Interface Workflowable
- All Known Subinterfaces:
Allowed
,Body
,ChannelSourceProvider
,Content2
,Content2Params
,Content2Section
,ContentFolder
,ContentProducer
,ContentStoreRoot
,ContentWorkflowable
,DataProvider
,Dataset
,DocLink
,DocumentGroup
,File
,FolderLangSpec
,FormatTemplate
,FormatTemplateChannel
,FormatTemplateContainer
,FormatTemplateFolder
,FormatTemplates
,GCABody
,GCAFolder
,GCAPage
,GCASection
,GlobalContentArea
,GlobalStoreRoot
,GomSourceProvider
,IDProvider
,LanguageInfo
,LinkTemplate
,LinkTemplates
,MasterTemplate
,Media
,MediaElement
,MediaFolder
,MediaStoreRoot
,PackagePoolItem
,Page
,PageFolder
,PageGroup
,PageLangSpec
,PageRef
,PageRefFolder
,PageStoreRoot
,PageTemplate
,PageTemplates
,Picture
,PictureResolution
,Previewable
,PreviewImageProvider
,ProjectProperties
,Query
,Referenceable
,Schema
,SchemaContainer
,SchemaFolder
,Schemes
,Script
,ScriptContainer
,ScriptFolder
,Scripts
,Section<T>
,SectionReference<T>
,SectionTemplate
,SectionTemplates
,SiteStoreFolder
,SiteStoreRoot
,StartNode
,Store
,StoreElement
,StyleTemplate
,StyleTemplateLink
,TableFormatTemplate
,TableTemplate
,Template
,TemplateBody
,TemplateContainer<T>
,TemplateContentProvider
,TemplateExtension
,TemplateFolder<T>
,TemplateProvider<T>
,TemplateStoreElement
,TemplateStoreRoot
,URLProperties
,UserProperties
,Workflow
,WorkflowContainer
,WorkflowFolder
,Workflows
public interface Workflowable
Implementors are FirstSpirit elements which allows starting a workflow.
- Since:
- 3.1.168
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
Deletes this Workflowable.@Nullable Color
getColor()
Get the color of the current state.@Nullable Task
getTask()
Get the possible assignedTask
or null.boolean
hasTask()
Does this elements has aTask
assigned?void
Removes a already set Task.void
Set a new color.void
Set the givenTask
.
-
Method Details
-
hasTask
Does this elements has aTask
assigned?- Since:
- 3.1.168
- See Also:
-
getTask
@ApiDoc(comment="Get the possible assigned Task or null.", since="3.1.168") @Nullable @Nullable Task getTask()Get the possible assignedTask
or null.- Returns:
- the Task or null
- Since:
- 3.1.168
- See Also:
-
setTask
Set the givenTask
. -
removeTask
Removes a already set Task.- Since:
- 3.1.168
-
getColor
@ApiDoc(comment="Get the color of the current state.", since="3.1.168") @Nullable @Nullable Color getColor()Get the color of the current state.- Returns:
- the color or null
- Since:
- 3.1.168
- See Also:
-
setColor
Set a new color.- Since:
- 3.1.168
- See Also:
-
delete
Deletes this Workflowable.- Throws:
LockException
- if the direct parent is locked in a different session- Since:
- 4.0.122
-