-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
588e74a
commit 940c2a5
Showing
13 changed files
with
98 additions
and
5 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
repository/Orbeon.package/OrbeonAbstractFormDefinition.class/class/newNamed.in..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
other | ||
newNamed: formName in: anOrbeonApplication | ||
"Answer a new instance of the receiver in OrbeonApplication named <app> with form named <formName>. | ||
If the OrbeonApplication does not exist --> a new one is created" | ||
|
||
^self new setApplication: anOrbeonApplication formName: formName |
6 changes: 6 additions & 0 deletions
6
...ory/Orbeon.package/OrbeonAbstractFormDefinition.class/class/newNamed.inBpmApplication..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
other | ||
newNamed: form inBpmApplication: aBpmApplication | ||
"Answer a new instance of the receiver in OrbeonApplication named <app> with form named <form>. | ||
If the OrbeonApplication does not exist --> a new one is created" | ||
|
||
^self new setBpmApplication: aBpmApplication formName: form |
5 changes: 5 additions & 0 deletions
5
...ry/Orbeon.package/OrbeonAbstractFormDefinition.class/instance/setApplication.formName..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
private | ||
setApplication: anOrbeonApplication formName: fName | ||
|
||
application := anOrbeonApplication. | ||
formName := fName |
5 changes: 5 additions & 0 deletions
5
...ackage/OrbeonAbstractFormDefinition.class/instance/setBpmApplication.inBpmApplication..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
private | ||
setBpmApplication: form inBpmApplication: aBpmApplication | ||
|
||
application := aBpmApplication. | ||
formName := form |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
...beon.package/OrbeonSystemRoot.class/instance/buildPublishedFormNamed.title.withXml.in..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
forms - builder | ||
buildPublishedFormNamed: formName title: title withXml: xmlDefinition in: anOrbeonApplication | ||
"The receiver create a new <OrbeonPublishedFormDefinition> named <formName> in Application named <anOrbeonApplication>. | ||
The XML of the form is <xmlDefinition> " | ||
|
||
^self buildPublishedFormNamed: formName version: 1 title: title withXml: xmlDefinition in: anOrbeonApplication |
27 changes: 27 additions & 0 deletions
27
...Root.class/instance/buildPublishedFormNamed.version.title.publishedXml.savedXml.id.in..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
forms - builder | ||
buildPublishedFormNamed: formName version: version title: title publishedXml: publishedXml savedXml: savedXml id: stringId in: anOrbeonApplication | ||
"The receiver create a new <OrbeonPublishedFormDefinition> named <formName> in Application named <anOrbeonApplication>. | ||
The XML of the form is <xmlDefinition> " | ||
| publishedDefinition savedDefinition | | ||
|
||
savedDefinition := OrbeonSavedFormDefinition newNamed: formName in: anOrbeonApplication. | ||
savedDefinition id: stringId; | ||
version: version; | ||
xmlString: savedXml; | ||
title: title. | ||
|
||
savedDefinition | ||
storeInApplication; | ||
buildForm. | ||
|
||
publishedDefinition := OrbeonPublishedFormDefinition newNamed: formName in: anOrbeonApplication. | ||
publishedDefinition id: stringId; | ||
xmlString: publishedXml; | ||
version: version; | ||
title: title. | ||
|
||
publishedDefinition associateSavedAndPublishedForms. | ||
|
||
publishedDefinition storeInApplication. | ||
|
||
^publishedDefinition |
12 changes: 12 additions & 0 deletions
12
...e/OrbeonSystemRoot.class/instance/buildPublishedFormNamed.version.title.withXml.id.in..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
forms - builder | ||
buildPublishedFormNamed: formName version: version title: title withXml: xmlDefinition id: anUIID in: anOrbeonApplication | ||
"The receiver create a new <OrbeonPublishedFormDefinition> named <formName> in Application named <anOrbeonApplication>. | ||
The XML of the form is <xmlDefinition> " | ||
|
||
^self buildPublishedFormNamed: formName | ||
version: version | ||
title: title | ||
publishedXml: xmlDefinition | ||
savedXml: xmlDefinition | ||
id: anUIID | ||
in: anOrbeonApplication |
11 changes: 11 additions & 0 deletions
11
...kage/OrbeonSystemRoot.class/instance/buildPublishedFormNamed.version.title.withXml.in..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
forms - builder | ||
buildPublishedFormNamed: formName version: version title: title withXml: xmlDefinition in: anOrbeonApplication | ||
"The receiver create a new <OrbeonPublishedFormDefinition> named <formName> in Application named <anOrbeonApplication>. | ||
The XML of the form is <xmlDefinition> " | ||
|
||
^self buildPublishedFormNamed: formName | ||
version: version | ||
title: title | ||
withXml: xmlDefinition | ||
id: UUID new asString | ||
in: anOrbeonApplication |
4 changes: 4 additions & 0 deletions
4
...Orbeon.package/OrbeonSystemRoot.class/instance/getExistingApplicationOrCreateNewNamed..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
applications | ||
getExistingApplicationOrCreateNewNamed: aString | ||
|
||
^self getExistingOrbeonApplicationOrCreateNewNamed: aString |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.