|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface EnterpriseService
This service supports one RevisionControlled object being made
from another RevisionControlled object (or made
into if you look at it the other way) and persisting the relationship;
one method, saveCopy(CopyRules,RevisionControlled,RevisionControlled),
uses CopyRules.
EnterpriseHelperStandardEnterpriseService has
listenersEnterpriseServiceEventWTException
| Method Summary | |
|---|---|
RevisionControlled |
navigateMadeFrom(RevisionControlled object)
Return the object that this object was made from (copied). |
QueryResult |
navigateMadeInto(RevisionControlled object)
Return a query result of the objects that were made from (copied from) this version of the object. |
RevisionControlled |
newCopy(RevisionControlled object)
Copy the object, but do not persist it. |
wt.enterprise.CopyObjectInfo[] |
newMultiObjectCopy(RevisionControlled[] originalObjects)
Copy the objects, but do not persist them. |
SortedEnumeration |
presentMadeInto(RevisionControlled object,
Vector displayAttributes,
String sortPreference,
Locale locale)
Return a sorted enumeration of the objects that were made from (copied from) this version of this object. |
RevisionControlled |
saveCopy(RevisionControlled original,
RevisionControlled copy)
Used after the client has called newCopy and set any attributes on the object that it wants to change. |
RevisionControlled |
saveFromTemplateObject(RevisionControlled original,
RevisionControlled copy)
This method persists the object created from a source object and copies the relationships from the source to the target object. |
wt.enterprise.CopyObjectInfo[] |
saveMultiObjectCopy(wt.enterprise.CopyObjectInfo[] copyInformation)
Used after the client has called newMultiObjectCopy and set any attributes on the objects that it wants to change. |
| Method Detail |
|---|
RevisionControlled newCopy(RevisionControlled object)
throws WTException
object - The original object to copy.
WTException
RevisionControlled saveCopy(RevisionControlled original,
RevisionControlled copy)
throws WTException
original - The original object that was copied.copy - The new copy that needs to be persisted..
WTException
RevisionControlled navigateMadeFrom(RevisionControlled object)
throws WTException
object - Object to find what it was copied from.
WTException
QueryResult navigateMadeInto(RevisionControlled object)
throws WTException
object - Object to find what was copied from it.
WTException
SortedEnumeration presentMadeInto(RevisionControlled object,
Vector displayAttributes,
String sortPreference,
Locale locale)
throws WTException
object - Object to find what was copied from it.displayAttributes - The list of attributes that the client wants to display from the results.sortPreference - To specify the sort preference for post processing of the results.locale - The locale of the client, used in the sorting of the results.
WTException
wt.enterprise.CopyObjectInfo[] newMultiObjectCopy(RevisionControlled[] originalObjects)
throws WTException
originalObjects - The original objects to copy.
WTException
wt.enterprise.CopyObjectInfo[] saveMultiObjectCopy(wt.enterprise.CopyObjectInfo[] copyInformation)
throws WTException
copyInformation - Contains original, copy and rules for each object.
WTException
RevisionControlled saveFromTemplateObject(RevisionControlled original,
RevisionControlled copy)
throws WTException
original - The original object that was copied.copy - The new copy that needs to be persisted..
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||