Skip to content

Commit 27e32c9

Browse files
committed
Push re-generated Java actions
1 parent 1723e99 commit 27e32c9

51 files changed

Lines changed: 3276 additions & 3276 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 63 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,63 @@
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.systemwideinterfaces.core.UserAction;
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 UserAction<java.lang.Boolean>
23-
{
24-
private final java.lang.String encoded;
25-
/** @deprecated use targetFile.getMendixObject() instead. */
26-
@java.lang.Deprecated(forRemoval = true)
27-
private final IMendixObject __targetFile;
28-
private final system.proxies.FileDocument targetFile;
29-
30-
public Base64DecodeToFile(
31-
IContext context,
32-
java.lang.String _encoded,
33-
IMendixObject _targetFile
34-
)
35-
{
36-
super(context);
37-
this.encoded = _encoded;
38-
this.__targetFile = _targetFile;
39-
this.targetFile = _targetFile == null ? null : system.proxies.FileDocument.initialize(getContext(), _targetFile);
40-
}
41-
42-
@java.lang.Override
43-
public java.lang.Boolean executeAction() throws Exception
44-
{
45-
// BEGIN USER CODE
46-
StringUtils.base64DecodeToFile(getContext(), encoded, targetFile);
47-
return true;
48-
// END USER CODE
49-
}
50-
51-
/**
52-
* Returns a string representation of this action
53-
* @return a string representation of this action
54-
*/
55-
@java.lang.Override
56-
public java.lang.String toString()
57-
{
58-
return "Base64DecodeToFile";
59-
}
60-
61-
// BEGIN EXTRA CODE
62-
// END EXTRA CODE
63-
}
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.systemwideinterfaces.core.UserAction;
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 UserAction<java.lang.Boolean>
23+
{
24+
private final java.lang.String encoded;
25+
/** @deprecated use targetFile.getMendixObject() instead. */
26+
@java.lang.Deprecated(forRemoval = true)
27+
private final IMendixObject __targetFile;
28+
private final system.proxies.FileDocument targetFile;
29+
30+
public Base64DecodeToFile(
31+
IContext context,
32+
java.lang.String _encoded,
33+
IMendixObject _targetFile
34+
)
35+
{
36+
super(context);
37+
this.encoded = _encoded;
38+
this.__targetFile = _targetFile;
39+
this.targetFile = _targetFile == null ? null : system.proxies.FileDocument.initialize(getContext(), _targetFile);
40+
}
41+
42+
@java.lang.Override
43+
public java.lang.Boolean executeAction() throws Exception
44+
{
45+
// BEGIN USER CODE
46+
StringUtils.base64DecodeToFile(getContext(), encoded, targetFile);
47+
return true;
48+
// END USER CODE
49+
}
50+
51+
/**
52+
* Returns a string representation of this action
53+
* @return a string representation of this action
54+
*/
55+
@java.lang.Override
56+
public java.lang.String toString()
57+
{
58+
return "Base64DecodeToFile";
59+
}
60+
61+
// BEGIN EXTRA CODE
62+
// END EXTRA CODE
63+
}
Lines changed: 65 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,65 @@
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.systemwideinterfaces.core.UserAction;
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 UserAction<java.lang.Boolean>
27-
{
28-
private final IMendixObject source;
29-
private final IMendixObject target;
30-
private final java.lang.Boolean withAssociations;
31-
32-
public Clone(
33-
IContext context,
34-
IMendixObject _source,
35-
IMendixObject _target,
36-
java.lang.Boolean _withAssociations
37-
)
38-
{
39-
super(context);
40-
this.source = _source;
41-
this.target = _target;
42-
this.withAssociations = _withAssociations;
43-
}
44-
45-
@java.lang.Override
46-
public java.lang.Boolean executeAction() throws Exception
47-
{
48-
// BEGIN USER CODE
49-
return ORM.cloneObject(this.getContext(), source, target, withAssociations);
50-
// END USER CODE
51-
}
52-
53-
/**
54-
* Returns a string representation of this action
55-
* @return a string representation of this action
56-
*/
57-
@java.lang.Override
58-
public java.lang.String toString()
59-
{
60-
return "Clone";
61-
}
62-
63-
// BEGIN EXTRA CODE
64-
// END EXTRA CODE
65-
}
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.systemwideinterfaces.core.UserAction;
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 UserAction<java.lang.Boolean>
27+
{
28+
private final IMendixObject source;
29+
private final IMendixObject target;
30+
private final java.lang.Boolean withAssociations;
31+
32+
public Clone(
33+
IContext context,
34+
IMendixObject _source,
35+
IMendixObject _target,
36+
java.lang.Boolean _withAssociations
37+
)
38+
{
39+
super(context);
40+
this.source = _source;
41+
this.target = _target;
42+
this.withAssociations = _withAssociations;
43+
}
44+
45+
@java.lang.Override
46+
public java.lang.Boolean executeAction() throws Exception
47+
{
48+
// BEGIN USER CODE
49+
return ORM.cloneObject(this.getContext(), source, target, withAssociations);
50+
// END USER CODE
51+
}
52+
53+
/**
54+
* Returns a string representation of this action
55+
* @return a string representation of this action
56+
*/
57+
@java.lang.Override
58+
public java.lang.String toString()
59+
{
60+
return "Clone";
61+
}
62+
63+
// BEGIN EXTRA CODE
64+
// END EXTRA CODE
65+
}

0 commit comments

Comments
 (0)