wt.part
Class PartDocServiceFwd

java.lang.Object
  extended bywt.part.PartDocServiceFwd
All Implemented Interfaces:
PartDocService, RemoteAccess, Serializable

public class PartDocServiceFwd
extends Object
implements RemoteAccess, PartDocService, 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
PartDocServiceFwd()
           
 
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.
private static Manager getManager()
           
 
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

PartDocServiceFwd

public PartDocServiceFwd()
Method Detail

getManager

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

createPartDocRelation

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


Supported API: false

Specified by:
createPartDocRelation in interface PartDocService
Parameters:
part -
doc -
Returns:
WTPart
Throws:
WTException

deletePartDocRelation

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


Supported API: false

Specified by:
deletePartDocRelation in interface PartDocService
Parameters:
part -
doc -
Returns:
WTPart
Throws:
WTException

getAssociatedDocuments

public QueryResult getAssociatedDocuments(WTPart part)
                                   throws WTException


Supported API: false

Specified by:
getAssociatedDocuments in interface PartDocService
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

Specified by:
getAssociatedDocuments in interface PartDocService
Parameters:
parts -
Returns:
WTKeyedMap
Throws:
WTException

getAssociatedUpdateableDocuments

public QueryResult getAssociatedUpdateableDocuments(WTPart part)
                                             throws WTException


Supported API: false

Specified by:
getAssociatedUpdateableDocuments in interface PartDocService
Parameters:
part -
Returns:
QueryResult
Throws:
WTException

getAssociatedParts

public QueryResult getAssociatedParts(WTDocument doc)
                               throws WTException


Supported API: false

Specified by:
getAssociatedParts in interface PartDocService
Parameters:
doc -
Returns:
QueryResult
Throws:
WTException

findEligibleDocuments

public QueryResult findEligibleDocuments(QuerySpec docSpec)
                                  throws WTException


Supported API: false

Specified by:
findEligibleDocuments in interface PartDocService
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

Specified by:
getLatestReleasedDocument in interface PartDocService
Parameters:
masterCollection -
Returns:
WTKeyedMap
Throws:
WTException