wt.part
Interface PartDocService

All Known Implementing Classes:
PartDocServiceFwd, StandardPartDocService

public interface PartDocService



Supported API: false

Extendable: false


Method Summary
 WTPart createPartDocRelation(WTPart part, WTDocument doc)
          

Supported API: false
 WTPart deletePartDocRelation(WTPart part, WTDocument doc)
          

Supported API: false
 QueryResult findEligibleDocuments(QuerySpec docSpec)
          

Supported API: false
 WTKeyedMap getAssociatedDocuments(WTCollection parts)
          Takes a collection of WTParts and returns a map where the keyset is a collection of the parts passed into the method.
 QueryResult getAssociatedDocuments(WTPart part)
          

Supported API: false
 QueryResult getAssociatedParts(WTDocument doc)
          

Supported API: false
 QueryResult getAssociatedUpdateableDocuments(WTPart part)
          

Supported API: false
 WTKeyedMap getLatestReleasedDocument(WTCollection masterCollection)
          Given a collection of WTDocumentMasters (can be colleciton of Persistables, QueryKeys or WTReferences) this method finds the latest released iteration.
 

Method Detail

createPartDocRelation

public WTPart createPartDocRelation(WTPart part,
                                    WTDocument doc)
                             throws WTException


Supported API: false

Parameters:
part -
doc -
Returns:
WTPart
Throws:
WTException

deletePartDocRelation

public WTPart deletePartDocRelation(WTPart part,
                                    WTDocument doc)
                             throws WTException


Supported API: false

Parameters:
part -
doc -
Returns:
WTPart
Throws:
WTException

getAssociatedDocuments

public QueryResult getAssociatedDocuments(WTPart part)
                                   throws WTException


Supported API: false

Parameters:
part -
Returns:
QueryResult
Throws:
WTException

getAssociatedDocuments

public WTKeyedMap getAssociatedDocuments(WTCollection parts)
                                  throws WTException
Takes a collection of WTParts and returns a map where the keyset is a collection of the parts passed into the method. The values in the map are WTCollections that contain either IteratedDescribeLink or DocumentVersion objects. If a part passed in does not have any associated documents, it will not be in the returned map.

Supported API: false

Parameters:
parts -
Returns:
WTKeyedMap
Throws:
WTException

getAssociatedUpdateableDocuments

public QueryResult getAssociatedUpdateableDocuments(WTPart part)
                                             throws WTException


Supported API: false

Parameters:
part -
Returns:
QueryResult
Throws:
WTException

getAssociatedParts

public QueryResult getAssociatedParts(WTDocument doc)
                               throws WTException


Supported API: false

Parameters:
doc -
Returns:
QueryResult
Throws:
WTException

findEligibleDocuments

public QueryResult findEligibleDocuments(QuerySpec docSpec)
                                  throws WTException


Supported API: false

Parameters:
docSpec -
Returns:
QueryResult
Throws:
WTException

getLatestReleasedDocument

public WTKeyedMap getLatestReleasedDocument(WTCollection masterCollection)
                                     throws WTException
Given a collection of WTDocumentMasters (can be colleciton of Persistables, QueryKeys or WTReferences) this method finds the latest released iteration. If there is no released iteration, the latest is used. The map returned has the input collection objects as keys and the appropriate iterations as the values. Note: if an eligible iteration cannot be found for a master, that master/iteration pair will not be returned in the map.

Supported API: false

Parameters:
masterCollection -
Returns:
WTKeyedMap
Throws:
WTException