|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.services.StandardManager
wt.workflow.notebook.StandardNotebookService
Use the newStandardNotebookService
static factory method(s),
not the StandardNotebookService
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
Field Summary | |
private static String |
CLASSNAME
|
private static String |
NOTEBOOKTEMPLATE_NAME
|
private static String |
NOTEBOOKTEMPLATE_XML_FILE
|
private static int |
NRETRIES
|
private static String |
OBJECT_NOTEBOOKTEMPLATE_XML_FILE
|
private static boolean |
PDMLINK
|
private static String |
RESOURCE
|
private static int |
SLEEPTIME
|
private static boolean |
VERBOSE
|
private static String |
WT_HOME
|
private static String |
XML_LOAD_FILE_DIR
|
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 | |
StandardNotebookService()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static boolean VERBOSE
private static boolean PDMLINK
private static final String NOTEBOOKTEMPLATE_NAME
private static final String WT_HOME
private static final String XML_LOAD_FILE_DIR
private static final String NOTEBOOKTEMPLATE_XML_FILE
private static final String OBJECT_NOTEBOOKTEMPLATE_XML_FILE
private static final int NRETRIES
private static final int SLEEPTIME
Constructor Detail |
public StandardNotebookService()
Method Detail |
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class StandardManager
public void registerEvents(ManagerService managerService)
registerEvents
in interface Manager
registerEvents
in class StandardManager
managerService
- the ManagerService with which to register events.public static StandardNotebookService newStandardNotebookService() throws WTException
WTException
public Notebook saveStructuredReference(SubjectOfNotebook subject, Notebook notebook) throws WTException
saveStructuredReference
in interface NotebookService
subject
- notebook
-
WTException
public Notebook createNotebook(NotebookTemplate template, String name, SubjectOfNotebook subject) throws WTException
createNotebook
in interface NotebookService
template
- name
- subject
-
WTException
public void addNotebook(NotebookIfc notebook, SubjectOfNotebook subject, boolean primary) throws WTException
addNotebook
in interface NotebookService
notebook
- subject
- primary
-
WTException
public Enumeration getNotebooks(WTObject subject) throws WTException
getNotebooks
in interface NotebookService
subject
-
WTException
public Notebook createNotebook(String templateName, String name, SubjectOfNotebook subject) throws WTException
createNotebook
in interface NotebookService
templateName
- name
- subject
-
WTException
public Enumeration getNotebooks(WTObject subject, boolean othersideonly) throws WTException
getNotebooks
in interface NotebookService
subject
- othersideonly
-
WTException
public NotebookFolder saveFolder(NotebookFolder folder) throws WTException
saveFolder
in interface NotebookService
folder
-
WTException
public Bookmark saveBookmark(Bookmark bookmark) throws WTException
saveBookmark
in interface NotebookService
bookmark
-
WTException
public void deleteNotebook(Notebook notebook, SubjectOfNotebook subject) throws WTException
deleteNotebook
in interface NotebookService
notebook
- subject
-
WTException
public void deleteFolder(NotebookFolder folder) throws WTException
deleteFolder
in interface NotebookService
folder
-
WTException
public void saveWindchillBookmark(String name, String s_url, CollaborationContainer parent) throws WTException
saveWindchillBookmark
in interface NotebookService
name
- s_url
- parent
-
WTException
public Enumeration getChildren(Notebook notebook) throws WTException
getChildren
in interface NotebookService
notebook
-
WTException
public NotebookTemplate getDefaultTemplate(WTObject obj, WTContainerRef containerRef) throws WTException
getDefaultTemplate
in interface NotebookService
obj
- containerRef
-
WTException
public Vector getFolders(CollaborationContainer cc) throws WTException
getFolders
in interface NotebookService
cc
-
WTException
public NotebookTemplate getDefaultObjectTemplate(boolean isUser, WTContainerRef containerRef) throws WTException
getDefaultObjectTemplate
in interface NotebookService
isUser
- containerRef
-
WTException
public NotebookTemplate getDefaultTemplate(WTContainerRef containerRef) throws WTException
getDefaultTemplate
in interface NotebookService
containerRef
-
WTException
public ApplicationData getApplicationData(String file, String tempFile, ContentHolder ctHolder) throws WTException
getApplicationData
in interface NotebookService
file
- tempFile
- ctHolder
-
WTException
public Notebook createNotebookForUser(WTUser user) throws WTException
createNotebookForUser
in interface NotebookService
user
-
WTException
public NotebookTemplate getDefaultTemplate(WTObject obj) throws WTException
getDefaultTemplate
in interface NotebookService
obj
-
WTException
public NotebookTemplate getDefaultTemplate() throws WTException
getDefaultTemplate
in interface NotebookService
WTException
public NotebookTemplate getDefaultObjectTemplate(boolean isUser) throws WTException
getDefaultObjectTemplate
in interface NotebookService
isUser
-
WTException
public Notebook createNotebook(NotebookTemplate template, String name, SubjectOfNotebook subject, WTContainerRef containerRef) throws WTException
createNotebook
in interface NotebookService
template
- name
- subject
- containerRef
-
WTException
private void dispatchEvent(String eventType, Object target) throws WTException
WTException
private void registerAsListener() throws ManagerException
ManagerException
public void propogateDelete(Enumeration childEnum) throws WTException
WTException
public String getOidString(String url)
private static String getNotebookTemplateStructure(boolean isUser) throws WTException
WTException
private NotebookTemplate getTemplate(WTContainerRef containerRef) throws WTException
WTException
public NotebookTemplate getObjectTemplate(WTContainerRef containerRef) throws WTException
WTException
private Vector getFolders(CollaborationContainer cc, Vector retVec) throws WTException
WTException
public Vector getAllChildrenOfFolder(NotebookFolder folder) throws WTException
WTException
private Vector getAllChildrenOfFolder(NotebookFolder pnf, Vector retVec) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |