com.ptc.netmarkets.folder
Class StandardNmFolderService

java.lang.Object
  extended by wt.services.StandardManager
      extended by com.ptc.netmarkets.folder.StandardNmFolderService
All Implemented Interfaces:
NmFolderService, Serializable, NetFactor, wt.services.Manager

public class StandardNmFolderService
extends StandardManager
implements NmFolderService, Serializable

Use the newStandardNmFolderService static factory method(s), not the StandardNmFolderService 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: true

Extendable: false

See Also:
Serialized Form

Method Summary
 void changeProjecModel(NmOid oid, com.ptc.netmarkets.model.NmChangeModel[] nmcm)
          Update the tree model of the project from changes made in a different method server

Supported API: true
 com.ptc.netmarkets.util.misc.NmModel getProjectModel(NmOid oid)
          Get the tree model of the project folders/parts/docs to display

Supported API: true
 
Methods inherited from class wt.services.StandardManager
getManagerService, getManagerStatus, getName, getStartupType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getProjectModel

public com.ptc.netmarkets.util.misc.NmModel getProjectModel(NmOid oid)
                                                     throws WTException
Get the tree model of the project folders/parts/docs to display

Supported API: true

Specified by:
getProjectModel in interface NmFolderService
Parameters:
oid - the AdministrativeDomain, used as search criteria when looking for project objects
Returns:
NmModel
Throws:
WTException

changeProjecModel

public void changeProjecModel(NmOid oid,
                              com.ptc.netmarkets.model.NmChangeModel[] nmcm)
                       throws WTException
Update the tree model of the project from changes made in a different method server

Supported API: true

Specified by:
changeProjecModel in interface NmFolderService
Parameters:
oid - Oid of the project to change
nmcm - changes to make in the project model
Throws:
WTException