com.ptc.netmarkets.document
Interface NmDocumentService

All Known Implementing Classes:
NmDocumentServiceFwd, StandardNmDocumentService

public interface NmDocumentService



Supported API: false

Extendable: false


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
 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
 

Method Detail

create

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


Supported API: false

Parameters:
cb -
nmDocument -
tempFile -
Returns:
NmOid
Throws:
WTException

edit

public String edit(NmCommandBean cb)
            throws WTException


Supported API: false

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

Parameters:
cb -
nmDocument -
tempFile -
checkInComments -
checkOut -
Throws:
WTException

getDocumentProperties

public NmDocument getDocumentProperties(NmCommandBean cb)
                                 throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmDocument
Throws:
WTException

getDocumentProperties

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


Supported API: false

Parameters:
oid -
viewOld -
Returns:
NmDocument
Throws:
WTException

listHistory

public NmDefaultHTMLTable listHistory(NmCommandBean cb)
                               throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmDefaultHTMLTable
Throws:
WTException

download

public String download(NmOid nmOid)
                throws WTException


Supported API: false

Parameters:
nmOid -
Returns:
String
Throws:
WTException

createFromTemplate

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


Supported API: false

Parameters:
cb -
nmDocument -
templateOid -
Returns:
NmOid
Throws:
WTException

getTemplates

public ArrayList getTemplates(NmOid projectOid)
                       throws WTException


Supported API: false

Parameters:
projectOid -
Returns:
ArrayList
Throws:
WTException

edit

public String edit(NmOid docOid)
            throws WTException


Supported API: false

Parameters:
docOid -
Returns:
String
Throws:
WTException

getDocumentProperties

public NmDocument getDocumentProperties(NmOid nmOid)
                                 throws WTException


Supported API: false

Parameters:
nmOid -
Returns:
NmDocument
Throws:
WTException

getMinimalDocumentProperties

public NmDocument getMinimalDocumentProperties(NmOid nmOid)
                                        throws WTException


Supported API: false

Parameters:
nmOid -
Returns:
NmDocument
Throws:
WTException

getMinimalDocumentProperties

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


Supported API: false

Parameters:
nmOid -
ref -
Returns:
NmDocument
Throws:
WTException

enable

public NmChangeModel[] enable(NmCommandBean cb)
                       throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

disable

public NmChangeModel[] disable(NmCommandBean cb)
                        throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmChangeModel[]
Throws:
WTException

getNmDocument

public NmDocument getNmDocument(NmOid oid)
                         throws WTException


Supported API: false

Parameters:
oid -
Returns:
NmDocument
Throws:
WTException

getNmDocument

public NmDocument getNmDocument(NmCommandBean cb)
                         throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmDocument
Throws:
WTException

listReferences

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


Supported API: false

Parameters:
cb -
showOld -
Returns:
NmHTMLTable
Throws:
WTException

listDescribes

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


Supported API: false

Parameters:
cb -
showOld -
Returns:
NmHTMLTable
Throws:
WTException

listAttachments

public NmDefaultHTMLTable listAttachments(NmCommandBean cb)
                                   throws WTException


Supported API: false

Parameters:
cb -
Returns:
NmDefaultHTMLTable
Throws:
WTException

addAttachment

public void addAttachment(NmCommandBean cb)
                   throws WTException


Supported API: false

Parameters:
cb -
Throws:
WTException

isTemplate

public boolean isTemplate(NmOid oid)
                   throws WTException


Supported API: false

Parameters:
oid -
Returns:
boolean
Throws:
WTException

isTemplate

public boolean isTemplate(NmCommandBean cb)
                   throws WTException


Supported API: false

Parameters:
cb -
Returns:
boolean
Throws:
WTException

hasTemplates

public boolean hasTemplates(WTContainerRef containerRef)
                     throws WTException


Supported API: false

Parameters:
containerRef -
Returns:
boolean
Throws:
WTException

getNmDocumentWithContent

public NmDocument getNmDocumentWithContent(NmOid oid)
                                    throws WTException


Supported API: false

Parameters:
oid -
Returns:
NmDocument
Throws:
WTException

edit

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


Supported API: false

Parameters:
docOid -
redirect -
Returns:
String
Throws:
WTException

getDocDetailsModels

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


Supported API: false

Parameters:
cb -
showOld -
Returns:
HashMap
Throws:
WTException

getNmDocumentWithType

public NmDocument getNmDocumentWithType(NmOid oid)
                                 throws WTException


Supported API: false

Parameters:
oid -
Returns:
NmDocument
Throws:
WTException

rename

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


Supported API: false

Parameters:
cb -
nmDocument -
Throws:
WTException