]> git.codecow.com Git - flowpex.git/commitdiff
Fix access modifiers.
authorChris Duncan <chris@flowpex.dev>
Mon, 24 Jun 2024 08:39:51 +0000 (01:39 -0700)
committerChris Duncan <chris@flowpex.dev>
Mon, 24 Jun 2024 08:39:51 +0000 (01:39 -0700)
src/System/Blob/size/System_Blob_size.cls
src/System/Blob/toPdf/System_Blob_toPdf.cls
src/System/Blob/toString/System_Blob_toString.cls
src/System/Blob/valueOf/System_Blob_valueOf.cls

index ee4c86e16d6978eeda0f65938e62cb5a5a4df9c8..cf6aa6f528aef8986b158a379ebc8dba08c6f572 100644 (file)
@@ -7,7 +7,7 @@ global class System_Blob_size {
 
     @InvocableMethod(label='System.Blob.size()' category='Flowpex System' iconName='slds:custom:custom79' description='Returns the number of characters in the Blob.')
 
-    public static List<Response> System_Blob_size (List<Request> requests) {
+    global static List<Response> System_Blob_size (List<Request> requests) {
         List<Response> responses = new List<Response>();
         for (Request req : requests) {
             Response res = new Response();
@@ -21,18 +21,18 @@ global class System_Blob_size {
         return responses;
     }
 
-    public class Request {
+    global class Request {
         @InvocableVariable(required='true' label='Blob' description='')
-        public Blob blobToSize;
+        global Blob blobToSize;
 
-        public Request () {}
-        public Request (Blob b) {
+        global Request () {}
+        global Request (Blob b) {
             this.blobToSize = b;
         }
     }
 
-    public class Response {
+    global class Response {
         @InvocableVariable(label='Size' description='')
-        public Integer sizeOfBlob;
+        global Integer sizeOfBlob;
     }
 }
\ No newline at end of file
index 46d6eed498c97c28459262dd2c0a6142500410bf..b7e11d9fa6373858f2b79ffcbd197aa1b47b24ad 100644 (file)
@@ -7,7 +7,7 @@ global class System_Blob_toPdf {
 
     @InvocableMethod(label='System.Blob.toPdf()' category='Flowpex System' iconName='slds:standard:form' description='Creates a binary object out of the given string, encoding it as a PDF file.')
 
-    public static List<Response> System_Blob_toPdf (List<Request> requests) {
+    global static List<Response> System_Blob_toPdf (List<Request> requests) {
         List<Response> responses = new List<Response>();
         for (Request req : requests) {
             Response res = new Response();
@@ -23,18 +23,18 @@ global class System_Blob_toPdf {
         return responses;
     }
 
-    public class Request {
+    global class Request {
         @InvocableVariable(required='true' label='String to PDF' description='')
-        public String stringToPdf;
+        global String stringToPdf;
 
-        public Request () {}
-        public Request (String s) {
+        global Request () {}
+        global Request (String s) {
             this.stringToPdf = s;
         }
     }
 
-    public class Response {
+    global class Response {
         @InvocableVariable(label='PDF' description='')
-        public Blob pdfOfString;
+        global Blob pdfOfString;
     }
 }
\ No newline at end of file
index 3d03dd8361ecff2452ce93b722e50d3e2f38e4cd..8edb00f2bdd13cf10014509942fcc9fe535c6771 100644 (file)
@@ -7,7 +7,7 @@ global class System_Blob_toString {
 
     @InvocableMethod(label='System.Blob.toString()' category='Flowpex System' iconName='slds:standard:text' description='Casts the Blob into a String.')
 
-    public static List<Response> System_Blob_toString (List<Request> requests) {
+    global static List<Response> System_Blob_toString (List<Request> requests) {
         List<Response> responses = new List<Response>();
         for (Request req : requests) {
             Response res = new Response();
@@ -21,18 +21,18 @@ global class System_Blob_toString {
         return responses;
     }
 
-    public class Request {
+    global class Request {
         @InvocableVariable(required='true' label='Blob' description='')
-        public Blob blobToString;
+        global Blob blobToString;
 
-        public Request () {}
-        public Request (Blob b) {
+        global Request () {}
+        global Request (Blob b) {
             this.blobToString = b;
         }
     }
 
-    public class Response {
+    global class Response {
         @InvocableVariable(label='String' description='')
-        public String stringOfBlob;
+        global String stringOfBlob;
     }
 }
\ No newline at end of file
index d5d500dd293148b3f571bce2823822028ab48950..509289776d54da99cf11fa54ef64bb5397860f39 100644 (file)
@@ -7,7 +7,7 @@ global class System_Blob_valueOf {
 
     @InvocableMethod(label='System.Blob.valueOf()' category='Flowpex System' iconName='slds:standard:default' description='Casts the specified String to a Blob.')
 
-    public static List<Response> System_Blob_valueOf (List<Request> requests) {
+    global static List<Response> System_Blob_valueOf (List<Request> requests) {
         List<Response> responses = new List<Response>();
         for (Request req : requests) {
             Response res = new Response();
@@ -21,18 +21,18 @@ global class System_Blob_valueOf {
         return responses;
     }
 
-    public class Request {
+    global class Request {
         @InvocableVariable(required='true' label='String to blob' description='')
-        public String stringToBlob;
+        global String stringToBlob;
 
-        public Request () {}
-        public Request (String s) {
+        global Request () {}
+        global Request (String s) {
             this.stringToBlob = s;
         }
     }
 
-    public class Response {
+    global class Response {
         @InvocableVariable(label='Blob' description='')
-        public Blob blobOfString;
+        global Blob blobOfString;
     }
 }
\ No newline at end of file