Repository navigation
Expand file tree
/
Copy pathCFPModel_mxJPO.java
More file actions
59 lines (52 loc) · 1.7 KB
/
Copy pathCFPModel_mxJPO.java
File metadata and controls
59 lines (52 loc) · 1.7 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
/*
** ${CLASSNAME}
**
**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 com.matrixone.apps.domain.util.EnoviaResourceBundle;
import matrix.db.Context;
/**
* This JPO class has some methods pertaining to Master Feature Extension.
* @author IVU
* @version R209 - Copyright (c) 1993-2016 Dassault Systemes.
*/
public class CFPModel_mxJPO extends CFPModelBase_mxJPO
{
/**
* Create a new ${CLASS:emxManufacturingPlanBase} 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 IVU
* @since R209
*/
public CFPModel_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 IVU
* @since R209
*/
public int mxMain(Context context, String[] args)throws Exception
{
if (!context.isConnected()){
String sContentLabel = EnoviaResourceBundle.getProperty(context,"DMCPlanning","DMCPlanning.Error.UnsupportedClient", context.getSession().getLanguage());
throw new Exception(sContentLabel);
}
return 0;
}
}