Skip to content

Commit

Permalink
Fixed type for Order field. See #56
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelProminic committed Jun 17, 2024
1 parent c8c202e commit c4ddab7
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 49 deletions.
6 changes: 3 additions & 3 deletions Super.Human.Portal_Agents/Super.Human.Portal_Agents.javaproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<project>
<gradleBuild>
<option commandLine="clean importAll"/>
<option commandLine="clean build"/>
<actions>
<action action="clean" actionName="Clean"/>
<action action="publishToMavenLocal" actionName="Publish to Maven Local"/>
Expand All @@ -14,11 +14,11 @@
<class path="src/test/java"/>
</classpaths>
<build>
<option mainclass="Super.Human.Portal_Agents"/>
<option mainClassPath=""/>
<option mainclass="Super.Human.Portal_Agents"/>
</build>
<options>
<option projectType="java-domino"/>
<option jdkType="jdk-8"/>
<option projectType="java-domino"/>
</options>
</project>
6 changes: 3 additions & 3 deletions Super.Human.Portal_Agents/docs/CategoryDocs/Category_API.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ CategoryID | Text | false |
Label | Text | false |
Description | Text | false |
Icon | Text | false |
Order | Text | false |
Order | Number | false |


### Create
Expand All @@ -101,7 +101,7 @@ CategoryID | Text | false | false |
Label | Text | false | false |
Description | Text | false | false |
Icon | Text | false | false |
Order | Text | false | false |
Order | Number | false | false |


Response properties | JSON Format | Notes
Expand Down Expand Up @@ -140,7 +140,7 @@ CategoryID | Text | false | false |
Label | Text | false | false |
Description | Text | false | false |
Icon | Text | false | false |
Order | Text | false | false |
Order | Number | false | false |


Response: No additional values. TODO: return the document?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import com.moonshine.domino.field.FieldDefinition;
import com.moonshine.domino.field.FieldType;
import com.moonshine.domino.security.*;
import com.moonshine.domino.util.DominoUtils;
import com.moonshine.domino.util.ParameterException;

import lotus.domino.*;
Expand Down Expand Up @@ -36,7 +35,7 @@ protected Collection<FieldDefinition> getFieldList() {
fields.add(new FieldDefinition("Icon", FieldType.TEXT, false));


fields.add(new FieldDefinition("Order", FieldType.TEXT, false));
fields.add(new FieldDefinition("Order", FieldType.NUMBER, false));



Expand Down Expand Up @@ -77,7 +76,7 @@ protected Collection<FieldDefinition> getReturnFieldList() {
fields.add(new FieldDefinition("Label", FieldType.TEXT, false));
fields.add(new FieldDefinition("Description", FieldType.TEXT, false));
fields.add(new FieldDefinition("Icon", FieldType.TEXT, false));
fields.add(new FieldDefinition("Order", FieldType.TEXT, false));
fields.add(new FieldDefinition("Order", FieldType.NUMBER, false));

return fields;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ protected Collection<FieldDefinition> getFieldList() {
fields.add(new FieldDefinition("Label", FieldType.TEXT, false));
fields.add(new FieldDefinition("Description", FieldType.TEXT, false));
fields.add(new FieldDefinition("Icon", FieldType.TEXT, false));
fields.add(new FieldDefinition("Order", FieldType.TEXT, false));
fields.add(new FieldDefinition("Order", FieldType.NUMBER, false));

return fields;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import com.moonshine.domino.field.FieldDefinition;
import com.moonshine.domino.field.FieldType;
import com.moonshine.domino.security.*;
import com.moonshine.domino.util.DominoUtils;
import com.moonshine.domino.util.ParameterException;

import lotus.domino.*;
Expand All @@ -33,7 +32,7 @@ protected Collection<FieldDefinition> getFieldList() {
fields.add(new FieldDefinition("Icon", FieldType.TEXT, false));


fields.add(new FieldDefinition("Order", FieldType.TEXT, false));
fields.add(new FieldDefinition("Order", FieldType.NUMBER, false));



Expand Down
60 changes: 30 additions & 30 deletions Super.Human.Portal_DVE/nsfs/nsf-moonshine/odp/Forms/Category.form
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@

<run>

<font color="system" size="12pt" style="normal"/>
<font color="system" size="12pt" style="normal" name="serif"/>
Description
</run>

Expand All @@ -173,7 +173,7 @@
<run>

<font color="black" size="10pt" style="normal" name="sans-serif"/>
<field listdisplayseparator="newline" listinputseparators="comma semicolon newline" object="defaultvalue" linespacing="1" spacebefore="1" spaceafter="1" useappletinbrowser="false" allowtabout="false" defaultfocus="false" storelocally="false" alignPardef="left" listPardef="none" type="text" kind="editable" computeaftervalidation="false" allowmultivalues="false" width="100pt" height="30pt" bgcolor="#ffffff" name="Description"/>
<field listdisplayseparator="newline" listinputseparators="comma semicolon newline" object="defaultvalue" linespacing="1" spacebefore="1" spaceafter="1" useappletinbrowser="false" allowtabout="false" defaultfocus="false" storelocally="false" alignPardef="left" listPardef="none" type="text" kind="editable" computeaftervalidation="false" allowmultivalues="false" width="100pt" height="30pt" bgcolor="#ffffff" name="Description" sign="false" seal="false" protected="false"/>

</run>

Expand Down Expand Up @@ -325,71 +325,71 @@ End Sub
<text>'++LotusScript Development Environment:2:5:(Options):0:74
'++LotusScript Development Environment:2:5:(Forward):0:1
Declare Sub Queryrecalc(Source As Notesuidocument, Continue As Variant)
Declare Sub Postmodechange(Source As Notesuidocument)
Declare Sub Querymodechange(Source As Notesuidocument, Continue As Variant)
Declare Sub Postrecalc(Source As Notesuidocument)
Declare Sub Queryopen(Source As Notesuidocument, Mode As Integer, Isnewdoc As Variant, Continue As Variant)
Declare Sub Querysave(Source As Notesuidocument, Continue As Variant)
Declare Sub Queryclose(Source As Notesuidocument, Continue As Variant)
Declare Sub Postopen(Source As Notesuidocument)
Declare Sub Postsend(Source As Notesuidocument)
Declare Sub Initialize
Declare Sub Postsave(Source As Notesuidocument)
Declare Sub Queryclose(Source As Notesuidocument, Continue As Variant)
Declare Sub Querysend(Source As Notesuidocument, Continue As Variant)
Declare Sub Postopen(Source As Notesuidocument)
Declare Sub Postmodechange(Source As Notesuidocument)
Declare Sub Terminate
Declare Sub Querymodechange(Source As Notesuidocument, Continue As Variant)
Declare Sub Postrecalc(Source As Notesuidocument)
Declare Sub Querysend(Source As Notesuidocument, Continue As Variant)
Declare Sub Querysave(Source As Notesuidocument, Continue As Variant)

'++LotusScript Development Environment:2:5:(Declarations):0:10
'++LotusScript Development Environment:2:2:BindEvents:1:129
Private Sub BindEvents(Byval Objectname_ As String)
Static Source As NOTESUIDOCUMENT
Set Source = Bind(Objectname_)
On Event Queryrecalc From Source Call Queryrecalc
On Event Postmodechange From Source Call Postmodechange
On Event Querymodechange From Source Call Querymodechange
On Event Postrecalc From Source Call Postrecalc
On Event Queryopen From Source Call Queryopen
On Event Querysave From Source Call Querysave
On Event Queryclose From Source Call Queryclose
On Event Postopen From Source Call Postopen
On Event Postsend From Source Call Postsend

On Event Postsave From Source Call Postsave
On Event Queryclose From Source Call Queryclose
On Event Querysend From Source Call Querysend
On Event Postopen From Source Call Postopen
On Event Postmodechange From Source Call Postmodechange

On Event Querymodechange From Source Call Querymodechange
On Event Postrecalc From Source Call Postrecalc
On Event Querysend From Source Call Querysend
On Event Querysave From Source Call Querysave

End Sub
'++LotusScript Development Environment:2:2:Queryrecalc:1:12
Sub Queryrecalc(Source As Notesuidocument, Continue As Variant)
End Sub
'++LotusScript Development Environment:2:2:Postmodechange:1:12
Sub Postmodechange(Source As Notesuidocument)
'++LotusScript Development Environment:2:2:Querymodechange:1:12
Sub Querymodechange(Source As Notesuidocument, Continue As Variant)
End Sub
'++LotusScript Development Environment:2:2:Postrecalc:1:12
Sub Postrecalc(Source As Notesuidocument)
End Sub
'++LotusScript Development Environment:2:2:Queryopen:1:12
Sub Queryopen(Source As Notesuidocument, Mode As Integer, Isnewdoc As Variant, Continue As Variant)
End Sub
'++LotusScript Development Environment:2:2:Querysave:1:12
Sub Querysave(Source As Notesuidocument, Continue As Variant)
'++LotusScript Development Environment:2:2:Queryclose:1:12
Sub Queryclose(Source As Notesuidocument, Continue As Variant)
End Sub
'++LotusScript Development Environment:2:2:Postopen:1:12
Sub Postopen(Source As Notesuidocument)
End Sub
'++LotusScript Development Environment:2:2:Postsend:1:12
Sub Postsend(Source As Notesuidocument)
End Sub
'++LotusScript Development Environment:2:2:Postsave:1:12
Sub Postsave(Source As Notesuidocument)
End Sub
'++LotusScript Development Environment:2:2:Queryclose:1:12
Sub Queryclose(Source As Notesuidocument, Continue As Variant)
'++LotusScript Development Environment:2:2:Postmodechange:1:12
Sub Postmodechange(Source As Notesuidocument)
End Sub
'++LotusScript Development Environment:2:2:Querysend:1:12
Sub Querysend(Source As Notesuidocument, Continue As Variant)
End Sub
'++LotusScript Development Environment:2:2:Postopen:1:12
Sub Postopen(Source As Notesuidocument)
End Sub
'++LotusScript Development Environment:2:2:Querymodechange:1:12
Sub Querymodechange(Source As Notesuidocument, Continue As Variant)
End Sub
'++LotusScript Development Environment:2:2:Postrecalc:1:12
Sub Postrecalc(Source As Notesuidocument)
'++LotusScript Development Environment:2:2:Querysave:1:12
Sub Querysave(Source As Notesuidocument, Continue As Variant)
End Sub
<break/></text>
</item>
Expand Down
14 changes: 7 additions & 7 deletions Super.Human.Portal_DVE/visualeditor-src/main/webapp/Category.xml
Original file line number Diff line number Diff line change
Expand Up @@ -213,20 +213,20 @@
<dominoGlobalsObject options="T3B0aW9uIFB1YmxpYw==" terminate="U3ViIFRlbWluYXRlCkVuZCBTdWI=" initialize="U3ViIEluaXRpYWxpemUKRW5kIFN1Yg=="/>
<dominoFormObject>
<queryrecalc lotusscript="U3ViIFF1ZXJ5cmVjYWxjKFNvdXJjZSBBcyBOb3Rlc3VpZG9jdW1lbnQsIENvbnRpbnVlIEFzIFZhcmlhbnQpCkVuZCBTdWI=" isCustomFunction="false"/>
<postmodechange lotusscript="U3ViIFBvc3Rtb2RlY2hhbmdlKFNvdXJjZSBBcyBOb3Rlc3VpZG9jdW1lbnQpCkVuZCBTdWI=" isCustomFunction="false"/>
<webQuerySave formula="QENvbW1hbmQoW1Rvb2xzUnVuTWFjcm9dOyAiPFlvdXIgYWdlbnQgZ29lcyBoZXJlPiIp" isCustomFunction="false"/>
<querymodechange lotusscript="U3ViIFF1ZXJ5bW9kZWNoYW5nZShTb3VyY2UgQXMgTm90ZXN1aWRvY3VtZW50LCBDb250aW51ZSBBcyBWYXJpYW50KQpFbmQgU3Vi" isCustomFunction="false"/>
<postrecalc lotusscript="U3ViIFBvc3RyZWNhbGMoU291cmNlIEFzIE5vdGVzdWlkb2N1bWVudCkKRW5kIFN1Yg==" isCustomFunction="false"/>
<queryopen lotusscript="U3ViIFF1ZXJ5b3BlbihTb3VyY2UgQXMgTm90ZXN1aWRvY3VtZW50LCBNb2RlIEFzIEludGVnZXIsIElzbmV3ZG9jIEFzIFZhcmlhbnQsIENvbnRpbnVlIEFzIFZhcmlhbnQpCkVuZCBTdWI=" isCustomFunction="false"/>
<querySave lotusscript="U3ViIFF1ZXJ5c2F2ZShTb3VyY2UgQXMgTm90ZXN1aWRvY3VtZW50LCBDb250aW51ZSBBcyBWYXJpYW50KQpFbmQgU3Vi" isCustomFunction="false"/>
<queryclose lotusscript="U3ViIFF1ZXJ5Y2xvc2UoU291cmNlIEFzIE5vdGVzdWlkb2N1bWVudCwgQ29udGludWUgQXMgVmFyaWFudCkKRW5kIFN1Yg==" isCustomFunction="false"/>
<postopen lotusscript="U3ViIFBvc3RvcGVuKFNvdXJjZSBBcyBOb3Rlc3VpZG9jdW1lbnQpCkVuZCBTdWI=" isCustomFunction="false"/>
<webQueryOpen formula="QENvbW1hbmQoW1Rvb2xzUnVuTWFjcm9dOyAiPFlvdXIgYWdlbnQgZ29lcyBoZXJlPiIp" isCustomFunction="false"/>
<postsend lotusscript="U3ViIFBvc3RzZW5kKFNvdXJjZSBBcyBOb3Rlc3VpZG9jdW1lbnQpCkVuZCBTdWI=" isCustomFunction="false"/>
<initialize lotusscript="U3ViIEluaXRpYWxpemUKRW5kIFN1Yg==" isCustomFunction="false"/>
<postsave lotusscript="U3ViIFBvc3RzYXZlKFNvdXJjZSBBcyBOb3Rlc3VpZG9jdW1lbnQpCkVuZCBTdWI=" isCustomFunction="false"/>
<queryclose lotusscript="U3ViIFF1ZXJ5Y2xvc2UoU291cmNlIEFzIE5vdGVzdWlkb2N1bWVudCwgQ29udGludWUgQXMgVmFyaWFudCkKRW5kIFN1Yg==" isCustomFunction="false"/>
<querysend lotusscript="U3ViIFF1ZXJ5c2VuZChTb3VyY2UgQXMgTm90ZXN1aWRvY3VtZW50LCBDb250aW51ZSBBcyBWYXJpYW50KQpFbmQgU3Vi" isCustomFunction="false"/>
<postopen lotusscript="U3ViIFBvc3RvcGVuKFNvdXJjZSBBcyBOb3Rlc3VpZG9jdW1lbnQpCkVuZCBTdWI=" isCustomFunction="false"/>
<postmodechange lotusscript="U3ViIFBvc3Rtb2RlY2hhbmdlKFNvdXJjZSBBcyBOb3Rlc3VpZG9jdW1lbnQpCkVuZCBTdWI=" isCustomFunction="false"/>
<terminate lotusscript="U3ViIFRlcm1pbmF0ZQpFbmQgU3Vi" isCustomFunction="false"/>
<querymodechange lotusscript="U3ViIFF1ZXJ5bW9kZWNoYW5nZShTb3VyY2UgQXMgTm90ZXN1aWRvY3VtZW50LCBDb250aW51ZSBBcyBWYXJpYW50KQpFbmQgU3Vi" isCustomFunction="false"/>
<postrecalc lotusscript="U3ViIFBvc3RyZWNhbGMoU291cmNlIEFzIE5vdGVzdWlkb2N1bWVudCkKRW5kIFN1Yg==" isCustomFunction="false"/>
<querysend lotusscript="U3ViIFF1ZXJ5c2VuZChTb3VyY2UgQXMgTm90ZXN1aWRvY3VtZW50LCBDb250aW51ZSBBcyBWYXJpYW50KQpFbmQgU3Vi" isCustomFunction="false"/>
<querySave lotusscript="U3ViIFF1ZXJ5c2F2ZShTb3VyY2UgQXMgTm90ZXN1aWRvY3VtZW50LCBDb250aW51ZSBBcyBWYXJpYW50KQpFbmQgU3Vi" isCustomFunction="false"/>
</dominoFormObject>
<dominoCustomObject/>
</mockup>

0 comments on commit c4ddab7

Please sign in to comment.