com.ptc.netmarkets.model
Class NmObjectCommands

java.lang.Object
  extended bycom.ptc.netmarkets.model.NmObjectCommands
All Implemented Interfaces:
Serializable

public class NmObjectCommands
extends Object
implements Serializable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private static String CODEBASE
           
private static String DELIM
           
private static String DOC_RESOURCE
           
static String FIRST_STEP_NOT_READY
           
private static String OBJECT_RESOURCE
           
private static WTProperties properties
           
private static String RECORD_DELIM
           
private static String RESOURCE
           
private static boolean VERBOSE
           
 
Constructor Summary
NmObjectCommands()
           
 
Method Summary
static NmChangeModel[] checkIn(NmCommandBean cb)
          

Supported API: false
static NmChangeModel[] checkOut(NmCommandBean cb)
          

Supported API: false
static void clearClipboard(NmCommandBean cb)
          

Supported API: false
static NmHTMLTable copy(NmCommandBean cb)
          

Supported API: false
static void cut(NmCommandBean cb)
          

Supported API: false
static NmChangeModel[] delete(NmCommandBean cb)
          

Supported API: false
private static NmHTMLTable doCopy(NmCommandBean cb, ArrayList sel)
           
static void downloadFolderContentFiles(NmCommandBean cb)
          

Supported API: false
static String encodeField(ArrayList an_array_list, String a_separator)
           
static void expandZipFileIntoFolder(NmCommandBean cb)
          

Supported API: false
static void exportObjects(NmCommandBean cb)
          

Supported API: false
static boolean extractSoftAttribute(NmCommandBean cb)
          This method is harvesting the request to find element of the soft attribute.
static State getCurrentState(NmOid oid)
          

Supported API: false
private static AttributeDefDefaultView getDefinition(InstanceBasedAttributeIdentifier id)
           
static String getDnDAppletTags(String jsMethod, String styleClass, String icon, String dragIcon, Locale locale, int width, int height, String userAgent)
           
static void getIBAsForObject(NmCommandBean cb, NmOid objectOid, Writer out)
          

Supported API: false
static Vector getLifeCycleStates(NmOid oid)
          

Supported API: false
static String getNameOfObject(NmOid oid)
          

Supported API: false
protected static String getPreferenceValue(String node, String key)
           
static NmSoftAttribute getSoftAttribute(NmCommandBean cb)
           
static ArrayList getTypes(String className, NmOid containerOid)
          

Supported API: false
static NmChangeModel[] importObjects(NmCommandBean cb)
          

Supported API: false
static NmChangeModel[] list_checkIn(NmCommandBean cb)
          

Supported API: false
static NmChangeModel[] list_checkOut(NmCommandBean cb)
          

Supported API: false
static NmHTMLTable list_copy(NmCommandBean cb)
          

Supported API: false
static void list_cut(NmCommandBean cb)
          

Supported API: false
static NmChangeModel[] list_delete(NmCommandBean cb)
          

Supported API: false
static NmChangeModel[] list_undoCheckOut(NmCommandBean cb)
          

Supported API: false
protected static ArrayList parseEncodedField(String an_encoded_field, String a_separator)
           
static Object paste(NmCommandBean cb)
          

Supported API: false
static void refresh(NmCommandBean cb)
          

Supported API: false
static void removeFromClipboard(NmCommandBean cb)
          

Supported API: false
static NmChangeModel[] removeShare(NmCommandBean cb)
          

Supported API: false
static void report(NmCommandBean cb)
          

Supported API: false
static NmHTMLTable report(NmCommandBean cb, NmSearchBean sb)
          

Supported API: false
static void retrieveSoftAttribute(NmCommandBean cb)
           
static NmChangeModel[] rollupIterations(NmCommandBean cb)
          

Supported API: false
static void saveOidForCaller(NmCommandBean cb)
          

Supported API: false
static void search(NmCommandBean cb)
          

Supported API: false
static NmHTMLTable search(NmCommandBean cb, NmSearchBean sb)
          

Supported API: false
static NmChangeModel[] undoCheckOut(NmCommandBean cb)
          

Supported API: false
protected static void updateSoftAttribute(AttributeTypeSummary ats, TypeInstance typeInstance, AttributeIdentifier attributeIdentifier, String value, Locale locale)
           
static TypeInstance updateSoftAttributes(NmCommandBean cb, String type, TypeInstance typeInstance, IBAHolder holder)
          The type instance parameter can use three different values.
static Persistable updateSoftType(Persistable persistable, String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

properties

private static WTProperties properties

CODEBASE

private static String CODEBASE

DELIM

private static String DELIM

RECORD_DELIM

private static String RECORD_DELIM

VERBOSE

private static boolean VERBOSE

FIRST_STEP_NOT_READY

public static String FIRST_STEP_NOT_READY

DOC_RESOURCE

private static final String DOC_RESOURCE
See Also:
Constant Field Values

OBJECT_RESOURCE

private static final String OBJECT_RESOURCE
See Also:
Constant Field Values
Constructor Detail

NmObjectCommands

public NmObjectCommands()
Method Detail

delete

public static NmChangeModel[] delete(NmCommandBean cb)
                              throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

cut

public static void cut(NmCommandBean cb)
                throws WTException


Supported API: false

Parameters:
cb -
Throws:
WTException

copy

public static NmHTMLTable copy(NmCommandBean cb)
                        throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmHTMLTable
Throws:
WTException

checkIn

public static NmChangeModel[] checkIn(NmCommandBean cb)
                               throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

checkOut

public static NmChangeModel[] checkOut(NmCommandBean cb)
                                throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

undoCheckOut

public static NmChangeModel[] undoCheckOut(NmCommandBean cb)
                                    throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

rollupIterations

public static NmChangeModel[] rollupIterations(NmCommandBean cb)
                                        throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

list_delete

public static NmChangeModel[] list_delete(NmCommandBean cb)
                                   throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

list_cut

public static void list_cut(NmCommandBean cb)
                     throws WTException


Supported API: false

Parameters:
cb -
Throws:
WTException

list_copy

public static NmHTMLTable list_copy(NmCommandBean cb)
                             throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmHTMLTable
Throws:
WTException

list_checkIn

public static NmChangeModel[] list_checkIn(NmCommandBean cb)
                                    throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

list_checkOut

public static NmChangeModel[] list_checkOut(NmCommandBean cb)
                                     throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

list_undoCheckOut

public static NmChangeModel[] list_undoCheckOut(NmCommandBean cb)
                                         throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

importObjects

public static NmChangeModel[] importObjects(NmCommandBean cb)
                                     throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

exportObjects

public static void exportObjects(NmCommandBean cb)
                          throws WTException


Supported API: false

Parameters:
cb -
Throws:
WTException

search

public static NmHTMLTable search(NmCommandBean cb,
                                 NmSearchBean sb)
                          throws WTException


Supported API: false

Parameters:
cb -
sb -
Returns:
NmHTMLTable
Throws:
WTException

search

public static void search(NmCommandBean cb)
                   throws WTException


Supported API: false

Parameters:
cb -
Throws:
WTException

saveOidForCaller

public static void saveOidForCaller(NmCommandBean cb)
                             throws WTException


Supported API: false

Parameters:
cb -
Throws:
WTException

getLifeCycleStates

public static Vector getLifeCycleStates(NmOid oid)
                                 throws WTException


Supported API: false

Parameters:
oid -
Returns:
Vector
Throws:
WTException

getCurrentState

public static State getCurrentState(NmOid oid)
                             throws WTException


Supported API: false

Parameters:
oid -
Returns:
State
Throws:
WTException

report

public static NmHTMLTable report(NmCommandBean cb,
                                 NmSearchBean sb)
                          throws WTException


Supported API: false

Parameters:
cb -
sb -
Returns:
NmHTMLTable
Throws:
WTException

report

public static void report(NmCommandBean cb)
                   throws WTException


Supported API: false

Parameters:
cb -
Throws:
WTException

getNameOfObject

public static String getNameOfObject(NmOid oid)
                              throws WTException


Supported API: false

Parameters:
oid -
Returns:
String
Throws:
WTException

paste

public static Object paste(NmCommandBean cb)
                    throws WTException


Supported API: false

Parameters:
cb -
Returns:
Object
Throws:
WTException

removeFromClipboard

public static void removeFromClipboard(NmCommandBean cb)
                                throws WTException


Supported API: false

Parameters:
cb -
Throws:
WTException

clearClipboard

public static void clearClipboard(NmCommandBean cb)
                           throws WTException


Supported API: false

Parameters:
cb -
Throws:
WTException

refresh

public static void refresh(NmCommandBean cb)
                    throws WTException


Supported API: false

Parameters:
cb -
Throws:
WTException

getTypes

public static ArrayList getTypes(String className,
                                 NmOid containerOid)
                          throws WTException


Supported API: false

Parameters:
className -
containerOid -
Returns:
ArrayList
Throws:
WTException

removeShare

public static NmChangeModel[] removeShare(NmCommandBean cb)
                                   throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

getIBAsForObject

public static void getIBAsForObject(NmCommandBean cb,
                                    NmOid objectOid,
                                    Writer out)
                             throws WTException


Supported API: false

Parameters:
cb -
objectOid -
out -
Throws:
WTException

expandZipFileIntoFolder

public static void expandZipFileIntoFolder(NmCommandBean cb)
                                    throws WTException


Supported API: false

Parameters:
cb -
Throws:
WTException

downloadFolderContentFiles

public static void downloadFolderContentFiles(NmCommandBean cb)
                                       throws WTException


Supported API: false

Parameters:
cb -
Throws:
WTException

doCopy

private static NmHTMLTable doCopy(NmCommandBean cb,
                                  ArrayList sel)
                           throws WTException
Throws:
WTException

getSoftAttribute

public static NmSoftAttribute getSoftAttribute(NmCommandBean cb)
                                        throws WTException
Throws:
WTException

extractSoftAttribute

public static boolean extractSoftAttribute(NmCommandBean cb)
                                    throws WTException
This method is harvesting the request to find element of the soft attribute. Once found, they are transferred in the command bean.

Throws:
WTException

retrieveSoftAttribute

public static void retrieveSoftAttribute(NmCommandBean cb)
                                  throws WTException
Throws:
WTException

encodeField

public static String encodeField(ArrayList an_array_list,
                                 String a_separator)

getPreferenceValue

protected static String getPreferenceValue(String node,
                                           String key)

getDnDAppletTags

public static String getDnDAppletTags(String jsMethod,
                                      String styleClass,
                                      String icon,
                                      String dragIcon,
                                      Locale locale,
                                      int width,
                                      int height,
                                      String userAgent)

updateSoftType

public static Persistable updateSoftType(Persistable persistable,
                                         String type)
                                  throws WTException
Throws:
WTException

updateSoftAttributes

public static TypeInstance updateSoftAttributes(NmCommandBean cb,
                                                String type,
                                                TypeInstance typeInstance,
                                                IBAHolder holder)
                                         throws WTException
The type instance parameter can use three different values. It can be null. IT can also have a TypeInstance uninitialized variable or it can be a variable with an actual type instance.

Parameters:
cb - The Command Bean
type -
typeInstance -
holder -
Throws:
WTException

updateSoftAttribute

protected static void updateSoftAttribute(AttributeTypeSummary ats,
                                          TypeInstance typeInstance,
                                          AttributeIdentifier attributeIdentifier,
                                          String value,
                                          Locale locale)
                                   throws WTException
Throws:
WTException

parseEncodedField

protected static ArrayList parseEncodedField(String an_encoded_field,
                                             String a_separator)

getDefinition

private static AttributeDefDefaultView getDefinition(InstanceBasedAttributeIdentifier id)