com.ptc.netmarkets.bookmark
Class StandardNmBookmarkService

java.lang.Object
  extended bywt.services.StandardManager
      extended bycom.ptc.netmarkets.bookmark.StandardNmBookmarkService
All Implemented Interfaces:
Manager, NetFactor, NmBookmarkService, Serializable

public class StandardNmBookmarkService
extends StandardManager
implements NmBookmarkService, Serializable

Use the newStandardNmBookmarkService static factory method(s), not the StandardNmBookmarkService 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 AMPERSAND
           
private static String BOOKMARKTYPE
           
private static String CLASSNAME
           
private static String CMDCLASSNAME
           
private static boolean DEBUG
           
static String JSPDIR
           
private static NmHTMLActionModel listActionModel
           
private static String OID
           
private static String RESOURCE
           
private static String SEARCHBOOKMARK
           
static String SEP
           
private static boolean VERBOSE
           
private static String WINDCHILLOBJECT
           
 
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
StandardNmBookmarkService()
           
 
Method Summary
 NmChangeModel[] add_to_hotlist(NmCommandBean cb)
          

Supported API: false
 NmChangeModel[] bookmarkIt(NmCommandBean cb, String href, String folder)
          

Supported API: false
 String buildName(WTObject wtobj)
          

Supported API: false
 URL buildUrl(NmOid bkOid)
          

Supported API: false
static String buildURL(String type, String action, NmOid oid)
           
 NmChangeModel[] create(NmCommandBean cb, NmBookmark object, HashMap map)
          

Supported API: false
 NmChangeModel[] edit_bk(NmCommandBean cb, HashMap map)
          

Supported API: false
 NmBookmark getBookmarkProperties(NmCommandBean cb)
          

Supported API: false
 NmChangeModel[] getChangeModel(NmCommandBean cb, Bookmark b, NmBookmark nb, NmChangeModel[] nmcm, NmOid parentOid)
          

Supported API: false
 String getConceptualClassname()
          Deprecated.  
 ArrayList getNBRowData(NmCommandBean cb, NmBookmark nb, NmOid subjectOid)
          

Supported API: false
private  ArrayList getNBRowData(WTContainer container, NmBookmark nb, NmOid subjectOid)
           
 NmBookmark getNmBookmark(NmOid oid)
          

Supported API: false
 NmOid getNmOid(NmCommandBean cb)
           
 NmOid getNmOidFromPopup(NmCommandBean cb)
           
 String getOidString(String url)
           
 NmOid getPostingId(ImportedBookmark importedBookmark)
          

Supported API: false
 NmChangeModel[] import_bk(NmCommandBean cb, HashMap map)
          

Supported API: false
 boolean isInNotebook(ImportedBookmark importedBookmark)
          

Supported API: false
private  boolean isWorkingCopy(WTObject obj)
           
static StandardNmBookmarkService newStandardNmBookmarkService()
          Default factory for the class.
 void saveBookmark(String s, CollaborationContainer parent, NmBookmark object)
           
 
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

WINDCHILLOBJECT

private static final String WINDCHILLOBJECT
See Also:
Constant Field Values

BOOKMARKTYPE

private static final String BOOKMARKTYPE
See Also:
Constant Field Values

SEARCHBOOKMARK

private static final String SEARCHBOOKMARK
See Also:
Constant Field Values

OID

private static final String OID
See Also:
Constant Field Values

AMPERSAND

private static final String AMPERSAND
See Also:
Constant Field Values

SEP

public static final String SEP
See Also:
Constant Field Values

JSPDIR

public static final String JSPDIR
See Also:
Constant Field Values

VERBOSE

private static boolean VERBOSE

DEBUG

private static boolean DEBUG
Constructor Detail

StandardNmBookmarkService

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

newStandardNmBookmarkService

public static StandardNmBookmarkService newStandardNmBookmarkService()
                                                              throws WTException
Default factory for the class.

Supported API: false

Returns:
StandardNmBookmarkService
Throws:
WTException

create

public NmChangeModel[] create(NmCommandBean cb,
                              NmBookmark object,
                              HashMap map)
                       throws WTException


Supported API: false

Specified by:
create in interface NmBookmarkService
Parameters:
cb -
object -
map -
Returns:
NmChangeModel[]
Throws:
WTException

bookmarkIt

public NmChangeModel[] bookmarkIt(NmCommandBean cb,
                                  String href,
                                  String folder)
                           throws WTException


Supported API: false

Specified by:
bookmarkIt in interface NmBookmarkService
Parameters:
cb -
href -
folder -
Returns:
NmChangeModel[]
Throws:
WTException

edit_bk

public NmChangeModel[] edit_bk(NmCommandBean cb,
                               HashMap map)
                        throws WTException


Supported API: false

Specified by:
edit_bk in interface NmBookmarkService
Parameters:
cb -
map -
Returns:
NmChangeModel[]
Throws:
WTException

import_bk

public NmChangeModel[] import_bk(NmCommandBean cb,
                                 HashMap map)
                          throws WTException


Supported API: false

Specified by:
import_bk in interface NmBookmarkService
Parameters:
cb -
map -
Returns:
NmChangeModel[]
Throws:
WTException

getNBRowData

public ArrayList getNBRowData(NmCommandBean cb,
                              NmBookmark nb,
                              NmOid subjectOid)
                       throws WTException


Supported API: false

Specified by:
getNBRowData in interface NmBookmarkService
Parameters:
cb -
nb -
subjectOid -
Returns:
ArrayList
Throws:
WTException

getChangeModel

public NmChangeModel[] getChangeModel(NmCommandBean cb,
                                      Bookmark b,
                                      NmBookmark nb,
                                      NmChangeModel[] nmcm,
                                      NmOid parentOid)
                               throws WTException


Supported API: false

Specified by:
getChangeModel in interface NmBookmarkService
Parameters:
cb -
b -
nb -
nmcm -
parentOid -
Returns:
NmChangeModel[]
Throws:
WTException

add_to_hotlist

public NmChangeModel[] add_to_hotlist(NmCommandBean cb)
                               throws WTException


Supported API: false

Specified by:
add_to_hotlist in interface NmBookmarkService
Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

buildName

public String buildName(WTObject wtobj)
                 throws WTException


Supported API: false

Specified by:
buildName in interface NmBookmarkService
Parameters:
wtobj -
Returns:
String
Throws:
WTException

buildUrl

public URL buildUrl(NmOid bkOid)
             throws WTException


Supported API: false

Specified by:
buildUrl in interface NmBookmarkService
Parameters:
bkOid -
Returns:
URL
Throws:
WTException

getNmBookmark

public NmBookmark getNmBookmark(NmOid oid)
                         throws WTException


Supported API: false

Specified by:
getNmBookmark in interface NmBookmarkService
Parameters:
oid -
Returns:
NmBookmark
Throws:
WTException

getBookmarkProperties

public NmBookmark getBookmarkProperties(NmCommandBean cb)
                                 throws WTException


Supported API: false

Specified by:
getBookmarkProperties in interface NmBookmarkService
Parameters:
cb -
Returns:
NmBookmark
Throws:
WTException

isInNotebook

public boolean isInNotebook(ImportedBookmark importedBookmark)
                     throws WTException


Supported API: false

Specified by:
isInNotebook in interface NmBookmarkService
Parameters:
importedBookmark -
Returns:
boolean
Throws:
WTException

getPostingId

public NmOid getPostingId(ImportedBookmark importedBookmark)
                   throws WTException


Supported API: false

Specified by:
getPostingId in interface NmBookmarkService
Parameters:
importedBookmark -
Returns:
NmOid
Throws:
WTException

getOidString

public String getOidString(String url)

saveBookmark

public void saveBookmark(String s,
                         CollaborationContainer parent,
                         NmBookmark object)
                  throws WTException
Throws:
WTException

getNmOid

public NmOid getNmOid(NmCommandBean cb)
               throws WTException
Throws:
WTException

getNmOidFromPopup

public NmOid getNmOidFromPopup(NmCommandBean cb)
                        throws WTException
Throws:
WTException

buildURL

public static String buildURL(String type,
                              String action,
                              NmOid oid)
                       throws WTException
Throws:
WTException

getNBRowData

private ArrayList getNBRowData(WTContainer container,
                               NmBookmark nb,
                               NmOid subjectOid)
                        throws WTException
Throws:
WTException

isWorkingCopy

private boolean isWorkingCopy(WTObject obj)