XML Schema "workflowdefinition.xsd"
Target Namespace:
<global>
Components:
global element, 21 local elements, 7 complexTypes, 3 simpleTypes
Schema Location:
/home/opc/workspace/lpjava-15.0.x-dist/repo/Lumis_PortalJava/builder/docflex-xml-kit/../../distribution/tmp/workflowdefinition.xsd, see XML source
All Element Summary
actionHandler (type xsd:string) This element must contain the class name of an action handler
Type:
xsd:string
Content:
simple
Defined:
locally at 1 location
actionHandlers (type actionHandlers)
Type:
Content:
complex, 1 element
Defined:
locally at 1 location
color (within state) This element defines colors for this state.
Type:
embedded complexType
Content:
complex, 2 elements
Defined:
locally at 1 location
Includes:
definitions of 2 elements
description (type xsd:string) The description of the workflow.
Type:
xsd:string
Content:
simple
Defined:
locally at 3 locations
finalState (within transition) The final state for this transition.
Type:
embedded complexType
Content:
empty, 1 attribute
Defined:
locally at 1 location
Includes:
definition of 1 attribute
image (within state) This element defines icon images for this state.
Type:
embedded complexType
Content:
complex, 2 elements
Defined:
locally at 1 location
Includes:
definitions of 2 elements
large (type xsd:string) This element defines the large icon image for this state.
Type:
xsd:string
Content:
simple
Defined:
locally at 1 location
light (type xsd:string) This element defines strong color for this state.
Type:
xsd:string
Content:
simple
Defined:
locally at 1 location
permission (within permissions) A permission specification.
Type:
embedded complexType
Content:
empty, 2 attributes
Defined:
locally at 1 location
Includes:
definitions of 2 attributes
permission (within permissions) A permission specification.
Type:
embedded complexType
Content:
empty, 2 attributes
Defined:
locally at 1 location
Includes:
definitions of 2 attributes
permissions (type permissions) This element defines the roles that have permission to perform this transition.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
locally at 1 location
permissions (type statePermissions) This element defines the roles that have permission to access the contents in this state.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
locally at 1 location
role (within roles) The definition of a role in this workflow.
Type:
embedded complexType
Content:
empty, 2 attributes
Defined:
locally at 1 location
Includes:
definitions of 2 attributes
roles (within workflow) Lists the roles that exist for this workflow.
Type:
embedded complexType
Content:
complex, 2 attributes, 1 element
Defined:
locally at 1 location
Includes:
definition of 1 element
small (type xsd:string) This element defines the small icon image for this state.
Type:
xsd:string
Content:
simple
Defined:
locally at 1 location
state (type state) This element defines a workflow state.
Type:
Content:
complex, 5 attributes, 5 elements
Defined:
locally at 1 location
states (type states) This element lists the states that exist in this workflow.
Type:
Content:
complex, 1 element
Defined:
locally at 1 location
strong (type xsd:string) This element defines the strong color for this state.
Type:
xsd:string
Content:
simple
Defined:
locally at 1 location
transition (within transitions)
Type:
embedded complexType
Content:
complex, 3 attributes, 3 elements
Defined:
locally at 1 location
Includes:
definitions of 2 attributes and 3 elements
transitions (type transitions) This element defines the transitions available for contents in this state.
Type:
Content:
complex, 3 attributes, 1 element
Defined:
locally at 1 location
workflow (type workflow) Element used to define a workflow.
Type:
Content:
complex, 2 attributes, 4 elements
Defined:
locally at 1 location
workflowDefinition The workflowDefinition element is the root element of a workflow definition XML file.
Type:
embedded complexType
Content:
complex, 1 element
Includes:
definition of 1 element
Used:
never
Complex Type Summary
actionHandlers Defines a list of action handlers.
Content:
complex, 1 element
Includes:
definition of 1 element
Used:
permissions Specifies the permissions for a workflow resource.
Content:
complex, 2 attributes, 1 element
Includes:
definition of 1 element
Used:
state A workflow state definition.
Content:
complex, 5 attributes, 5 elements
Includes:
definitions of 5 attributes and 5 elements
Used:
statePermissions Specifies the permissions for a workflow resource.
Content:
complex, 2 attributes, 1 element
Includes:
definition of 1 element
Used:
states Defines a list of workflow states.
Content:
complex, 1 element
Includes:
definition of 1 element
Used:
transitions Specifies a list of transitions.
Content:
complex, 3 attributes, 1 element
Includes:
definition of 1 element
Used:
workflow Defines a workflow.
Content:
complex, 2 attributes, 4 elements
Includes:
definitions of 4 elements
Used:
Simple Type Summary
lockActionTypes
Used:
scopeTypes The possible scopes of a permission.
Used:
stateScopeTypes The possible scopes of a permission.
Used:
XML Source
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Revision: 16605 $ $Date: 2014-11-11 19:43:51 -0200 (Tue, 11 Nov 2014) $ -->
<xsd:schema xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:annotation>
<xsd:documentation>Defines a workflow.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element minOccurs="0" name="description" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
The description of the workflow. May be a key for a
string to be translated by this workflow's string resources.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="roles">
<xsd:annotation>
<xsd:documentation>
Lists the roles that exist for this workflow.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="1" name="role">
<xsd:annotation>
<xsd:documentation>
The definition of a role in this
workflow.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="id" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>
The id of the role. Must be
unique between all roles in this workflow.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="name" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>
The display name of the
role. May be a key for a string to be
translated by this workflow's string
resources.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element minOccurs="0" name="actionHandlers" type="actionHandlers"/>
<xsd:element name="states" type="states">
<xsd:annotation>
<xsd:documentation>
This element lists the states that exist in this
workflow.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="id" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>
The id of the workflow. Must be a unique id between all
workflows in the portal.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="name" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>
The display name of the workflow. May be a key for a
string to be translated by this workflow's string resources.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="states">
<xsd:annotation>
<xsd:documentation>Defines a list of workflow states.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="1" name="state" type="state">
<xsd:annotation>
<xsd:documentation>
This element defines a workflow state.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="actionHandlers">
<xsd:annotation>
<xsd:documentation>
Defines a list of action handlers. These handlers will be called when either the state or assigned to field changes. If this tag is not specified a default action handler WorkflowSendMailActionHandler is used.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="actionHandler" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
This element must contain the class name of an action handler
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="state">
<xsd:annotation>
<xsd:documentation>A workflow state definition.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element minOccurs="0" name="description" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
The description of the state. May be a key for a
string to be translated by this workflow's string resources.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="color">
<xsd:annotation>
<xsd:documentation>
This element defines colors for this state.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="0" name="light" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
This element defines strong color
for this state. Its value should be a HTML valid color
value.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="strong" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
This element defines the strong
color for this state. Its value should be a HTML valid
color value.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element minOccurs="0" name="image">
<xsd:annotation>
<xsd:documentation>
This element defines icon images for this state.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element minOccurs="0" name="small" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
This element defines the small
icon image for this state. It should be a path
relative to the web application root.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="large" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
This element defines the large
icon image for this state. It should be a path
relative to the web application root.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="permissions" type="statePermissions">
<xsd:annotation>
<xsd:documentation>
This element defines the roles that have
permission to access the contents in this state.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="transitions" type="transitions">
<xsd:annotation>
<xsd:documentation>
This element defines the transitions available
for contents in this state.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="id" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>
The id of the state. Must be unique between all states
in this workflow.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="name" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>
The display name of the state. May be a key for a string
to be translated by this workflow's string resources.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute default="false" name="isStart" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation>
Indicates if this state is the start state of the workflow.
The default value is false.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute default="false" name="isArchived" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation>
Indicates if this state stored archived contents.
When a published content ends its publication period, its state is changed to the
workflow's isArchived state that is directly reachable from its current state.
The default value is false.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute default="false" name="isPublished" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation>
Indicates if this state represents a published state.
Contents that are not in a published state may not be published.
The default value is false.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="permissions">
<xsd:annotation>
<xsd:documentation>
Specifies the permissions for a workflow resource.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="permission">
<xsd:annotation>
<xsd:documentation>
A permission specification. It is composed of
and id and a scope. The id is a workflow role id. The scope defines if
users in that role has permission only if the content is assigned to
the user, one of his groups or noone; or if users in that role has
permission to access all contents regardless of their assigned
to.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="id" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>
The role id for this permission. Must be
equal to the id of a role defined for the workflow.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="scope" type="scopeTypes" use="required">
<xsd:annotation>
<xsd:documentation>
The scope for this permission.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="statePermissions">
<xsd:annotation>
<xsd:documentation>
Specifies the permissions for a workflow resource.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="permission">
<xsd:annotation>
<xsd:documentation>
A permission specification. It is composed of
id and a scope. The id is a workflow role id.
The scope defines the users in that role a proper permission. There are four Scope types to be explained below.
- assignedTo - . The scope defines if users in that role has permission only if the content is assigned to
the user, one of his groups or none; - all - . If users in that role has
permission to access all contents regardless of their assigned
to; - viewCreatedBy - . If users in that role has permission to view only his contents, but
without permission to edit them or create a new content; - viewAll - If users in that role has permission to view all contents but
without permission to edit them or create a new content.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="id" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>
The role id for this permission. Must be
equal to the id of a role defined for the workflow.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="scope" type="stateScopeTypes" use="required">
<xsd:annotation>
<xsd:documentation>
The scope for this permission.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="transitions">
<xsd:annotation>
<xsd:documentation>Specifies a list of transitions.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="transition">
<xsd:complexType>
<xsd:annotation>
<xsd:documentation>Specify a transition.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element minOccurs="0" name="description" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
The description of the transition. May be a key for a string to be translated by this workflow's string resources.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" name="finalState">
<xsd:annotation>
<xsd:documentation>
The final state for this transition. Must be equal to the id of a workflow state.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="id" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>
The id of the final state for this transition. Must be equal to the id of a workflow state.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element minOccurs="0" name="permissions" type="permissions">
<xsd:annotation>
<xsd:documentation>
This element defines the roles that have
permission to perform this transition. If this element
is not present, the same permissions defined in
this transition's source state is applied, but only in case of assingnedTo or all. When the
state scope is defined as viewAll or viewCreatedBy, the transition permission must be present.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="id" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>
The id of the transition. Must be unique between all transitions in this workflow.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="name" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>
The display name of the transition. May be a key for a string to be translated by this workflow's string resources.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute default="unlock" name="lockAction" type="lockActionTypes" use="optional">
<xsd:annotation>
<xsd:documentation>
The action that should be taken when this transition in the workflow occurs. Has unlock as default value.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="lockActionTypes">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="unlock">
<xsd:annotation>
<xsd:documentation>
Automatically unlocks from the content when executing the transition.
</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="keepCurrent">
<xsd:annotation>
<xsd:documentation>
Will keep the current lock state on the content when moving from one state of the workflow
to the next if the user that locked it has access to the content in the next state of the workflow.
</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="scopeTypes">
<xsd:annotation>
<xsd:documentation>
The possible scopes of a
permission.
</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="assignedTo">
<xsd:annotation>
<xsd:documentation>
Permissions with this scope allows are given
only when the content is assigned to the user, one of his groups, or
none.
</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="all">
<xsd:annotation>
<xsd:documentation>
Permissions with this scope allows are given to
all contents, regardless of whom the content is assigned
to.
</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="stateScopeTypes">
<xsd:annotation>
<xsd:documentation>
The possible scopes of a
permission.
</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="assignedTo">
<xsd:annotation>
<xsd:documentation>
Permissions with this scope allows are given
only when the content is assigned to the user, one of his groups, or
none.
</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="all">
<xsd:annotation>
<xsd:documentation>
Permissions with this scope allows are given to
all contents, regardless of whom the content is assigned
to.
</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="viewAll">
<xsd:annotation>
<xsd:documentation>
Permissions with this scope allows the user
to see all contents, however is not allowed to edit none of them or create a new one.
</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="viewCreatedBy">
<xsd:annotation>
<xsd:documentation>
Permissions with this scope allows the user
to see only the contents it has created, however is not allowed
to edit none of them or create a new one.
</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:element name="workflowDefinition">
<xsd:annotation>
<xsd:documentation>
The workflowDefinition element is the root element of a
workflow definition XML file.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="1" minOccurs="1" name="workflow" type="workflow">
<xsd:annotation>
<xsd:documentation>Element used to define a workflow.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>

XML Schema documentation generated with DocFlex/XML (Kit) v1.6.2
DocFlex/XML is a powerful template-driven documentation and report generator from any data stored in XML files. Based on an innovative technology developed by FILIGRIS WORKS, this new tool offers virtuoso data querying and formatting capabilities not found in anything else!
Need to convert your XML data into a clear nice-looking documentation or reports? Web-ready hypertext HTML or printable MS Word / OpenOffice.org friendly RTF? DocFlex/XML may be a cheap, quick and effective solution exactly for this task!
Have questions? Not sure how to use it? Just send us e-mail to contact@filigris.com and we are always happy to help you! See also our services at www.filigris.com

Lumisportal  15.0.4.230411 - Copyright © 2006–2023 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.