com.ptc.netmarkets.group
Class StandardNmGroupService

java.lang.Object
  extended bywt.services.StandardManager
      extended bycom.ptc.netmarkets.group.StandardNmGroupService
All Implemented Interfaces:
Manager, NetFactor, NmGroupService, Serializable

public class StandardNmGroupService
extends StandardManager
implements NmGroupService, Serializable

Use the newStandardNmGroupService static factory method(s), not the StandardNmGroupService 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 GROUP_GIF
           
private static String RESOURCE
           
private static String USER_GIF
           
 
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
StandardNmGroupService()
           
 
Method Summary
 NmChangeModel[] addGroupsToGroup(NmCommandBean cb, NmOid parentGroup, ArrayList childGroups, boolean refreshTeams)
          

Supported API: false
 NmChangeModel[] addGroupsToRole(NmCommandBean cb, String parentRoleStr, ArrayList childGroups)
          

Supported API: false
 NmChangeModel[] addUsers(NmCommandBean cb, NmOid group, ArrayList users, boolean refreshTeams)
          

Supported API: false
private  void copyTeamRoleToGroup(ContainerTeam fromTeam, String fromRole, WTGroup group)
           
 NmChangeModel[] create(NmCommandBean cb, String name, String description)
          

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

Supported API: false
 String generateMailtoLink(NmOid oid, String subject, String body)
          

Supported API: false
 String getConceptualClassname()
          Deprecated.  
 NmGroup getGroup(NmCommandBean cb, NmOid oid)
          

Supported API: false
private  ArrayList getGroupUserRowData(NmObject nmObject, int level)
           
 NmHTMLTableTree list(NmCommandBean cb)
          

Supported API: false
static StandardNmGroupService newStandardNmGroupService()
          Default factory for the class.
 NmChangeModel[] pasteToGroup(NmCommandBean cb)
          

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

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

Supported API: false
 void resyncWithTeams(NmCommandBean cb)
          

Supported API: false
 NmChangeModel[] update(NmCommandBean cb, String name, String description)
          

Supported API: false
 NmModel view(NmCommandBean cb, boolean popup)
          

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

USER_GIF

private static final String USER_GIF
See Also:
Constant Field Values

GROUP_GIF

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

StandardNmGroupService

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

newStandardNmGroupService

public static StandardNmGroupService newStandardNmGroupService()
                                                        throws WTException
Default factory for the class.

Supported API: false

Returns:
StandardNmGroupService
Throws:
WTException

view

public NmModel view(NmCommandBean cb,
                    boolean popup)
             throws WTException


Supported API: false

Specified by:
view in interface NmGroupService
Parameters:
cb -
popup -
Returns:
NmModel
Throws:
WTException

addGroupsToGroup

public NmChangeModel[] addGroupsToGroup(NmCommandBean cb,
                                        NmOid parentGroup,
                                        ArrayList childGroups,
                                        boolean refreshTeams)
                                 throws WTException


Supported API: false

Specified by:
addGroupsToGroup in interface NmGroupService
Parameters:
cb -
parentGroup -
childGroups -
refreshTeams -
Returns:
NmChangeModel[]
Throws:
WTException

removeGroup

public NmChangeModel[] removeGroup(NmCommandBean cb)
                            throws WTException


Supported API: false

Specified by:
removeGroup in interface NmGroupService
Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

list

public NmHTMLTableTree list(NmCommandBean cb)
                     throws WTException


Supported API: false

Specified by:
list in interface NmGroupService
Parameters:
cb -
Returns:
NmHTMLTableTree
Throws:
WTException

generateMailtoLink

public String generateMailtoLink(NmOid oid,
                                 String subject,
                                 String body)
                          throws WTException


Supported API: false

Specified by:
generateMailtoLink in interface NmGroupService
Parameters:
oid -
subject -
body -
Returns:
String
Throws:
WTException

addUsers

public NmChangeModel[] addUsers(NmCommandBean cb,
                                NmOid group,
                                ArrayList users,
                                boolean refreshTeams)
                         throws WTException


Supported API: false

Specified by:
addUsers in interface NmGroupService
Parameters:
cb -
group -
users -
refreshTeams -
Returns:
NmChangeModel[]
Throws:
WTException

removeUser

public NmChangeModel[] removeUser(NmCommandBean cb)
                           throws WTException


Supported API: false

Specified by:
removeUser in interface NmGroupService
Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

create

public NmChangeModel[] create(NmCommandBean cb,
                              String name,
                              String description)
                       throws WTException


Supported API: false

Specified by:
create in interface NmGroupService
Parameters:
cb -
name -
description -
Returns:
NmChangeModel[]
Throws:
WTException

delete

public NmChangeModel[] delete(NmCommandBean cb,
                              ArrayList groupOids)
                       throws WTException


Supported API: false

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

update

public NmChangeModel[] update(NmCommandBean cb,
                              String name,
                              String description)
                       throws WTException


Supported API: false

Specified by:
update in interface NmGroupService
Parameters:
cb -
name -
description -
Returns:
NmChangeModel[]
Throws:
WTException

getGroup

public NmGroup getGroup(NmCommandBean cb,
                        NmOid oid)
                 throws WTException


Supported API: false

Specified by:
getGroup in interface NmGroupService
Parameters:
cb -
oid -
Returns:
NmGroup
Throws:
WTException

addGroupsToRole

public NmChangeModel[] addGroupsToRole(NmCommandBean cb,
                                       String parentRoleStr,
                                       ArrayList childGroups)
                                throws WTException


Supported API: false

Specified by:
addGroupsToRole in interface NmGroupService
Parameters:
cb -
parentRoleStr -
childGroups -
Returns:
NmChangeModel[]
Throws:
WTException

pasteToGroup

public NmChangeModel[] pasteToGroup(NmCommandBean cb)
                             throws WTException


Supported API: false

Specified by:
pasteToGroup in interface NmGroupService
Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

resyncWithTeams

public void resyncWithTeams(NmCommandBean cb)
                     throws WTException


Supported API: false

Specified by:
resyncWithTeams in interface NmGroupService
Parameters:
cb -
Throws:
WTException

copyTeamRoleToGroup

private void copyTeamRoleToGroup(ContainerTeam fromTeam,
                                 String fromRole,
                                 WTGroup group)
                          throws WTException
Throws:
WTException

getGroupUserRowData

private ArrayList getGroupUserRowData(NmObject nmObject,
                                      int level)
                               throws WTException
Throws:
WTException