wt.projmgmt.admin
Class StandardProjAdminService

java.lang.Object
  extended by wt.services.StandardManager
      extended by wt.projmgmt.admin.StandardProjAdminService
All Implemented Interfaces:
Serializable, NetFactor, ProjAdminService, wt.projmgmt.admin.ProjAdminServiceSvr, wt.services.Manager

public class StandardProjAdminService
extends StandardManager
implements ProjAdminService, wt.projmgmt.admin.ProjAdminServiceSvr, Serializable

Standard implementation of the proj admin service interfaces

Use the newStandardProjAdminService static factory method(s), not the StandardProjAdminService 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
 Project2 create(Project2 project)
          Persists a Project2 object.
 Project2 create(Project2 project, String type)
          Persists a Project2 object.
 
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

create

public Project2 create(Project2 project)
                throws WTException
Persists a Project2 object.

Supported API: true

Specified by:
create in interface ProjAdminService
Parameters:
project -
Returns:
Project2
Throws:
WTException

create

public Project2 create(Project2 project,
                       String type)
                throws WTException
Persists a Project2 object. The syntax of the type string consists of "wt.projmgmt.admin.Project2" followed by the soft type structure as defined in the Type Manager, with each level of the tree separated by a vertical bar symbol "|". For example: "wt.projmgmt.admin.Project2|softTypeProject2|subSoftTypeProject2" corresponds to the following tree structure in the Type Manager: |-- wt.projmgmt.admin.Project2 |-- softTypeProject2 |-- subSoftTypeProject2

Supported API: true

Specified by:
create in interface ProjAdminService
Parameters:
project -
type -
Returns:
Project2
Throws:
WTException