com.ptc.netmarkets.actionitem
Class StandardNmActionItemService

java.lang.Object
  extended bywt.services.StandardManager
      extended bycom.ptc.netmarkets.actionitem.StandardNmActionItemService
All Implemented Interfaces:
Manager, NetFactor, NmActionItemService, Serializable

public class StandardNmActionItemService
extends StandardManager
implements NmActionItemService, Serializable

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

Nested Class Summary
private  class StandardNmActionItemService.Timer
           
 
Field Summary
private static String CLASSNAME
           
private static String PROPERTY_PREFIX
           
private static String RESOURCE
           
private static boolean VERBOSE
           
 
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
StandardNmActionItemService()
           
 
Method Summary
private  void addAllSubscriptions(DiscreteActionItem dai, WTPrincipal prin)
           
 NmChangeModel[] create(NmCommandBean cb, DiscreteActionItemInfo ainfo, boolean subscribe)
          

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

Supported API: false
static Notification doNotificationSend(DiscreteActionItem item, ActionItemOperationType opType, DistributionList distList)
           
private  ActionItem getActionItem(NmCommandBean cb, String idLocation)
           
static String getActionItemPageURL(ActionItem m)
           
 NmActionItem getActionItemProperties(NmCommandBean cb)
          

Supported API: false
private  ArrayList getActionItemRowData(NmActionItem nmai)
           
 String getConceptualClassname()
          Deprecated.  
private  String getHealthStatus(DiscreteActionItem dai)
           
 Hashtable getParamsFromActionItem(NmCommandBean cb)
          

Supported API: false
private  NmUser getRegisteredNmUser(WTUser user)
           
private static ResourceBundle getResBundle()
           
 String getResolution(NmCommandBean cb)
          

Supported API: false
private  NmHTMLTable list_impl(NmCommandBean cb, ListType listType)
           
 NmHTMLTable list_project(NmCommandBean cb)
          

Supported API: false
 NmHTMLTable list_user(NmCommandBean cb)
          

Supported API: false
 NmHTMLTable list(NmCommandBean cb)
          

Supported API: false
static StandardNmActionItemService newStandardNmActionItemService()
          Default factory for the class.
private  void removeAllSubscriptions(DiscreteActionItem item, WTPrincipal prin)
           
 void subscribe(NmCommandBean cb, boolean subscribeFlag)
          

Supported API: false
 NmChangeModel[] update(NmCommandBean cb, DiscreteActionItemInfo ainfo, boolean subscribe, boolean isResolve)
          

Supported API: false
 NmHTMLTable[] view(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

PROPERTY_PREFIX

private static final String PROPERTY_PREFIX
See Also:
Constant Field Values

VERBOSE

private static final boolean VERBOSE
Constructor Detail

StandardNmActionItemService

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

newStandardNmActionItemService

public static StandardNmActionItemService newStandardNmActionItemService()
                                                                  throws WTException
Default factory for the class.

Supported API: false

Returns:
StandardNmActionItemService
Throws:
WTException

list

public NmHTMLTable list(NmCommandBean cb)
                 throws WTException


Supported API: false

Specified by:
list in interface NmActionItemService
Parameters:
cb -
Returns:
NmHTMLTable
Throws:
WTException

list_user

public NmHTMLTable list_user(NmCommandBean cb)
                      throws WTException


Supported API: false

Specified by:
list_user in interface NmActionItemService
Parameters:
cb -
Returns:
NmHTMLTable
Throws:
WTException

list_project

public NmHTMLTable list_project(NmCommandBean cb)
                         throws WTException


Supported API: false

Specified by:
list_project in interface NmActionItemService
Parameters:
cb -
Returns:
NmHTMLTable
Throws:
WTException

create

public NmChangeModel[] create(NmCommandBean cb,
                              DiscreteActionItemInfo ainfo,
                              boolean subscribe)
                       throws WTException,
                              WTPropertyVetoException


Supported API: false

Specified by:
create in interface NmActionItemService
Parameters:
cb -
ainfo -
subscribe -
Returns:
NmChangeModel[]
Throws:
WTException
WTPropertyVetoException

update

public NmChangeModel[] update(NmCommandBean cb,
                              DiscreteActionItemInfo ainfo,
                              boolean subscribe,
                              boolean isResolve)
                       throws WTPropertyVetoException,
                              WTException


Supported API: false

Specified by:
update in interface NmActionItemService
Parameters:
cb -
ainfo -
subscribe -
isResolve -
Returns:
NmChangeModel[]
Throws:
WTPropertyVetoException
WTException

delete

public NmChangeModel[] delete(NmCommandBean cb)
                       throws WTException


Supported API: false

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

subscribe

public void subscribe(NmCommandBean cb,
                      boolean subscribeFlag)
               throws WTException


Supported API: false

Specified by:
subscribe in interface NmActionItemService
Parameters:
cb -
subscribeFlag -
Throws:
WTException

view

public NmHTMLTable[] view(NmCommandBean cb)
                   throws WTException


Supported API: false

Specified by:
view in interface NmActionItemService
Parameters:
cb -
Returns:
NmHTMLTable []
Throws:
WTException

getParamsFromActionItem

public Hashtable getParamsFromActionItem(NmCommandBean cb)
                                  throws WTException,
                                         WTPropertyVetoException


Supported API: false

Specified by:
getParamsFromActionItem in interface NmActionItemService
Parameters:
cb -
Returns:
Hashtable
Throws:
WTException
WTPropertyVetoException

getResolution

public String getResolution(NmCommandBean cb)
                     throws WTException,
                            WTPropertyVetoException


Supported API: false

Specified by:
getResolution in interface NmActionItemService
Parameters:
cb -
Returns:
String
Throws:
WTException
WTPropertyVetoException

getActionItemProperties

public NmActionItem getActionItemProperties(NmCommandBean cb)
                                     throws WTException,
                                            WTPropertyVetoException


Supported API: false

Specified by:
getActionItemProperties in interface NmActionItemService
Parameters:
cb -
Returns:
NmActionItem
Throws:
WTException
WTPropertyVetoException

getActionItemPageURL

public static String getActionItemPageURL(ActionItem m)
                                   throws WTException
Throws:
WTException

getActionItem

private ActionItem getActionItem(NmCommandBean cb,
                                 String idLocation)
                          throws WTException
Throws:
WTException

getResBundle

private static ResourceBundle getResBundle()
                                    throws WTException
Throws:
WTException

list_impl

private NmHTMLTable list_impl(NmCommandBean cb,
                              ListType listType)
                       throws WTException,
                              WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

getRegisteredNmUser

private NmUser getRegisteredNmUser(WTUser user)
                            throws WTException
Throws:
WTException

doNotificationSend

public static Notification doNotificationSend(DiscreteActionItem item,
                                              ActionItemOperationType opType,
                                              DistributionList distList)
                                       throws WTException
Throws:
WTException

getHealthStatus

private String getHealthStatus(DiscreteActionItem dai)
                        throws WTException
Throws:
WTException

getActionItemRowData

private ArrayList getActionItemRowData(NmActionItem nmai)
                                throws WTException
Throws:
WTException

addAllSubscriptions

private void addAllSubscriptions(DiscreteActionItem dai,
                                 WTPrincipal prin)
                          throws WTException
Throws:
WTException

removeAllSubscriptions

private void removeAllSubscriptions(DiscreteActionItem item,
                                    WTPrincipal prin)
                             throws WTException
Throws:
WTException