提交变更结果(全部完成)(有下一节点)签批状态变更完成
撤销
1...0.*
超时确认
转发
提交
执行节点
归档
PerformanceDefintionDocument
+ Title+ VersionName+ Positions
+ addPosition()+ save()
NodeDocumentManager
NodeParticipant
+ Checkout+ Checkin+ Decision+ Rollback
发表意见(模板流程)(票数满足)
ArchiveNode
同意(自由流程)
DocumentTypeConfig
+ TypeID+ TypeName+ Extracters
registerContentExtracter()
1...N
驳回
EndorsementCreator
+ CompanyID+ UserID+ EmployeeID
处理中
EndorsementType
+ TypeID+ TypeName+ DocumentConfigs+ CompanyID
addDocumentConfig()
AddDocumentBehaviour
EndorsementContainer
+ EndorsementID+ Type+ Status+ Contents:IEndorsementContent[]
状态变更通知(检查)
EndosementDocument
DecisionNode
Category
+ CategoryName+ Items
+ delete()+ addItem()
PaymentVoucherExtracter
执行
IEndorsmentContentValidator
evaluate(contents:EndorsmentContent[])
节点提交/票数满足
可撤销
退签
已提交
提交检查结果(全部通过)状态变更通知(变更)
ConfigurationManager
GetAllEndosementTypesGetAllDocumentTypesAddEndosementType
征询节点
起草节点
EndosementStateConfig
+ State+ NodeName+ SupportBehaviours
签出
PerformanceDefinitionItemEntity
+ CompanyID+ PositionID+ CategoryName
未开始
收集检查结果
EndosementPerformanceExtracter
已归档状态
GrantValidator
+ ContentTypes
ExecutionNode
EnquireNode
NodeDefinition
NodeNameVotesParticipantsNextNode
决策节点
ParticipantGroup
+ Participants+ ExceptedParticipants
签批容器(内容)管理模块
EndorsementStatusCondition
+ Status
EndorsementDocument
+ AttachmentType+ AttachmentID
EndorsementTypeCondition
DocumentContentExtracter
extractvalidatesupportState(state)canSupportType(documentType)
IEndorsementContentCondition
Match(IEndorsement)
草稿状态
收集投票中
PerformancePosition
+ PositionID+ CompanyID+ Version+ Categories
+ delete()+ addCategory()
提交变更结果(全部完成)(签批状态变更失败)投票数递减撤回最后一个节点用户至已签出状态
已提交(征询中)状态
IEndorsement
+ EndorsementID+ Type+ Status+ CurrentNodeID
EndorsementNode
+ Checkout()+ Checkin()+ Approval()
DenyValidator
EndorsementTemplate
+ TemplateID+ TemplateName+ Nodes
EndorsementDocumentConfig
EndosementTypeIDDocumentTypeIDImmutable
EndorsementContent
+ ContentID+ ContentName+ UserID+ EndorsementNodeID+ ContentType+ Status
发表意见
Endorsement
已签出
EndorsementPhase
EndosementStateBehaviour
+ supportState(state)
EndorsementContainerManager
+ Rules:EndorsmentContainerRule[]
RegisterEndorsementContainer(IEndorsement):EndorsementContainerGetContainer(endorsementID):EndorsementContainerAddRule(rule)
收集变更结果
Participant
+ Name
EndorsementBehaviour
+ BehaviourName+ BehaviourType+ BehaviourParameter
已同意(执行中)状态
DraftNode
提交检查结果(失败)投票数递减撤回最后一个节点用户至已签出状态
提交变更结果(全部完成)(无下一节点)签批状态变更完成
EndorsementContainerRule
+ Conditions:IEndorsementContentCondition[]+ Evalutors:IEndorsementContentValidator[]
Evaluate(container:IEndorsmentContainer)
待签出
发起签批
PerformanceDefinitionItem
+ ItemID+ SourceItemID+ Name+ Orders+ Deleted+ MeasurementUnit+ Score+ RelationSystem+ Version
+ doEdit()+ doDelete()+ undo()