Skip to content

Commit 3e2eca2

Browse files
committed
[Gradle Release Plugin] - pre tag commit: 'CommunityCommons-10.1.0'.
1 parent 55e1eda commit 3e2eca2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+2891
-2892
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version=10.1.0-SNAPSHOT
1+
version=10.1.0

src/CommunityCommons/javasource/communitycommons/actions/Base64DecodeToFile.java

Lines changed: 58 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,58 @@
1-
// This file was generated by Mendix Studio Pro.
2-
//
3-
// WARNING: Only the following code will be retained when actions are regenerated:
4-
// - the import list
5-
// - the code between BEGIN USER CODE and END USER CODE
6-
// - the code between BEGIN EXTRA CODE and END EXTRA CODE
7-
// Other code you write will be lost the next time you deploy the project.
8-
// Special characters, e.g., é, ö, à, etc. are supported in comments.
9-
10-
package communitycommons.actions;
11-
12-
import com.mendix.systemwideinterfaces.core.IMendixObject;
13-
import communitycommons.StringUtils;
14-
import com.mendix.systemwideinterfaces.core.IContext;
15-
import com.mendix.webui.CustomJavaAction;
16-
17-
/**
18-
* Stores an base 64 encoded string plain in the provided target file document
19-
*
20-
* Note that targetFile will be committed.
21-
*/
22-
public class Base64DecodeToFile extends CustomJavaAction<java.lang.Boolean>
23-
{
24-
private java.lang.String encoded;
25-
private IMendixObject __targetFile;
26-
private system.proxies.FileDocument targetFile;
27-
28-
public Base64DecodeToFile(IContext context, java.lang.String encoded, IMendixObject targetFile)
29-
{
30-
super(context);
31-
this.encoded = encoded;
32-
this.__targetFile = targetFile;
33-
}
34-
35-
@java.lang.Override
36-
public java.lang.Boolean executeAction() throws Exception
37-
{
38-
this.targetFile = this.__targetFile == null ? null : system.proxies.FileDocument.initialize(getContext(), __targetFile);
39-
40-
// BEGIN USER CODE
41-
StringUtils.base64DecodeToFile(getContext(), encoded, targetFile);
42-
return true;
43-
// END USER CODE
44-
}
45-
46-
/**
47-
* Returns a string representation of this action
48-
* @return a string representation of this action
49-
*/
50-
@java.lang.Override
51-
public java.lang.String toString()
52-
{
53-
return "Base64DecodeToFile";
54-
}
55-
56-
// BEGIN EXTRA CODE
57-
// END EXTRA CODE
58-
}
1+
// This file was generated by Mendix Studio Pro.
2+
//
3+
// WARNING: Only the following code will be retained when actions are regenerated:
4+
// - the import list
5+
// - the code between BEGIN USER CODE and END USER CODE
6+
// - the code between BEGIN EXTRA CODE and END EXTRA CODE
7+
// Other code you write will be lost the next time you deploy the project.
8+
// Special characters, e.g., é, ö, à, etc. are supported in comments.
9+
10+
package communitycommons.actions;
11+
12+
import com.mendix.systemwideinterfaces.core.IMendixObject;
13+
import communitycommons.StringUtils;
14+
import com.mendix.systemwideinterfaces.core.IContext;
15+
import com.mendix.webui.CustomJavaAction;
16+
17+
/**
18+
* Stores an base 64 encoded string plain in the provided target file document
19+
*
20+
* Note that targetFile will be committed.
21+
*/
22+
public class Base64DecodeToFile extends CustomJavaAction<java.lang.Boolean>
23+
{
24+
private java.lang.String encoded;
25+
private IMendixObject __targetFile;
26+
private system.proxies.FileDocument targetFile;
27+
28+
public Base64DecodeToFile(IContext context, java.lang.String encoded, IMendixObject targetFile)
29+
{
30+
super(context);
31+
this.encoded = encoded;
32+
this.__targetFile = targetFile;
33+
}
34+
35+
@java.lang.Override
36+
public java.lang.Boolean executeAction() throws Exception
37+
{
38+
this.targetFile = this.__targetFile == null ? null : system.proxies.FileDocument.initialize(getContext(), __targetFile);
39+
40+
// BEGIN USER CODE
41+
StringUtils.base64DecodeToFile(getContext(), encoded, targetFile);
42+
return true;
43+
// END USER CODE
44+
}
45+
46+
/**
47+
* Returns a string representation of this action
48+
* @return a string representation of this action
49+
*/
50+
@java.lang.Override
51+
public java.lang.String toString()
52+
{
53+
return "Base64DecodeToFile";
54+
}
55+
56+
// BEGIN EXTRA CODE
57+
// END EXTRA CODE
58+
}

src/CommunityCommons/javasource/communitycommons/actions/Clone.java

Lines changed: 60 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,60 @@
1-
// This file was generated by Mendix Studio Pro.
2-
//
3-
// WARNING: Only the following code will be retained when actions are regenerated:
4-
// - the import list
5-
// - the code between BEGIN USER CODE and END USER CODE
6-
// - the code between BEGIN EXTRA CODE and END EXTRA CODE
7-
// Other code you write will be lost the next time you deploy the project.
8-
// Special characters, e.g., é, ö, à, etc. are supported in comments.
9-
10-
package communitycommons.actions;
11-
12-
import com.mendix.systemwideinterfaces.core.IMendixObject;
13-
import communitycommons.ORM;
14-
import com.mendix.systemwideinterfaces.core.IContext;
15-
import com.mendix.webui.CustomJavaAction;
16-
17-
/**
18-
* Clones objects
19-
*
20-
* - Source: the original object to copy
21-
* - Target: the object to copy it into (should be of the same type, or a specialization)
22-
* - includeAssociations: whether to clone associations.
23-
*
24-
* If associated objects need to be cloned as well, use deepClone, this function only copies the references, not the reffered objects. Target is not committed automatically.
25-
*/
26-
public class Clone extends CustomJavaAction<java.lang.Boolean>
27-
{
28-
private IMendixObject source;
29-
private IMendixObject target;
30-
private java.lang.Boolean withAssociations;
31-
32-
public Clone(IContext context, IMendixObject source, IMendixObject target, java.lang.Boolean withAssociations)
33-
{
34-
super(context);
35-
this.source = source;
36-
this.target = target;
37-
this.withAssociations = withAssociations;
38-
}
39-
40-
@java.lang.Override
41-
public java.lang.Boolean executeAction() throws Exception
42-
{
43-
// BEGIN USER CODE
44-
return ORM.cloneObject(this.getContext(), source, target, withAssociations);
45-
// END USER CODE
46-
}
47-
48-
/**
49-
* Returns a string representation of this action
50-
* @return a string representation of this action
51-
*/
52-
@java.lang.Override
53-
public java.lang.String toString()
54-
{
55-
return "Clone";
56-
}
57-
58-
// BEGIN EXTRA CODE
59-
// END EXTRA CODE
60-
}
1+
// This file was generated by Mendix Studio Pro.
2+
//
3+
// WARNING: Only the following code will be retained when actions are regenerated:
4+
// - the import list
5+
// - the code between BEGIN USER CODE and END USER CODE
6+
// - the code between BEGIN EXTRA CODE and END EXTRA CODE
7+
// Other code you write will be lost the next time you deploy the project.
8+
// Special characters, e.g., é, ö, à, etc. are supported in comments.
9+
10+
package communitycommons.actions;
11+
12+
import com.mendix.systemwideinterfaces.core.IMendixObject;
13+
import communitycommons.ORM;
14+
import com.mendix.systemwideinterfaces.core.IContext;
15+
import com.mendix.webui.CustomJavaAction;
16+
17+
/**
18+
* Clones objects
19+
*
20+
* - Source: the original object to copy
21+
* - Target: the object to copy it into (should be of the same type, or a specialization)
22+
* - includeAssociations: whether to clone associations.
23+
*
24+
* If associated objects need to be cloned as well, use deepClone, this function only copies the references, not the reffered objects. Target is not committed automatically.
25+
*/
26+
public class Clone extends CustomJavaAction<java.lang.Boolean>
27+
{
28+
private IMendixObject source;
29+
private IMendixObject target;
30+
private java.lang.Boolean withAssociations;
31+
32+
public Clone(IContext context, IMendixObject source, IMendixObject target, java.lang.Boolean withAssociations)
33+
{
34+
super(context);
35+
this.source = source;
36+
this.target = target;
37+
this.withAssociations = withAssociations;
38+
}
39+
40+
@java.lang.Override
41+
public java.lang.Boolean executeAction() throws Exception
42+
{
43+
// BEGIN USER CODE
44+
return ORM.cloneObject(this.getContext(), source, target, withAssociations);
45+
// END USER CODE
46+
}
47+
48+
/**
49+
* Returns a string representation of this action
50+
* @return a string representation of this action
51+
*/
52+
@java.lang.Override
53+
public java.lang.String toString()
54+
{
55+
return "Clone";
56+
}
57+
58+
// BEGIN EXTRA CODE
59+
// END EXTRA CODE
60+
}

0 commit comments

Comments
 (0)