|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.esi.esidoc.ESIDocUtility
Supported API: true
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private TaskHelper |
taskHelper
|
Constructor Summary | |
ESIDocUtility()
|
Method Summary | |
(package private) Vector |
addDocsToVector(PartDocInfo pdi,
boolean getDoc,
Vector documents)
|
(package private) Collection |
addElementstoResponse(Collection docs,
Group docGrp)
|
(package private) Collection |
addTargetsToDocument(Collection docs)
|
(package private) Collection |
addTargetsToDocuments(Collection docs,
Collection targets)
|
(package private) Collection |
getAllDocuments(Collection[] partDocInfo,
boolean getDoc)
Supported API: false |
Collection |
getDocLinks(Collection documents,
Collection partDocInfo)
Given a Collection of ESITargetAssociations and a Collection of PartDocInfo objects, return a Collection of ESITargetAssocations whose persistable object was found from the contents of both inout arguments. |
void |
getESIDoc(Collection previousParts,
Collection currentParts,
Collection targetOrgs,
String wcAdapter,
String authorization,
VdbBuilder builder)
match the previous parts with the current parts and call the document renderer once for each match. |
IeCollection |
getESIDoc(WTPart previousPart,
WTPart currentPart,
Collection targetOrgs,
String wcAdapter,
String authorization,
String transactionID)
Given the current and previous iteration of a part this method will call the DocumentRenderer and create the elements in VdbBuilder Supported API: true |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(ESIDocUtility thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
Collection[] |
retrievePartDocDifferences(WTPart currentPart,
WTPart previousPart)
This method compares the set of WTDocuments and EPMDocuments that are associated with the two given WTPart iterations and returns an array of QueryResult objects. |
Collection |
retrievePartDocInformation(WTPart part)
Returns Collection of PartDocInfo objects that provide information about the WTDocument and EPMDocuments associated with the given WTPart Supported API: true |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private TaskHelper taskHelper
Constructor Detail |
public ESIDocUtility()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(ESIDocUtility thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public final IeCollection getESIDoc(WTPart previousPart, WTPart currentPart, Collection targetOrgs, String wcAdapter, String authorization, String transactionID) throws WTException
previousPart
- currentPart
- targetOrgs
- wcAdapter
- authorization
- transactionID
- The id of a transaction to be associated with the VDB builder created by this method.
WTException
public final void getESIDoc(Collection previousParts, Collection currentParts, Collection targetOrgs, String wcAdapter, String authorization, VdbBuilder builder) throws WTException
previousParts
- currentParts
- targetOrgs
- wcAdapter
- authorization
- builder
-
WTException
public final Collection getDocLinks(Collection documents, Collection partDocInfo) throws WTException
documents
- partDocInfo
-
WTException
public final Collection retrievePartDocInformation(WTPart part) throws WTException
part
-
WTException
public final Collection[] retrievePartDocDifferences(WTPart currentPart, WTPart previousPart) throws WTException
Element 0 of the array is a Collection of PartDocInfo objects that provide information about the documents that are associated with the current part but are not associated with the previous part. In the ESI scenario, this would represent the set of documents that have been added to the part since the last time the part had been sent to ERP.
Element 1 of the array is a Collection of PartDocInfo objects that provide information about the documents that are associated with the previous part but are not associated with the current part. In the ESI scenario, this would represent the set of documents that have been deleted from the part since the last time the part had been sent to ERP.
Element 2 of the array is a Collection of PartDocInfo objects that
provide information about the documents that are associated with both
the previous part and current part.
Supported API: true
currentPart
- previousPart
-
WTException
final Collection getAllDocuments(Collection[] partDocInfo, boolean getDoc)
partDocInfo
- getDoc
-
final Vector addDocsToVector(PartDocInfo pdi, boolean getDoc, Vector documents)
final Collection addTargetsToDocuments(Collection docs, Collection targets) throws WTException
WTException
final Collection addTargetsToDocument(Collection docs)
final Collection addElementstoResponse(Collection docs, Group docGrp) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |