Repository navigation
Expand file tree
/
Copy pathConfigurationRule_mxJPO.java
More file actions
62 lines (55 loc) · 1.94 KB
/
Copy pathConfigurationRule_mxJPO.java
File metadata and controls
62 lines (55 loc) · 1.94 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
61
62
/*
** emxConfigurationRule
**
** Copyright (c) 1999-2016 Dassault Systemes.
**
** All Rights Reserved.
** This program contains proprietary and trade secret information of
** MatrixOne, Inc. Copyright notice is precautionary only and does
** not evidence any actual or intended publication of such program.
**
** static const char RCSID[] = $Id: /ENOVariantConfigurationBase/CNext/Modules/ENOVariantConfigurationBase/JPOsrc/custom/${CLASSNAME}.java 1.3.2.1.1.1 Wed Oct 29 22:27:16 2008 GMT przemek Experimental$
*/
import matrix.db.Context;
import com.matrixone.apps.domain.util.EnoviaResourceBundle;
/**
* This JPO class has some methods pertaining to Configuration Rule type.
* @author Enovia MatrixOne
* @version ProductCentral 10.5 - Copyright (c) 2004, MatrixOne, Inc.
*/
public class ConfigurationRule_mxJPO extends ConfigurationRuleBase_mxJPO
{
/**
* Create a new Configuration Rule object.
*
* @param context the eMatrix <code>Context</code> object
* @param args holds no argument
* @return a nill
* @throws Exception if the operation fails
* @since R418
*/
public ConfigurationRule_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
* @since R418
*/
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;
}
}