Repository navigation
Expand file tree
/
Copy pathConfigurationFeature_mxJPO.java
More file actions
60 lines (52 loc) · 1.73 KB
/
Copy pathConfigurationFeature_mxJPO.java
File metadata and controls
60 lines (52 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*
** ${CLASS:MarketingFeature}
**
**Copyright (c) 1993-2016 Dassault Systemes.
** All Rights Reserved.
**This program contains proprietary and trade secret information of
**Dassault Systemes.
** Copyright notice is precautionary only and does not evidence any actual
**or intended publication of such program
*/
import matrix.db.Context;
import com.matrixone.apps.domain.util.EnoviaResourceBundle;
/**
* This JPO class has some methods pertaining to MarketingFeature Extension.
* @author XOG
* @version R210 - Copyright (c) 1993-2016 Dassault Systemes.
*/
public class ConfigurationFeature_mxJPO extends ConfigurationFeatureBase_mxJPO
{
/**
* Create a new ${CLASS:MarketingFeature} object from a given id.
*
* @param context the eMatrix <code>Context</code> object
* @param args holds no arguments.
* @throws Exception if the operation fails
* @author XOG
* @since R210
*/
public ConfigurationFeature_mxJPO (Context context, String[] args)
throws Exception
{
super(context, args);
}
/**
* Main entry point.
*
* @param context the eMatrix <code>Context</code> object
* @param args holds no arguments
* @return an integer status code (0 = success)
* @throws Exception if the operation fails
* @author XOG
* @since R210
*/
public int mxMain(Context context, String[] args)throws Exception
{
if (!context.isConnected()){
String sContentLabel = EnoviaResourceBundle.getProperty(context,"Configuration","emxProduct.Error.UnsupportedClient",context.getSession().getLanguage());
throw new Exception(sContentLabel);
}
return 0;
}
}