You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: extensions/modules/mail/src/main/java/org/exist/xquery/modules/mail/MailFolderFunctions.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ public class MailFolderFunctions extends BasicFunction
63
63
"Opens a mail folder.",
64
64
newSequenceType[]
65
65
{
66
-
newFunctionParameterSequenceType( "mail-store-handle", Type.INTEGER, Cardinality.EXACTLY_ONE, "The mail store handle retrieved from mail:get-mail-store()" ),
66
+
newFunctionParameterSequenceType( "mail-store-handle", Type.LONG, Cardinality.EXACTLY_ONE, "The mail store handle retrieved from mail:get-mail-store()" ),
67
67
newFunctionParameterSequenceType( "foldername", Type.STRING, Cardinality.EXACTLY_ONE, "The name of the folder to open" )
68
68
},
69
69
newFunctionReturnSequenceType( Type.LONG, Cardinality.ZERO_OR_ONE, "an xs:long representing the folder handle." )
@@ -74,7 +74,7 @@ public class MailFolderFunctions extends BasicFunction
74
74
"Closes a mail folder.",
75
75
newSequenceType[]
76
76
{
77
-
newFunctionParameterSequenceType( "mail-folder-handle", Type.INTEGER, Cardinality.EXACTLY_ONE, "The mail folder handle retrieved from mail:get-mail-folder()" ),
77
+
newFunctionParameterSequenceType( "mail-folder-handle", Type.LONG, Cardinality.EXACTLY_ONE, "The mail folder handle retrieved from mail:get-mail-folder()" ),
78
78
newFunctionParameterSequenceType( "expunge", Type.BOOLEAN, Cardinality.EXACTLY_ONE, "A boolean that specifies whether to expunge the folder on close." )
Copy file name to clipboardExpand all lines: extensions/modules/mail/src/main/java/org/exist/xquery/modules/mail/MailStoreFunctions.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,7 @@ public class MailStoreFunctions extends BasicFunction
62
62
"Opens a mail store. Host/User/Password/Protocol values will be obtained from the session.",
63
63
newSequenceType[]
64
64
{
65
-
newFunctionParameterSequenceType( "mail-handle", Type.INTEGER, Cardinality.EXACTLY_ONE, "The JavaMail session handle retrieved from mail:get-mail-session()" )
65
+
newFunctionParameterSequenceType( "mail-handle", Type.LONG, Cardinality.EXACTLY_ONE, "The JavaMail session handle retrieved from mail:get-mail-session()" )
66
66
},
67
67
newFunctionReturnSequenceType( Type.LONG, Cardinality.ZERO_OR_ONE, "an xs:long representing the store handle." )
68
68
),
@@ -72,7 +72,7 @@ public class MailStoreFunctions extends BasicFunction
72
72
"Closes a mail store.",
73
73
newSequenceType[]
74
74
{
75
-
newFunctionParameterSequenceType( "mail-store-handle", Type.INTEGER, Cardinality.EXACTLY_ONE, "The mail store handle retrieved from mail:get-mail-store()" )
75
+
newFunctionParameterSequenceType( "mail-store-handle", Type.LONG, Cardinality.EXACTLY_ONE, "The mail store handle retrieved from mail:get-mail-store()" )
Copy file name to clipboardExpand all lines: extensions/modules/mail/src/main/java/org/exist/xquery/modules/mail/MessageFunctions.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -72,7 +72,7 @@ public class MessageFunctions extends BasicFunction {
72
72
newSequenceType[]
73
73
{
74
74
75
-
newFunctionParameterSequenceType("message-list-handle", Type.INTEGER, Cardinality.EXACTLY_ONE, "The message list handle retrieved from mail:get-message-list() or mail:search-message-list()"),
75
+
newFunctionParameterSequenceType("message-list-handle", Type.LONG, Cardinality.EXACTLY_ONE, "The message list handle retrieved from mail:get-message-list() or mail:search-message-list()"),
76
76
newFunctionParameterSequenceType("message-numbers", Type.INTEGER, Cardinality.ZERO_OR_MORE, "The messages to retrieve using the numbers from the message-list '//mail:message/@number' ")
Copy file name to clipboardExpand all lines: extensions/modules/mail/src/main/java/org/exist/xquery/modules/mail/MessageListFunctions.java
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -89,7 +89,7 @@ public class MessageListFunctions extends BasicFunction
89
89
"Returns a message list of all messages in a folder.",
90
90
newSequenceType[]
91
91
{
92
-
newFunctionParameterSequenceType( "mail-folder-handle", Type.INTEGER, Cardinality.EXACTLY_ONE, "The mail folder handle retrieved from mail:get-mail-folder()" )
92
+
newFunctionParameterSequenceType( "mail-folder-handle", Type.LONG, Cardinality.EXACTLY_ONE, "The mail folder handle retrieved from mail:get-mail-folder()" )
93
93
},
94
94
newFunctionReturnSequenceType( Type.LONG, Cardinality.ZERO_OR_ONE, "an xs:long representing the message list handle." )
95
95
),
@@ -107,7 +107,7 @@ public class MessageListFunctions extends BasicFunction
107
107
"The format string should conform to Java SimpleDateFormat specifications and the date string must conform to the specified format string.",
108
108
newSequenceType[]
109
109
{
110
-
newFunctionParameterSequenceType( "mail-folder-handle", Type.INTEGER, Cardinality.EXACTLY_ONE, "The mail folder handle retrieved from mail:get-mail-folder()" ),
110
+
newFunctionParameterSequenceType( "mail-folder-handle", Type.LONG, Cardinality.EXACTLY_ONE, "The mail folder handle retrieved from mail:get-mail-folder()" ),
111
111
newFunctionParameterSequenceType( "search-parameters", Type.ELEMENT, Cardinality.EXACTLY_ONE, "The xml fragment defining the search terms" )
112
112
},
113
113
newFunctionReturnSequenceType( Type.LONG, Cardinality.ZERO_OR_ONE, "an xs:long representing the message list handle." )
@@ -118,7 +118,7 @@ public class MessageListFunctions extends BasicFunction
118
118
"Returns a message list of all messages in a folder as XML. If there are no messages in the list, an empty sequence will be returned",
119
119
newSequenceType[]
120
120
{
121
-
newFunctionParameterSequenceType( "message-list-handle", Type.INTEGER, Cardinality.EXACTLY_ONE, "The message list handle retrieved from mail:get-message-list() or mail:search-message-list()" ),
121
+
newFunctionParameterSequenceType( "message-list-handle", Type.LONG, Cardinality.EXACTLY_ONE, "The message list handle retrieved from mail:get-message-list() or mail:search-message-list()" ),
122
122
newFunctionParameterSequenceType( "include-headers", Type.BOOLEAN, Cardinality.EXACTLY_ONE, "A boolean specifying whether to include message headers" )
123
123
},
124
124
newFunctionReturnSequenceType( Type.ELEMENT, Cardinality.ZERO_OR_ONE, "the list of all messages in a folder as XML" )
@@ -129,7 +129,7 @@ public class MessageListFunctions extends BasicFunction
129
129
"Closes a message list.",
130
130
newSequenceType[]
131
131
{
132
-
newFunctionParameterSequenceType( "message-list-handle", Type.INTEGER, Cardinality.EXACTLY_ONE, "The message list handle retrieved from mail:get-message-list() or mail:search-message-list()" )
132
+
newFunctionParameterSequenceType( "message-list-handle", Type.LONG, Cardinality.EXACTLY_ONE, "The message list handle retrieved from mail:get-message-list() or mail:search-message-list()" )
0 commit comments