|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.services.StandardManager
com.ptc.netmarkets.templates.StandardNmTemplatesService
Use the newStandardNmTemplatesService
static factory method(s),
not the StandardNmTemplatesService
constructor, to construct
instances of this class. Instances must be constructed using the static
factory(s), in order to ensure proper initialization of the instance.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static String |
RESOURCE
|
Fields inherited from class wt.services.StandardManager |
|
Fields inherited from interface wt.services.Manager |
MANAGER_SERVICE, STARTUP_AUTOMATIC, STARTUP_MANUAL, STATUS_EMERGENCY_SHUTDOWN, STATUS_EMERGENCY_SHUTTING_DOWN, STATUS_SHUTDOWN, STATUS_SHUTDOWN_ERRORS, STATUS_SHUTDOWN_FAILURE, STATUS_SHUTTING_DOWN, STATUS_STARTED, STATUS_STARTED_ERRORS, STATUS_STARTING_UP, STATUS_STARTUP_FAILURE |
Constructor Summary | |
StandardNmTemplatesService()
|
Method Summary | |
NmChangeModel[] |
create(NmCommandBean cb,
NmTemplate nmTemplate,
String tempFile)
Supported API: false |
NmChangeModel[] |
delete(NmCommandBean cb)
Supported API: false |
NmChangeModel[] |
disable(NmCommandBean cb)
Supported API: false |
String |
download(NmOid nmOid)
Supported API: false |
NmChangeModel[] |
enable(NmCommandBean cb)
Supported API: false |
ArrayList |
getCADDocumentRowData(EPMDocument epmDoc,
Locale locale)
Supported API: false |
private NmChangeModel |
getChangeModel(NmTemplate nmTemplate,
int changeType,
Locale locale,
NmCommandBean cb)
|
String |
getConceptualClassname()
Deprecated. |
private String |
getContainerClassName(String templateType)
|
private String |
getDisplayTemplateType(DefaultWTContainerTemplate template)
|
ArrayList |
getDocumentRowData(NmDocument nmDocument,
Locale locale,
String context)
Supported API: false |
private String[] |
getDupErrorMsgInserts(NmTemplate nmTemplate)
|
ArrayList |
getLifeCycleRowData(LifeCycleTemplate lifecycle,
Locale locale,
String context)
Supported API: false |
private NmTemplate |
getNmTemplate(DefaultWTContainerTemplate template)
|
NmTemplate |
getNmTemplate(NmOid oid)
Supported API: false |
ArrayList |
getReportRowData(ReportTemplate report,
Locale locale)
Supported API: false |
ArrayList |
getRowData(NmTemplate nmTemplate,
Locale locale)
Supported API: false |
ArrayList |
getTeamRowData(TeamTemplate team,
Locale locale)
Supported API: false |
NmTemplate |
getTemplateProperties(NmCommandBean cb)
Supported API: false |
private String |
getTemplateType(DefaultWTContainerTemplate template)
|
String |
getTemplateType(NmOid oid)
Supported API: false |
ArrayList |
getWorkflowRowData(WfProcessTemplate workflow,
Locale locale)
Supported API: false |
private boolean |
isCADDocumentTemplate(String templateType)
|
private boolean |
isDocumentTemplate(String templateType)
|
private boolean |
isLibrary(String context)
|
private boolean |
isLibraryTemplate(String templateType)
|
private boolean |
isLifeCycleTemplate(String templateType)
|
private boolean |
isOrg(String context)
|
private boolean |
isOrgTemplate(String templateType)
|
private boolean |
isProduct(String context)
|
private boolean |
isProductTemplate(String templateType)
|
private boolean |
isProject(String context)
|
private boolean |
isProjectTemplate(String templateType)
|
private boolean |
isReportTemplate(String templateType)
|
private boolean |
isSite(String context)
|
private boolean |
isTeamTemplate(String templateType)
|
private boolean |
isWorkflowTemplate(String templateType)
|
NmHTMLTable |
list(NmCommandBean cb,
String templateType)
Supported API: false |
NmDefaultHTMLTable |
listHistory(NmCommandBean cb)
Supported API: false |
static StandardNmTemplatesService |
newStandardNmTemplatesService()
Default factory for the class. |
NmChangeModel[] |
saveas(NmCommandBean cb,
NmTemplate nmTemplate)
Supported API: false |
NmChangeModel[] |
update(NmCommandBean cb,
NmTemplate nmTemplate,
String tempFile)
Supported API: false |
NmModel |
view(NmCommandBean cb)
Supported API: false |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
Constructor Detail |
public StandardNmTemplatesService()
Method Detail |
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class StandardManager
public static StandardNmTemplatesService newStandardNmTemplatesService() throws WTException
WTException
public NmHTMLTable list(NmCommandBean cb, String templateType) throws WTException
list
in interface NmTemplatesService
cb
- templateType
-
WTException
public NmChangeModel[] create(NmCommandBean cb, NmTemplate nmTemplate, String tempFile) throws WTException
create
in interface NmTemplatesService
cb
- nmTemplate
- tempFile
-
WTException
public NmChangeModel[] update(NmCommandBean cb, NmTemplate nmTemplate, String tempFile) throws WTException
update
in interface NmTemplatesService
cb
- nmTemplate
- tempFile
-
WTException
public NmChangeModel[] saveas(NmCommandBean cb, NmTemplate nmTemplate) throws WTException
saveas
in interface NmTemplatesService
cb
- nmTemplate
-
WTException
public NmChangeModel[] enable(NmCommandBean cb) throws WTException
enable
in interface NmTemplatesService
cb
-
WTException
public NmChangeModel[] disable(NmCommandBean cb) throws WTException
disable
in interface NmTemplatesService
cb
-
WTException
public ArrayList getRowData(NmTemplate nmTemplate, Locale locale) throws WTException
getRowData
in interface NmTemplatesService
nmTemplate
- locale
-
WTException
public NmTemplate getNmTemplate(NmOid oid) throws WTException
getNmTemplate
in interface NmTemplatesService
oid
-
WTException
public NmModel view(NmCommandBean cb) throws WTException
view
in interface NmTemplatesService
cb
-
WTException
public NmTemplate getTemplateProperties(NmCommandBean cb) throws WTException
getTemplateProperties
in interface NmTemplatesService
cb
-
WTException
public String getTemplateType(NmOid oid) throws WTException
getTemplateType
in interface NmTemplatesService
oid
-
WTException
public ArrayList getDocumentRowData(NmDocument nmDocument, Locale locale, String context) throws WTException
getDocumentRowData
in interface NmTemplatesService
nmDocument
- locale
- context
-
WTException
public ArrayList getLifeCycleRowData(LifeCycleTemplate lifecycle, Locale locale, String context) throws WTException
getLifeCycleRowData
in interface NmTemplatesService
lifecycle
- locale
- context
-
WTException
public ArrayList getWorkflowRowData(WfProcessTemplate workflow, Locale locale) throws WTException
getWorkflowRowData
in interface NmTemplatesService
workflow
- locale
-
WTException
public ArrayList getReportRowData(ReportTemplate report, Locale locale) throws WTException
getReportRowData
in interface NmTemplatesService
report
- locale
-
WTException
public ArrayList getTeamRowData(TeamTemplate team, Locale locale) throws WTException
getTeamRowData
in interface NmTemplatesService
team
- locale
-
WTException
public String download(NmOid nmOid) throws WTException
download
in interface NmTemplatesService
nmOid
-
WTException
public ArrayList getCADDocumentRowData(EPMDocument epmDoc, Locale locale) throws WTException
getCADDocumentRowData
in interface NmTemplatesService
epmDoc
- locale
-
WTException
public NmDefaultHTMLTable listHistory(NmCommandBean cb) throws WTException
listHistory
in interface NmTemplatesService
cb
-
WTException
public NmChangeModel[] delete(NmCommandBean cb) throws WTException
delete
in interface NmTemplatesService
cb
-
WTException
private String getContainerClassName(String templateType)
private String getTemplateType(DefaultWTContainerTemplate template)
private String getDisplayTemplateType(DefaultWTContainerTemplate template) throws WTException
WTException
private boolean isSite(String context)
private boolean isOrg(String context)
private boolean isProject(String context)
private boolean isProduct(String context)
private boolean isLibrary(String context)
private boolean isDocumentTemplate(String templateType)
private boolean isCADDocumentTemplate(String templateType)
private boolean isLibraryTemplate(String templateType)
private boolean isLifeCycleTemplate(String templateType)
private boolean isOrgTemplate(String templateType)
private boolean isProductTemplate(String templateType)
private boolean isProjectTemplate(String templateType)
private boolean isReportTemplate(String templateType)
private boolean isTeamTemplate(String templateType)
private boolean isWorkflowTemplate(String templateType)
private NmChangeModel getChangeModel(NmTemplate nmTemplate, int changeType, Locale locale, NmCommandBean cb) throws WTException
WTException
private NmTemplate getNmTemplate(DefaultWTContainerTemplate template) throws WTException
WTException
private String[] getDupErrorMsgInserts(NmTemplate nmTemplate) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |