com.ptc.netmarkets.document
Class NmDocumentServiceFwd

java.lang.Object
  extended bycom.ptc.netmarkets.document.NmDocumentServiceFwd
All Implemented Interfaces:
NmDocumentService, RemoteAccess, Serializable

public class NmDocumentServiceFwd
extends Object
implements RemoteAccess, NmDocumentService, Serializable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private static String FC_RESOURCE
           
(package private) static boolean SERVER
           
 
Fields inherited from interface wt.method.RemoteAccess
versionID
 
Constructor Summary
NmDocumentServiceFwd()
           
 
Method Summary
 void addAttachment(NmCommandBean cb)
          

Supported API: false
 NmOid create(NmCommandBean cb, NmDocument nmDocument, String tempFile)
          

Supported API: false
 NmOid createFromTemplate(NmCommandBean cb, NmDocument nmDocument, String templateOid)
          

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

Supported API: false
 String download(NmOid nmOid)
          

Supported API: false
 String edit(NmCommandBean cb)
          

Supported API: false
 String edit(NmOid docOid)
          

Supported API: false
 String edit(NmOid docOid, boolean redirect)
          

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

Supported API: false
 HashMap getDocDetailsModels(NmCommandBean cb, boolean showOld)
          

Supported API: false
 NmDocument getDocumentProperties(NmCommandBean cb)
          

Supported API: false
 NmDocument getDocumentProperties(NmOid nmOid)
          

Supported API: false
 NmDocument getDocumentProperties(NmOid oid, boolean viewOld)
          

Supported API: false
private static Manager getManager()
           
 NmDocument getMinimalDocumentProperties(NmOid nmOid)
          

Supported API: false
 NmDocument getMinimalDocumentProperties(NmOid nmOid, Persistable ref)
          

Supported API: false
 NmDocument getNmDocument(NmCommandBean cb)
          

Supported API: false
 NmDocument getNmDocument(NmOid oid)
          

Supported API: false
 NmDocument getNmDocumentWithContent(NmOid oid)
          

Supported API: false
 NmDocument getNmDocumentWithType(NmOid oid)
          

Supported API: false
 ArrayList getTemplates(NmOid projectOid)
          

Supported API: false
 boolean hasTemplates(WTContainerRef containerRef)
          

Supported API: false
 boolean isTemplate(NmCommandBean cb)
          

Supported API: false
 boolean isTemplate(NmOid oid)
          

Supported API: false
 NmDefaultHTMLTable listAttachments(NmCommandBean cb)
          

Supported API: false
 NmHTMLTable listDescribes(NmCommandBean cb, boolean showOld)
          

Supported API: false
 NmDefaultHTMLTable listHistory(NmCommandBean cb)
          

Supported API: false
 NmHTMLTable listReferences(NmCommandBean cb, boolean showOld)
          

Supported API: false
 void rename(NmCommandBean cb, NmDocument nmDocument)
          

Supported API: false
 void update(NmCommandBean cb, NmDocument nmDocument, String tempFile, String checkInComments, boolean checkOut)
          

Supported API: false
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVER

static final boolean SERVER

FC_RESOURCE

private static final String FC_RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Constructor Detail

NmDocumentServiceFwd

public NmDocumentServiceFwd()
Method Detail

getManager

private static Manager getManager()
                           throws WTException
Returns:
Manager
Throws:
WTException

create

public NmOid create(NmCommandBean cb,
                    NmDocument nmDocument,
                    String tempFile)
             throws WTException


Supported API: false

Specified by:
create in interface NmDocumentService
Parameters:
cb -
nmDocument -
tempFile -
Returns:
NmOid
Throws:
WTException

edit

public String edit(NmCommandBean cb)
            throws WTException


Supported API: false

Specified by:
edit in interface NmDocumentService
Parameters:
cb -
Returns:
String
Throws:
WTException

update

public void update(NmCommandBean cb,
                   NmDocument nmDocument,
                   String tempFile,
                   String checkInComments,
                   boolean checkOut)
            throws WTException


Supported API: false

Specified by:
update in interface NmDocumentService
Parameters:
cb -
nmDocument -
tempFile -
checkInComments -
checkOut -
Throws:
WTException

getDocumentProperties

public NmDocument getDocumentProperties(NmCommandBean cb)
                                 throws WTException


Supported API: false

Specified by:
getDocumentProperties in interface NmDocumentService
Parameters:
cb -
Returns:
NmDocument
Throws:
WTException

getDocumentProperties

public NmDocument getDocumentProperties(NmOid oid,
                                        boolean viewOld)
                                 throws WTException


Supported API: false

Specified by:
getDocumentProperties in interface NmDocumentService
Parameters:
oid -
viewOld -
Returns:
NmDocument
Throws:
WTException

listHistory

public NmDefaultHTMLTable listHistory(NmCommandBean cb)
                               throws WTException


Supported API: false

Specified by:
listHistory in interface NmDocumentService
Parameters:
cb -
Returns:
NmDefaultHTMLTable
Throws:
WTException

download

public String download(NmOid nmOid)
                throws WTException


Supported API: false

Specified by:
download in interface NmDocumentService
Parameters:
nmOid -
Returns:
String
Throws:
WTException

createFromTemplate

public NmOid createFromTemplate(NmCommandBean cb,
                                NmDocument nmDocument,
                                String templateOid)
                         throws WTException


Supported API: false

Specified by:
createFromTemplate in interface NmDocumentService
Parameters:
cb -
nmDocument -
templateOid -
Returns:
NmOid
Throws:
WTException

getTemplates

public ArrayList getTemplates(NmOid projectOid)
                       throws WTException


Supported API: false

Specified by:
getTemplates in interface NmDocumentService
Parameters:
projectOid -
Returns:
ArrayList
Throws:
WTException

edit

public String edit(NmOid docOid)
            throws WTException


Supported API: false

Specified by:
edit in interface NmDocumentService
Parameters:
docOid -
Returns:
String
Throws:
WTException

getDocumentProperties

public NmDocument getDocumentProperties(NmOid nmOid)
                                 throws WTException


Supported API: false

Specified by:
getDocumentProperties in interface NmDocumentService
Parameters:
nmOid -
Returns:
NmDocument
Throws:
WTException

getMinimalDocumentProperties

public NmDocument getMinimalDocumentProperties(NmOid nmOid)
                                        throws WTException


Supported API: false

Specified by:
getMinimalDocumentProperties in interface NmDocumentService
Parameters:
nmOid -
Returns:
NmDocument
Throws:
WTException

getMinimalDocumentProperties

public NmDocument getMinimalDocumentProperties(NmOid nmOid,
                                               Persistable ref)
                                        throws WTException


Supported API: false

Specified by:
getMinimalDocumentProperties in interface NmDocumentService
Parameters:
nmOid -
ref -
Returns:
NmDocument
Throws:
WTException

enable

public NmChangeModel[] enable(NmCommandBean cb)
                       throws WTException


Supported API: false

Specified by:
enable in interface NmDocumentService
Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

disable

public NmChangeModel[] disable(NmCommandBean cb)
                        throws WTException


Supported API: false

Specified by:
disable in interface NmDocumentService
Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

getNmDocument

public NmDocument getNmDocument(NmOid oid)
                         throws WTException


Supported API: false

Specified by:
getNmDocument in interface NmDocumentService
Parameters:
oid -
Returns:
NmDocument
Throws:
WTException

getNmDocument

public NmDocument getNmDocument(NmCommandBean cb)
                         throws WTException


Supported API: false

Specified by:
getNmDocument in interface NmDocumentService
Parameters:
cb -
Returns:
NmDocument
Throws:
WTException

listReferences

public NmHTMLTable listReferences(NmCommandBean cb,
                                  boolean showOld)
                           throws WTException


Supported API: false

Specified by:
listReferences in interface NmDocumentService
Parameters:
cb -
showOld -
Returns:
NmHTMLTable
Throws:
WTException

listDescribes

public NmHTMLTable listDescribes(NmCommandBean cb,
                                 boolean showOld)
                          throws WTException


Supported API: false

Specified by:
listDescribes in interface NmDocumentService
Parameters:
cb -
showOld -
Returns:
NmHTMLTable
Throws:
WTException

listAttachments

public NmDefaultHTMLTable listAttachments(NmCommandBean cb)
                                   throws WTException


Supported API: false

Specified by:
listAttachments in interface NmDocumentService
Parameters:
cb -
Returns:
NmDefaultHTMLTable
Throws:
WTException

addAttachment

public void addAttachment(NmCommandBean cb)
                   throws WTException


Supported API: false

Specified by:
addAttachment in interface NmDocumentService
Parameters:
cb -
Throws:
WTException

isTemplate

public boolean isTemplate(NmOid oid)
                   throws WTException


Supported API: false

Specified by:
isTemplate in interface NmDocumentService
Parameters:
oid -
Returns:
boolean
Throws:
WTException

isTemplate

public boolean isTemplate(NmCommandBean cb)
                   throws WTException


Supported API: false

Specified by:
isTemplate in interface NmDocumentService
Parameters:
cb -
Returns:
boolean
Throws:
WTException

hasTemplates

public boolean hasTemplates(WTContainerRef containerRef)
                     throws WTException


Supported API: false

Specified by:
hasTemplates in interface NmDocumentService
Parameters:
containerRef -
Returns:
boolean
Throws:
WTException

getNmDocumentWithContent

public NmDocument getNmDocumentWithContent(NmOid oid)
                                    throws WTException


Supported API: false

Specified by:
getNmDocumentWithContent in interface NmDocumentService
Parameters:
oid -
Returns:
NmDocument
Throws:
WTException

edit

public String edit(NmOid docOid,
                   boolean redirect)
            throws WTException


Supported API: false

Specified by:
edit in interface NmDocumentService
Parameters:
docOid -
redirect -
Returns:
String
Throws:
WTException

getDocDetailsModels

public HashMap getDocDetailsModels(NmCommandBean cb,
                                   boolean showOld)
                            throws WTException


Supported API: false

Specified by:
getDocDetailsModels in interface NmDocumentService
Parameters:
cb -
showOld -
Returns:
HashMap
Throws:
WTException

getNmDocumentWithType

public NmDocument getNmDocumentWithType(NmOid oid)
                                 throws WTException


Supported API: false

Specified by:
getNmDocumentWithType in interface NmDocumentService
Parameters:
oid -
Returns:
NmDocument
Throws:
WTException

rename

public void rename(NmCommandBean cb,
                   NmDocument nmDocument)
            throws WTException


Supported API: false

Specified by:
rename in interface NmDocumentService
Parameters:
cb -
nmDocument -
Throws:
WTException