com.ptc.netmarkets.model
Class StandardNmObjectService

java.lang.Object
  extended bywt.services.StandardManager
      extended bycom.ptc.netmarkets.model.StandardNmObjectService
All Implemented Interfaces:
Manager, NetFactor, NmObjectService, Serializable

public class StandardNmObjectService
extends StandardManager
implements NmObjectService, Serializable

Use the newStandardNmObjectService static factory method(s), not the StandardNmObjectService 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

See Also:
Serialized Form

Field Summary
private  Visualizer a_visualizer
           
private static String ACCESS_RESOURCE
           
private static String BASELINE_ACTION_MODEL
           
private static String BK_CREATE_STEP_RESOURCE
           
private static String CHANGE_NOTICE_ACTION_MODEL
           
private static String CHANGE_REQUEST_ACTION_MODEL
           
private static WTOrganization classicDefaultOrg
           
private static String CLASSNAME
           
private static String DEFAULT_ARCHIVE_FILE_NAME
           
protected static int DEFAULT_FLOAT_INPUT_FIELD_LENGTH
           
protected static int DEFAULT_INTEGER_INPUT_FIELD_LENGTH
           
protected static int DEFAULT_STRING_INPUT_FIELD_LENGTH
           
protected static int DEFAULT_TIMESTAMP_INPUT_FIELD_LENGTH
           
private static String DOC_TEMPLATE_ACTION_MODEL
           
private static String EPM_DOCS_ACTION_MODEL
           
private static String FOLDER_RESOURCE
           
private static String jspProductView
           
private static String MASTER_NAME
           
private static String MASTER_NUMBER
           
private static String MORE_RESOURCE
           
private static int NRETRIES
           
private static String PDM_DOC_ACTION_MODEL
           
private static String PDM_DOC_TEMPLATE_ACTION_MODEL
           
private static String PDM_FOLDER_ACTION_MODEL
           
private static String PDM_PART_ACTION_MODEL
           
static String PDM_PASTE_OIDS
           
private static String PDMLINK_PRODUCT_ACTION_MODEL
           
private static boolean PdmSystemInstalled
           
private static String PROBLEM_REPORT_ACTION_MODEL
           
private static String PRODUCT_CONFIGURATION_ACTION_MODEL
           
private static String PRODUCT_INSTANCE_ACTION_MODEL
           
private static String PROJECT_RESOURCE
           
private static String PROMOTION_REQUEST_ACTION_MODEL
           
private static String RESOURCE
           
private static String SHARE_RESOURCE
           
private static int SLEEPTIME
           
private static Class TaskResultClass
           
private static String TEMPLATE_ACTION_MODEL
           
private static TypeInstanceAttributesService typeInstanceAttributesService
           
private  URLFactory url_factory
           
private static boolean VERBOSE
           
private static Visualizer visualizer
           
private static String WINDCHILLPDM_ACTION_MODEL
           
private static String WINDCHILLPDM_ITERATED_ACTION_MODEL
           
private static String WTLIBRARY_ACTION_MODEL
           
private static String WTPRODUCT_ACTION_MODEL
           
 
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
StandardNmObjectService()
           
 
Method Summary
protected  NmDefaultHTMLTable addClassicDocRow(NmDefaultHTMLTable table, NmOid oid, int row, NmCommandBean cb)
           
protected  NmDefaultHTMLTable addPDMLinkDocRow(NmDefaultHTMLTable table, NmOid oid, int row, boolean isLibrary, boolean autoNum, NmCommandBean cb)
           
protected  NmDefaultHTMLTable addPDMLinkPartRow(NmDefaultHTMLTable table, NmOid oid, int row, boolean isLibrary, boolean autoNum, NmCommandBean cb)
           
 NmHTMLTable cannedSearch(NmCommandBean cb, String type)
          

Supported API: false
 NmChangeModel[] checkIn(NmCommandBean cb, String comment, String file, String tempFile, String enabled)
          

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

Supported API: false
 NmChangeModel[] checkOut(NmOid oid)
          

Supported API: false
private  URL constructOutputURL(File tmpFile, String fname)
           
private  boolean contains(ArrayList al, WTPart part)
           
 NmHTMLTable copy(NmCommandBean cb)
          

Supported API: false
protected  NmHTMLTable createClassicTable(NmCommandBean cb, NmPasteInfo pinfo)
           
private  NmOid createFolders(NmCommandBean cb, NmOid parentOid, String strucutre)
           
protected  NmHTMLTable createPDMLinkTable(NmCommandBean cb, NmPasteInfo pinfo)
           
 void cut(NmCommandBean cb)
          

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

Supported API: false
 URL downloadFolderContentFiles(NmCommandBean cb)
          

Supported API: false
 void expandZipFileIntoFolder(NmCommandBean cb, String archiveName)
          

Supported API: false
private  File exportContentFiles(QueryResult qr, JSPFeedback jfb, boolean savepath, boolean checkout, WTContainerRef containerRef)
           
 String exportObjects(NmCommandBean cb)
          

Supported API: false
private  ObjectVectorIfc findFolderDocuments(Folder folder, boolean subfolders, ObjectVectorIfc objVec)
           
 NmHTMLTable getClipboardContents(NmCommandBean cb)
          

Supported API: false
 NmHTMLTable getClipboardLinksTable(NmCommandBean cb)
          

Supported API: false
 NmHTMLTable getClipboardPDMCopyTable(NmCommandBean cb, NmPasteInfo pinfo)
          

Supported API: false
private  QueryResult getCompletedObjects(String objectType, ObjectIdentifier userObjOid)
           
 String getConceptualClassname()
          Deprecated.  
 State getCurrentState(NmObject nmObject)
          Return the current state of the specified object

Supported API: false
 State getCurrentState(NmOid oid)
          Return the current state of the specified object

Supported API: false
 State getCurrentState(WTObject myObject)
          Return the current state of the specified object

Supported API: false
 String getDefaultViewString(NmOid oid, boolean viewInProductView)
          

Supported API: false
 String getDefaultViewURL(NmOid oid)
          

Supported API: false
 String getDisplayLocation(NmCommandBean cb)
          

Supported API: false
 String getDisplayName(NmOid oid)
          

Supported API: false
 NmSoftAttribute getIBAsForObject(NmOid objectOid)
          

Supported API: false
private  QueryResult getInCompleteObjects(String objectType, ObjectIdentifier userObjOid)
           
private  String getJarPath(WTDocument currDoc, WTContainerRef containerRef)
           
 Vector getLifeCycleStates(NmObject nmObject)
          Return vector of lifecycle states in the lifecycle definition of the specified object

Supported API: false
 Vector getLifeCycleStates(NmOid oid)
          Return vector of lifecycle states in the lifecycle definition of the specified object

Supported API: false
 Vector getLifeCycleStates(WTObject myObject)
          Return vector of lifecycle states in the lifecycle definition of the specified object

Supported API: false
 String getLocation(NmCommandBean cb)
          

Supported API: false
 NmOid getLocationOid(NmCommandBean cb)
           
 ArrayList getMoreActions(String oidType, NmOid oid, Locale more_locale, NmCommandBean cb)
          

Supported API: false
 String getNmDocDefaultViewURL(NmOid oid)
           
private  NmNamedObject getNmNamedObjectFromOid(NmOid oid, Object nextObj, Locale locale)
           
 ArrayList getObjectViewObjects(NmOid oid, NmOid shareOid)
          

Supported API: false
private  ArrayList getOrgIdCell(NmCommandBean cb, int row, String appID)
           
private  QueryResult getOverDueObjects(String objectType, ObjectIdentifier userObjOid)
           
private  ArrayList getPartParents(ArrayList parts, ArrayList parents, WTPart part)
           
 NmPasteInfo getPasteInfo(NmCommandBean cb)
          

Supported API: false
protected  NmHTMLActionModel getPDMLinkGlobalSetters(Locale locale)
           
private  NmProject getProjectLink(WTContainerRef project)
           
 ArrayList getPSPart(String host, String sessionID, String oid, ArrayList copyList)
          

Supported API: false
private  QuerySpec getQSForCompletedDelivs(Class classname, ObjectIdentifier oid)
           
private  QuerySpec getQSForCompletedWfExecObjects(Class classname, ObjectIdentifier oid)
           
private  QuerySpec getQSForInCompleteDelivs(Class classname, ObjectIdentifier oid)
           
private  QuerySpec getQSForInCompleteWfExecObjects(Class classname, ObjectIdentifier oid)
           
private  QuerySpec getQSForOverdueObjects(Class classname, ObjectIdentifier oid)
           
private  QuerySpec getQSOwnables(Class classname, ObjectIdentifier oid)
           
private  QueryResult getSharedFolderContents(Folder folder, Class entry_class, boolean include_shared)
           
 NmSoftAttribute getSoftAttribute(NmCommandBean cb, NmLinkBean lb)
          

Supported API: false
private  String getTypeFromOid(NmOid oid, Object nextObj, Locale locale)
           
 ArrayList getTypes(String className, NmCommandBean cb)
          

Supported API: false
 ArrayList getTypes(String className, NmOid containerOid)
          

Supported API: false
private  String getURLFromOid(NmOid oid, NmURLFactoryBean ub)
           
 NmChangeModel[] importObjects(NmCommandBean cb, String file, String tempFile)
          

Supported API: false
private  int indexOfArrayList(ArrayList al, WTPart part)
           
private  QueryResult inflateQR(QueryResult result)
           
protected  NmDefaultHTMLTable initClassicPasteAsCopyTable(Locale locale, boolean partsAutoNumbered, boolean docsAutoNumbered, boolean isLibrary)
           
private  NmDefaultHTMLTable initializeReportTable()
           
 NmDefaultHTMLTable initializeSearchTable()
          

Supported API: false
protected  NmDefaultHTMLTable initPDMLinkPasteAsCopyTable(Locale locale, boolean partsAutoNumbered, boolean docsAutoNumbered, boolean isLibrary)
           
private  boolean isPDMLinkContainer(WTContainer container)
          returns true if the given container is a PDMLink container
 NmChangeModel[] list__delete(NmCommandBean cb, ArrayList types)
          To delete objects.
 NmChangeModel[] list__delete(NmCommandBean cb, ArrayList types, boolean doTask)
           
 NmChangeModel[] list_checkIn(NmCommandBean cb, String comment)
          

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

Supported API: false
 void list_copy(NmCommandBean cb)
          

Supported API: false
 void list_cut(NmCommandBean cb)
          

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

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

Supported API: false
static StandardNmObjectService newStandardNmObjectService()
          Default factory for the class.
protected static ArrayList parseEncodedField(String an_encoded_field, String a_separator)
           
 Object paste(NmCommandBean cb)
          

Supported API: false
private  void populateReportsTable(NmDefaultHTMLTable reportTable, QueryResult qr, String rowActionModel)
           
private  ArrayList recurseFolders(Folder folder)
           
static void redirectRecipient(HTTPRequest req, HTTPResponse resp)
           
private  void remove(ArrayList al, WTPart part)
           
 NmChangeModel[] removeShare(NmCommandBean cb, NmOid nmoid)
          

Supported API: false
 NmHTMLTable report(NmCommandBean cb, String objectType, String status, String rowActionModel, String reportCriteria)
          

Supported API: false
private  void rollBackMemberList(Project2 proj, TeamExportHolder holder)
           
private  void rollBackMemberListTest()
           
 NmChangeModel[] rollupIterations(NmCommandBean cb)
          

Supported API: false
 NmHTMLTable search(NmCommandBean cb, String scope, String[] types, String searchCriteria, String toolbarActionModel, String rowActionModel)
          

Supported API: false
 QueryResult searchMyIterObjects(Class concreteClass, boolean globalScope, WTContainerRef containerRef)
          

Supported API: false
 void setDefaultAccess(NmOid oid)
          

Supported API: false
 NmHTMLTable shareDetails(ObjectIdentifier oid)
          

Supported API: false
 NmHTMLTable shareDetails(Persistable myObject)
          

Supported API: false
private  Workable uncheckoutForDelete(Workable w)
           
 NmChangeModel[] undoCheckOut(NmCommandBean cb)
          

Supported API: false
 void uploadContent(ContentHolder ctHolder, String file, String tempFile)
          

Supported API: false
 void uploadContent(ContentHolder ctHolder, String file, String tempFile, ContentRoleType contentType)
          

Supported API: false
 
Methods inherited from class wt.services.StandardManager
emergencyShutdown, emergencyShutdownComplete, emergencyShuttingDown, getClassInfo, getManagerService, getManagerStatus, getName, getStartupType, init, initialize, initialize, isStarted, newStandardManager, newStandardManager, performEmergencyShutdownProcess, performShutdownProcess, performStartupProcess, registerEvents, setManagerService, shutdown, shutdownFailure, shutdownSuccess, shuttingDown, started, startedErrors, startingUp, startup, startupFailure, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

DEFAULT_ARCHIVE_FILE_NAME

private static final String DEFAULT_ARCHIVE_FILE_NAME

MORE_RESOURCE

private static final String MORE_RESOURCE
See Also:
Constant Field Values

PROJECT_RESOURCE

private static final String PROJECT_RESOURCE
See Also:
Constant Field Values

ACCESS_RESOURCE

private static final String ACCESS_RESOURCE
See Also:
Constant Field Values

BK_CREATE_STEP_RESOURCE

private static final String BK_CREATE_STEP_RESOURCE
See Also:
Constant Field Values

FOLDER_RESOURCE

private static final String FOLDER_RESOURCE
See Also:
Constant Field Values

SHARE_RESOURCE

private static final String SHARE_RESOURCE
See Also:
Constant Field Values

VERBOSE

private static final boolean VERBOSE

PdmSystemInstalled

private static boolean PdmSystemInstalled

typeInstanceAttributesService

private static TypeInstanceAttributesService typeInstanceAttributesService

visualizer

private static Visualizer visualizer

url_factory

private transient URLFactory url_factory

jspProductView

private static String jspProductView

NRETRIES

private static final int NRETRIES
See Also:
Constant Field Values

SLEEPTIME

private static final int SLEEPTIME
See Also:
Constant Field Values

MASTER_NAME

private static final String MASTER_NAME
See Also:
Constant Field Values

MASTER_NUMBER

private static final String MASTER_NUMBER
See Also:
Constant Field Values

a_visualizer

private Visualizer a_visualizer

DEFAULT_STRING_INPUT_FIELD_LENGTH

protected static int DEFAULT_STRING_INPUT_FIELD_LENGTH

DEFAULT_INTEGER_INPUT_FIELD_LENGTH

protected static int DEFAULT_INTEGER_INPUT_FIELD_LENGTH

DEFAULT_FLOAT_INPUT_FIELD_LENGTH

protected static int DEFAULT_FLOAT_INPUT_FIELD_LENGTH

DEFAULT_TIMESTAMP_INPUT_FIELD_LENGTH

protected static int DEFAULT_TIMESTAMP_INPUT_FIELD_LENGTH

classicDefaultOrg

private static WTOrganization classicDefaultOrg

PDM_PASTE_OIDS

public static String PDM_PASTE_OIDS

PDM_PART_ACTION_MODEL

private static final String PDM_PART_ACTION_MODEL
See Also:
Constant Field Values

PDM_DOC_ACTION_MODEL

private static final String PDM_DOC_ACTION_MODEL
See Also:
Constant Field Values

PDM_DOC_TEMPLATE_ACTION_MODEL

private static final String PDM_DOC_TEMPLATE_ACTION_MODEL
See Also:
Constant Field Values

DOC_TEMPLATE_ACTION_MODEL

private static final String DOC_TEMPLATE_ACTION_MODEL
See Also:
Constant Field Values

PDM_FOLDER_ACTION_MODEL

private static final String PDM_FOLDER_ACTION_MODEL
See Also:
Constant Field Values

PROBLEM_REPORT_ACTION_MODEL

private static final String PROBLEM_REPORT_ACTION_MODEL
See Also:
Constant Field Values

CHANGE_REQUEST_ACTION_MODEL

private static final String CHANGE_REQUEST_ACTION_MODEL
See Also:
Constant Field Values

CHANGE_NOTICE_ACTION_MODEL

private static final String CHANGE_NOTICE_ACTION_MODEL
See Also:
Constant Field Values

PRODUCT_CONFIGURATION_ACTION_MODEL

private static final String PRODUCT_CONFIGURATION_ACTION_MODEL
See Also:
Constant Field Values

PRODUCT_INSTANCE_ACTION_MODEL

private static final String PRODUCT_INSTANCE_ACTION_MODEL
See Also:
Constant Field Values

BASELINE_ACTION_MODEL

private static final String BASELINE_ACTION_MODEL
See Also:
Constant Field Values

EPM_DOCS_ACTION_MODEL

private static final String EPM_DOCS_ACTION_MODEL
See Also:
Constant Field Values

WTLIBRARY_ACTION_MODEL

private static final String WTLIBRARY_ACTION_MODEL
See Also:
Constant Field Values

WTPRODUCT_ACTION_MODEL

private static final String WTPRODUCT_ACTION_MODEL
See Also:
Constant Field Values

WINDCHILLPDM_ACTION_MODEL

private static final String WINDCHILLPDM_ACTION_MODEL
See Also:
Constant Field Values

WINDCHILLPDM_ITERATED_ACTION_MODEL

private static final String WINDCHILLPDM_ITERATED_ACTION_MODEL
See Also:
Constant Field Values

TEMPLATE_ACTION_MODEL

private static final String TEMPLATE_ACTION_MODEL
See Also:
Constant Field Values

PROMOTION_REQUEST_ACTION_MODEL

private static final String PROMOTION_REQUEST_ACTION_MODEL
See Also:
Constant Field Values

PDMLINK_PRODUCT_ACTION_MODEL

private static final String PDMLINK_PRODUCT_ACTION_MODEL
See Also:
Constant Field Values

TaskResultClass

private static final Class TaskResultClass
Constructor Detail

StandardNmObjectService

public StandardNmObjectService()
Method Detail

getConceptualClassname

public String getConceptualClassname()
Deprecated.  

Returns the conceptual (modeled) name for the class.

Supported API: false

Specified by:
getConceptualClassname in interface NetFactor
Overrides:
getConceptualClassname in class StandardManager
Returns:
String

newStandardNmObjectService

public static StandardNmObjectService newStandardNmObjectService()
                                                          throws WTException
Default factory for the class.

Supported API: false

Returns:
StandardNmObjectService
Throws:
WTException

delete

public NmChangeModel[] delete(NmCommandBean cb)
                       throws WTException


Supported API: false

Specified by:
delete in interface NmObjectService
Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

cut

public void cut(NmCommandBean cb)
         throws WTException


Supported API: false

Specified by:
cut in interface NmObjectService
Parameters:
cb -
Throws:
WTException

copy

public NmHTMLTable copy(NmCommandBean cb)
                 throws WTException


Supported API: false

Specified by:
copy in interface NmObjectService
Parameters:
cb -
Returns:
NmHTMLTable
Throws:
WTException

checkIn

public NmChangeModel[] checkIn(NmCommandBean cb,
                               String comment,
                               String file,
                               String tempFile,
                               String enabled)
                        throws WTException


Supported API: false

Specified by:
checkIn in interface NmObjectService
Parameters:
cb -
comment -
file -
tempFile -
enabled -
Returns:
NmChangeModel[]
Throws:
WTException

checkOut

public NmChangeModel[] checkOut(NmCommandBean cb)
                         throws WTException


Supported API: false

Specified by:
checkOut in interface NmObjectService
Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

undoCheckOut

public NmChangeModel[] undoCheckOut(NmCommandBean cb)
                             throws WTException


Supported API: false

Specified by:
undoCheckOut in interface NmObjectService
Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

rollupIterations

public NmChangeModel[] rollupIterations(NmCommandBean cb)
                                 throws WTException


Supported API: false

Specified by:
rollupIterations in interface NmObjectService
Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

list_delete

public NmChangeModel[] list_delete(NmCommandBean cb)
                            throws WTException


Supported API: false

Specified by:
list_delete in interface NmObjectService
Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

list__delete

public NmChangeModel[] list__delete(NmCommandBean cb,
                                    ArrayList types)
                             throws WTException
To delete objects. This method checks whether selected objects is of a particular type. It has no accociated client side command.

Supported API: false

Specified by:
list__delete in interface NmObjectService
Parameters:
cb -
types -
Returns:
NmChangeModel[]
Throws:
WTException

list_cut

public void list_cut(NmCommandBean cb)
              throws WTException


Supported API: false

Specified by:
list_cut in interface NmObjectService
Parameters:
cb -
Throws:
WTException

list_copy

public void list_copy(NmCommandBean cb)
               throws WTException


Supported API: false

Specified by:
list_copy in interface NmObjectService
Parameters:
cb -
Throws:
WTException

list_checkIn

public NmChangeModel[] list_checkIn(NmCommandBean cb,
                                    String comment)
                             throws WTException


Supported API: false

Specified by:
list_checkIn in interface NmObjectService
Parameters:
cb -
comment -
Returns:
NmChangeModel[]
Throws:
WTException

list_checkOut

public NmChangeModel[] list_checkOut(NmCommandBean cb)
                              throws WTException


Supported API: false

Specified by:
list_checkOut in interface NmObjectService
Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

list_undoCheckOut

public NmChangeModel[] list_undoCheckOut(NmCommandBean cb)
                                  throws WTException


Supported API: false

Specified by:
list_undoCheckOut in interface NmObjectService
Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

setDefaultAccess

public void setDefaultAccess(NmOid oid)
                      throws WTException


Supported API: false

Specified by:
setDefaultAccess in interface NmObjectService
Parameters:
oid -
Throws:
WTException

getDisplayName

public String getDisplayName(NmOid oid)
                      throws WTException


Supported API: false

Specified by:
getDisplayName in interface NmObjectService
Parameters:
oid -
Returns:
String
Throws:
WTException

uploadContent

public void uploadContent(ContentHolder ctHolder,
                          String file,
                          String tempFile)
                   throws WTException


Supported API: false

Specified by:
uploadContent in interface NmObjectService
Parameters:
ctHolder -
file -
tempFile -
Throws:
WTException

uploadContent

public void uploadContent(ContentHolder ctHolder,
                          String file,
                          String tempFile,
                          ContentRoleType contentType)
                   throws WTException


Supported API: false

Specified by:
uploadContent in interface NmObjectService
Parameters:
ctHolder -
file -
tempFile -
contentType -
Throws:
WTException

getDisplayLocation

public String getDisplayLocation(NmCommandBean cb)
                          throws WTException


Supported API: false

Specified by:
getDisplayLocation in interface NmObjectService
Parameters:
cb -
Returns:
String
Throws:
WTException

importObjects

public NmChangeModel[] importObjects(NmCommandBean cb,
                                     String file,
                                     String tempFile)
                              throws WTException


Supported API: false

Specified by:
importObjects in interface NmObjectService
Parameters:
cb -
file -
tempFile -
Returns:
NmChangeModel[]
Throws:
WTException

exportObjects

public String exportObjects(NmCommandBean cb)
                     throws WTException


Supported API: false

Specified by:
exportObjects in interface NmObjectService
Parameters:
cb -
Returns:
String
Throws:
WTException

getDefaultViewURL

public String getDefaultViewURL(NmOid oid)
                         throws WTException


Supported API: false

Specified by:
getDefaultViewURL in interface NmObjectService
Parameters:
oid -
Returns:
String
Throws:
WTException

getDefaultViewString

public String getDefaultViewString(NmOid oid,
                                   boolean viewInProductView)
                            throws WTException


Supported API: false

Specified by:
getDefaultViewString in interface NmObjectService
Parameters:
oid -
viewInProductView -
Returns:
String
Throws:
WTException

getLocation

public String getLocation(NmCommandBean cb)
                   throws WTException


Supported API: false

Specified by:
getLocation in interface NmObjectService
Parameters:
cb -
Returns:
String
Throws:
WTException

search

public NmHTMLTable search(NmCommandBean cb,
                          String scope,
                          String[] types,
                          String searchCriteria,
                          String toolbarActionModel,
                          String rowActionModel)
                   throws WTException


Supported API: false

Specified by:
search in interface NmObjectService
Parameters:
cb -
scope -
types -
searchCriteria -
toolbarActionModel -
rowActionModel -
Returns:
NmHTMLTable
Throws:
WTException

cannedSearch

public NmHTMLTable cannedSearch(NmCommandBean cb,
                                String type)
                         throws WTException


Supported API: false

Specified by:
cannedSearch in interface NmObjectService
Parameters:
cb -
type -
Returns:
NmHTMLTable
Throws:
WTException

getLifeCycleStates

public Vector getLifeCycleStates(NmOid oid)
                          throws WTException
Return vector of lifecycle states in the lifecycle definition of the specified object

Supported API: false

Specified by:
getLifeCycleStates in interface NmObjectService
Parameters:
oid -
Returns:
Vector
Throws:
WTException

getLifeCycleStates

public Vector getLifeCycleStates(NmObject nmObject)
                          throws WTException
Return vector of lifecycle states in the lifecycle definition of the specified object

Supported API: false

Specified by:
getLifeCycleStates in interface NmObjectService
Parameters:
nmObject -
Returns:
Vector
Throws:
WTException

getLifeCycleStates

public Vector getLifeCycleStates(WTObject myObject)
                          throws WTException
Return vector of lifecycle states in the lifecycle definition of the specified object

Supported API: false

Specified by:
getLifeCycleStates in interface NmObjectService
Parameters:
myObject -
Returns:
Vector
Throws:
WTException

getCurrentState

public State getCurrentState(NmOid oid)
                      throws WTException
Return the current state of the specified object

Supported API: false

Specified by:
getCurrentState in interface NmObjectService
Parameters:
oid -
Returns:
State
Throws:
WTException

getCurrentState

public State getCurrentState(NmObject nmObject)
                      throws WTException
Return the current state of the specified object

Supported API: false

Specified by:
getCurrentState in interface NmObjectService
Parameters:
nmObject -
Returns:
State
Throws:
WTException

getCurrentState

public State getCurrentState(WTObject myObject)
                      throws WTException
Return the current state of the specified object

Supported API: false

Specified by:
getCurrentState in interface NmObjectService
Parameters:
myObject -
Returns:
State
Throws:
WTException

report

public NmHTMLTable report(NmCommandBean cb,
                          String objectType,
                          String status,
                          String rowActionModel,
                          String reportCriteria)
                   throws WTException


Supported API: false

Specified by:
report in interface NmObjectService
Parameters:
cb -
objectType -
status -
rowActionModel -
reportCriteria -
Returns:
NmHTMLTable
Throws:
WTException

checkOut

public NmChangeModel[] checkOut(NmOid oid)
                         throws WTException


Supported API: false

Specified by:
checkOut in interface NmObjectService
Parameters:
oid -
Returns:
NmChangeModel[]
Throws:
WTException

searchMyIterObjects

public QueryResult searchMyIterObjects(Class concreteClass,
                                       boolean globalScope,
                                       WTContainerRef containerRef)
                                throws WTException


Supported API: false

Specified by:
searchMyIterObjects in interface NmObjectService
Parameters:
concreteClass -
globalScope -
containerRef -
Returns:
QueryResult
Throws:
WTException

initializeSearchTable

public NmDefaultHTMLTable initializeSearchTable()
                                         throws WTException


Supported API: false

Specified by:
initializeSearchTable in interface NmObjectService
Returns:
NmDefaultHTMLTable
Throws:
WTException

paste

public Object paste(NmCommandBean cb)
             throws WTException


Supported API: false

Specified by:
paste in interface NmObjectService
Parameters:
cb -
Returns:
Object
Throws:
WTException

getClipboardContents

public NmHTMLTable getClipboardContents(NmCommandBean cb)
                                 throws WTException


Supported API: false

Specified by:
getClipboardContents in interface NmObjectService
Parameters:
cb -
Returns:
NmHTMLTable
Throws:
WTException

getClipboardLinksTable

public NmHTMLTable getClipboardLinksTable(NmCommandBean cb)
                                   throws WTException


Supported API: false

Specified by:
getClipboardLinksTable in interface NmObjectService
Parameters:
cb -
Returns:
NmHTMLTable
Throws:
WTException

getPasteInfo

public NmPasteInfo getPasteInfo(NmCommandBean cb)
                         throws WTException


Supported API: false

Specified by:
getPasteInfo in interface NmObjectService
Parameters:
cb -
Returns:
NmPasteInfo
Throws:
WTException

getPSPart

public ArrayList getPSPart(String host,
                           String sessionID,
                           String oid,
                           ArrayList copyList)
                    throws WTException


Supported API: false

Specified by:
getPSPart in interface NmObjectService
Parameters:
host -
sessionID -
oid -
copyList -
Returns:
ArrayList
Throws:
WTException

getSoftAttribute

public NmSoftAttribute getSoftAttribute(NmCommandBean cb,
                                        NmLinkBean lb)
                                 throws WTException


Supported API: false

Specified by:
getSoftAttribute in interface NmObjectService
Parameters:
cb -
lb -
Returns:
NmSoftAttribute
Throws:
WTException

getClipboardPDMCopyTable

public NmHTMLTable getClipboardPDMCopyTable(NmCommandBean cb,
                                            NmPasteInfo pinfo)
                                     throws WTException


Supported API: false

Specified by:
getClipboardPDMCopyTable in interface NmObjectService
Parameters:
cb -
pinfo -
Returns:
NmHTMLTable
Throws:
WTException

shareDetails

public NmHTMLTable shareDetails(ObjectIdentifier oid)
                         throws WTException


Supported API: false

Specified by:
shareDetails in interface NmObjectService
Parameters:
oid -
Returns:
NmHTMLTable
Throws:
WTException

getTypes

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


Supported API: false

Specified by:
getTypes in interface NmObjectService
Parameters:
className -
containerOid -
Returns:
ArrayList
Throws:
WTException

getMoreActions

public ArrayList getMoreActions(String oidType,
                                NmOid oid,
                                Locale more_locale,
                                NmCommandBean cb)
                         throws WTException,
                                WTPropertyVetoException


Supported API: false

Specified by:
getMoreActions in interface NmObjectService
Parameters:
oidType -
oid -
more_locale -
cb -
Returns:
ArrayList
Throws:
WTException
WTPropertyVetoException

removeShare

public NmChangeModel[] removeShare(NmCommandBean cb,
                                   NmOid nmoid)
                            throws WTException


Supported API: false

Specified by:
removeShare in interface NmObjectService
Parameters:
cb -
nmoid -
Returns:
NmChangeModel[]
Throws:
WTException

getObjectViewObjects

public ArrayList getObjectViewObjects(NmOid oid,
                                      NmOid shareOid)
                               throws WTException


Supported API: false

Specified by:
getObjectViewObjects in interface NmObjectService
Parameters:
oid -
shareOid -
Returns:
ArrayList
Throws:
WTException

shareDetails

public NmHTMLTable shareDetails(Persistable myObject)
                         throws WTException


Supported API: false

Specified by:
shareDetails in interface NmObjectService
Parameters:
myObject -
Returns:
NmHTMLTable
Throws:
WTException

getIBAsForObject

public NmSoftAttribute getIBAsForObject(NmOid objectOid)
                                 throws WTException


Supported API: false

Specified by:
getIBAsForObject in interface NmObjectService
Parameters:
objectOid -
Returns:
NmSoftAttribute
Throws:
WTException

getTypes

public ArrayList getTypes(String className,
                          NmCommandBean cb)
                   throws WTException


Supported API: false

Specified by:
getTypes in interface NmObjectService
Parameters:
className -
cb -
Returns:
ArrayList
Throws:
WTException

expandZipFileIntoFolder

public void expandZipFileIntoFolder(NmCommandBean cb,
                                    String archiveName)
                             throws WTException


Supported API: false

Specified by:
expandZipFileIntoFolder in interface NmObjectService
Parameters:
cb -
archiveName -
Throws:
WTException

downloadFolderContentFiles

public URL downloadFolderContentFiles(NmCommandBean cb)
                               throws WTException


Supported API: false

Specified by:
downloadFolderContentFiles in interface NmObjectService
Parameters:
cb -
Returns:
URL
Throws:
WTException

exportContentFiles

private final File exportContentFiles(QueryResult qr,
                                      JSPFeedback jfb,
                                      boolean savepath,
                                      boolean checkout,
                                      WTContainerRef containerRef)
                               throws WTException
Throws:
WTException

constructOutputURL

private URL constructOutputURL(File tmpFile,
                               String fname)
                        throws WTException
Throws:
WTException

createFolders

private NmOid createFolders(NmCommandBean cb,
                            NmOid parentOid,
                            String strucutre)
                     throws WTException
Throws:
WTException

findFolderDocuments

private ObjectVectorIfc findFolderDocuments(Folder folder,
                                            boolean subfolders,
                                            ObjectVectorIfc objVec)
                                     throws WTException
Throws:
WTException

recurseFolders

private ArrayList recurseFolders(Folder folder)
                          throws WTException
Throws:
WTException

getSharedFolderContents

private QueryResult getSharedFolderContents(Folder folder,
                                            Class entry_class,
                                            boolean include_shared)
                                     throws WTException
Throws:
WTException

getJarPath

private String getJarPath(WTDocument currDoc,
                          WTContainerRef containerRef)
                   throws WTException
Throws:
WTException

isPDMLinkContainer

private boolean isPDMLinkContainer(WTContainer container)
returns true if the given container is a PDMLink container


getLocationOid

public NmOid getLocationOid(NmCommandBean cb)
                     throws WTException
Throws:
WTException

redirectRecipient

public static void redirectRecipient(HTTPRequest req,
                                     HTTPResponse resp)
                              throws WTException
Throws:
WTException

uncheckoutForDelete

private Workable uncheckoutForDelete(Workable w)
                              throws WTException
Throws:
WTException

getProjectLink

private NmProject getProjectLink(WTContainerRef project)
                          throws WTException
Throws:
WTException

getOverDueObjects

private QueryResult getOverDueObjects(String objectType,
                                      ObjectIdentifier userObjOid)
                               throws WTException,
                                      WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

getQSForOverdueObjects

private QuerySpec getQSForOverdueObjects(Class classname,
                                         ObjectIdentifier oid)
                                  throws WTException,
                                         WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

populateReportsTable

private void populateReportsTable(NmDefaultHTMLTable reportTable,
                                  QueryResult qr,
                                  String rowActionModel)
                           throws WTException
Throws:
WTException

getCompletedObjects

private QueryResult getCompletedObjects(String objectType,
                                        ObjectIdentifier userObjOid)
                                 throws WTException,
                                        WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

getQSForCompletedDelivs

private QuerySpec getQSForCompletedDelivs(Class classname,
                                          ObjectIdentifier oid)
                                   throws WTException,
                                          WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

getQSForCompletedWfExecObjects

private QuerySpec getQSForCompletedWfExecObjects(Class classname,
                                                 ObjectIdentifier oid)
                                          throws WTException,
                                                 WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

getInCompleteObjects

private QueryResult getInCompleteObjects(String objectType,
                                         ObjectIdentifier userObjOid)
                                  throws WTException,
                                         WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

getQSForInCompleteDelivs

private QuerySpec getQSForInCompleteDelivs(Class classname,
                                           ObjectIdentifier oid)
                                    throws WTException,
                                           WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

getQSForInCompleteWfExecObjects

private QuerySpec getQSForInCompleteWfExecObjects(Class classname,
                                                  ObjectIdentifier oid)
                                           throws WTException,
                                                  WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

getQSOwnables

private QuerySpec getQSOwnables(Class classname,
                                ObjectIdentifier oid)
                         throws WTException,
                                WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

inflateQR

private QueryResult inflateQR(QueryResult result)
                       throws WTPropertyVetoException,
                              WTException
Throws:
WTPropertyVetoException
WTException

initializeReportTable

private NmDefaultHTMLTable initializeReportTable()
                                          throws WTException
Throws:
WTException

contains

private boolean contains(ArrayList al,
                         WTPart part)

indexOfArrayList

private int indexOfArrayList(ArrayList al,
                             WTPart part)

remove

private void remove(ArrayList al,
                    WTPart part)

getPartParents

private ArrayList getPartParents(ArrayList parts,
                                 ArrayList parents,
                                 WTPart part)

getNmDocDefaultViewURL

public String getNmDocDefaultViewURL(NmOid oid)
                              throws WTException
Throws:
WTException

rollBackMemberListTest

private void rollBackMemberListTest()
                             throws WTException
Throws:
WTException

rollBackMemberList

private void rollBackMemberList(Project2 proj,
                                TeamExportHolder holder)

getNmNamedObjectFromOid

private NmNamedObject getNmNamedObjectFromOid(NmOid oid,
                                              Object nextObj,
                                              Locale locale)
                                       throws WTException
Throws:
WTException

getTypeFromOid

private String getTypeFromOid(NmOid oid,
                              Object nextObj,
                              Locale locale)
                       throws WTException
Throws:
WTException

getURLFromOid

private String getURLFromOid(NmOid oid,
                             NmURLFactoryBean ub)
                      throws WTException
Throws:
WTException

parseEncodedField

protected static ArrayList parseEncodedField(String an_encoded_field,
                                             String a_separator)

createClassicTable

protected NmHTMLTable createClassicTable(NmCommandBean cb,
                                         NmPasteInfo pinfo)
                                  throws WTException
Throws:
WTException

initClassicPasteAsCopyTable

protected NmDefaultHTMLTable initClassicPasteAsCopyTable(Locale locale,
                                                         boolean partsAutoNumbered,
                                                         boolean docsAutoNumbered,
                                                         boolean isLibrary)

addClassicDocRow

protected NmDefaultHTMLTable addClassicDocRow(NmDefaultHTMLTable table,
                                              NmOid oid,
                                              int row,
                                              NmCommandBean cb)
                                       throws WTException
Throws:
WTException

createPDMLinkTable

protected NmHTMLTable createPDMLinkTable(NmCommandBean cb,
                                         NmPasteInfo pinfo)
                                  throws WTException
Throws:
WTException

initPDMLinkPasteAsCopyTable

protected NmDefaultHTMLTable initPDMLinkPasteAsCopyTable(Locale locale,
                                                         boolean partsAutoNumbered,
                                                         boolean docsAutoNumbered,
                                                         boolean isLibrary)

addPDMLinkDocRow

protected NmDefaultHTMLTable addPDMLinkDocRow(NmDefaultHTMLTable table,
                                              NmOid oid,
                                              int row,
                                              boolean isLibrary,
                                              boolean autoNum,
                                              NmCommandBean cb)
                                       throws WTException
Throws:
WTException

addPDMLinkPartRow

protected NmDefaultHTMLTable addPDMLinkPartRow(NmDefaultHTMLTable table,
                                               NmOid oid,
                                               int row,
                                               boolean isLibrary,
                                               boolean autoNum,
                                               NmCommandBean cb)
                                        throws WTException
Throws:
WTException

getPDMLinkGlobalSetters

protected NmHTMLActionModel getPDMLinkGlobalSetters(Locale locale)
                                             throws WTException
Throws:
WTException

getOrgIdCell

private ArrayList getOrgIdCell(NmCommandBean cb,
                               int row,
                               String appID)
                        throws WTException
Throws:
WTException

list__delete

public NmChangeModel[] list__delete(NmCommandBean cb,
                                    ArrayList types,
                                    boolean doTask)
                             throws WTException
Throws:
WTException