Artefact:Model/org/miotope/samples/shareyourparsley/v2/SearchAndOrder

Code
~ search,details,confirm,finished[Finished] + XMPresentation - IconName = "parsley.svg" + XMLogicImplementation - OnCreateInitialisation = JavaCodeTemplate=« setup(context); ==>> state1; » + XMPresentation - VisibilityStates = «state1||state2» + XMVUI - Mode = Literal="transactionreadwrite" + XMPresentation - VisibilityStates = «state1||state3» + XMVUI - Mode = Literal="transactionreadwrite" !! setup void NoUI,Transactional + XMLogicImplementation - OperationBody = JavaCodeTemplate=« ==>> state2; setAttribute1(context, Class_Factory_Model08a.construct(context, "", "")); setAttribute2(context, Class_Factory_Model08b.construct(context, "", "")); setAttribute3(context, Class_Factory_Model08a.construct(context, "", "")); setAttribute4(context, Class_Factory_Model08a.construct(context, "", "")); » + XMTransactional - PerCall = true - Independent = true - Final = false !! next1 void state1 + XMPresentation - Name = next - Impact = Proceed + XMLogicImplementation - OperationBody = JavaCodeTemplate=« ==>> state2; » !! next2 void state2 + XMPresentation - Name = next - Impact = Proceed + XMLogicImplementation - OperationBody = JavaCodeTemplate=« ==>> state3; » !! next3 void state3 + XMPresentation - Name = next - Impact = Proceed + XMLogicImplementation - OperationBody = JavaCodeTemplate=« ==>> state4; » !! back6 void state6 + XMPresentation - Name = back - Impact = Proceed + XMLogicImplementation - OperationBody = JavaCodeTemplate=« ==>> state5; » !! back7 void state7 + XMPresentation - Name = back - Impact = Proceed + XMLogicImplementation - OperationBody = JavaCodeTemplate=« ==>> state6; » !! cancel void search||details||confirm + XMPresentation - Name = "Stop Transaction" - Impact = Abort + XMLogicImplementation - OperationBody = JavaCodeTemplate=« ==>> finished; »
 * 1) SearchAndOrder StateMachine
 * Attribute1 net/leue/andreas/sandbox/model08/Model08a TransactionInside,AllowNull
 * Attribute2 net/leue/andreas/sandbox/model08/Model08b TransactionInside,AllowNull