com.ptc.netmarkets.role
Class StandardNmRoleService

java.lang.Object
  extended bywt.services.StandardManager
      extended bycom.ptc.netmarkets.role.StandardNmRoleService
All Implemented Interfaces:
Manager, NetFactor, NmRoleService, Serializable

public class StandardNmRoleService
extends StandardManager
implements NmRoleService, Serializable

Use the newStandardNmRoleService static factory method(s), not the StandardNmRoleService 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 static String CLASSNAME
           
private static String CMDCLASSNAME
           
private static NmHTMLActionModel listActionModel
           
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
StandardNmRoleService()
           
 
Method Summary
 ArrayList addUsersToRole(NmCommandBean cb, String roleStr, ArrayList users)
          

Supported API: false
 String getConceptualClassname()
          Deprecated.  
 NmRole getNmRole(Role role)
          

Supported API: false
static StandardNmRoleService newStandardNmRoleService()
          Default factory for the class.
 NmChangeModel[] removeRoleFromOrg(NmCommandBean cb)
          

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

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

CMDCLASSNAME

private static final String CMDCLASSNAME

listActionModel

private static final NmHTMLActionModel listActionModel
Constructor Detail

StandardNmRoleService

public StandardNmRoleService()
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

newStandardNmRoleService

public static StandardNmRoleService newStandardNmRoleService()
                                                      throws WTException
Default factory for the class.

Supported API: false

Returns:
StandardNmRoleService
Throws:
WTException

removeRoleFromProject

public NmChangeModel[] removeRoleFromProject(NmCommandBean cb)
                                      throws WTException


Supported API: false

Specified by:
removeRoleFromProject in interface NmRoleService
Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

addUsersToRole

public ArrayList addUsersToRole(NmCommandBean cb,
                                String roleStr,
                                ArrayList users)
                         throws WTException


Supported API: false

Specified by:
addUsersToRole in interface NmRoleService
Parameters:
cb -
roleStr -
users -
Returns:
ArrayList
Throws:
WTException

getNmRole

public NmRole getNmRole(Role role)
                 throws WTException


Supported API: false

Specified by:
getNmRole in interface NmRoleService
Parameters:
role -
Returns:
NmRole
Throws:
WTException

removeRoleFromOrg

public NmChangeModel[] removeRoleFromOrg(NmCommandBean cb)
                                  throws WTException


Supported API: false

Specified by:
removeRoleFromOrg in interface NmRoleService
Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException