|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface WorkInProgressService
Provides server-side functionality as a service that's remotely available for use by a client. The intent is that this interface defines all the necessary server-side functionality for WIP.
Note that the methods in this service do not consider/handle "sandbox"
checkouts, but rather are specific to work-in-progress checkouts.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
Workable |
checkin(Workable object,
String note)
Checkin a workable object. |
WTCollection |
checkin(WTCollection objects,
String note)
Checkin a WTCollection of Workable objects. |
WTCollection |
checkin(WTCollection objects,
String note,
Folder folder)
Checkin a WTCollection of Workable objects to the folder specified by the name passed. |
WTCollection |
checkin(WTCollection objects,
String note,
String folder)
Checkin a WTCollection of Workable objects to the folder specified by the name passed. |
WTCollection |
checkin(WTKeyedMap objects)
Checkin a WTKeyedMap of Workable objects where the key is the Workable object, and the value is the note for that checkin. |
WTCollection |
checkin(WTKeyedMap objects,
Folder folder)
Checkin a WTKeyedMap of Workable objects to the folder specified by the name passed. |
WTCollection |
checkin(WTKeyedMap workableToNoteMap,
WTValuedMap workableToFolderMap)
Checkin a WTKeyedMap of Workable objects to checkin notes the folders specified by WTValuedMap of Workable objects to Folder objects passed. |
CheckoutLink |
checkout(Workable object,
Folder folder,
String note)
Checkout a workable object. |
CheckoutLink |
checkout(Workable object,
Folder folder,
String note,
boolean allowNonLatestCheckout)
Checkout a workable object. |
WTCollection |
checkout(WTCollection objects,
Folder folder,
String note)
Checks out a WTCollection of Workable objects to the specified folder. |
WTCollection |
checkout(WTCollection objects,
Folder folder,
String note,
boolean allowNonLatestCheckout)
Checks out a WTCollection of Workable objects to the specified folder. |
WTValuedMap |
checkoutMap(WTCollection objects,
Folder folder,
String note)
Checks out a WTCollection of Workable objects to the specified folder. |
WTValuedMap |
checkoutMap(WTCollection objects,
Folder folder,
String note,
boolean allowNonLatestCheckout)
Checks out a WTCollection of Workable objects to the specified folder. |
WTValuedMap |
checkoutMap(WTKeyedMap objects,
Folder folder)
Checks out a WTKeyedMap of Workable objects to the specified folder, where the key is the Workable object, and the value is the note for that checkout.. |
WTValuedMap |
checkoutMap(WTKeyedMap objects,
Folder folder,
boolean allowNonLatestCheckout)
Checks out a WTKeyedMap of Workable objects to the specified folder, where the key is the Workable object, and the value is the note for that checkout.. |
Workable |
derivedFrom(Workable workable)
Given a workable return its derived from workable and null if one does not exist Supported API: true |
WTValuedMap |
derivedFroms(WTCollection workables)
Given a collection of workables return a WTValuedMap with keys = objects in iterations that have a derivedFrom, values = corresponding derived from iterations. |
Map<WTUser,WTCollection> |
findCheckedOutObjects(WTCollection containers,
WTCollection users)
Find checked-out objects in the collection of containers for the collection of users. |
QueryResult |
findCheckedOutObjects(WTContainer container)
Find checked out objects for the container, return as a QueryResult. |
QueryResult |
findCheckedOutObjects(WTContainer container,
WTUser name)
Find checked out objects for the container and user, return as a QueryResult. |
QueryResult |
findCheckedOutObjects(WTUser name)
Find checked out objects for the user, return as a QueryResult. |
Folder |
getCheckoutFolder()
Gets the folder named "Checked Out" located in the current session user's personal cabinet. |
WTCollection |
getLocked(WTCollection workables)
Given a collection of workables return the workables from that collection that are on a branch that is locked, i.e. |
WTCollection |
getLocked(WTCollection workables,
WorkInProgressState wipState)
Given a collection of workables return the workables from that collection that are on a branch that is locked, i.e. |
boolean |
isCheckoutAllowed(Workable workable)
Given a workable object return true if it can be checked out. |
WTCollection |
isCheckoutAllowed(WTCollection workables)
Given a WTCollection of workables return a WTCollection containing only the workables that can be checked out. |
boolean |
isLocked(Workable workable)
Returns true if the input workable is locked because it or another iteration on its branch has been checked out. |
Workable |
originalCopyOf(Workable object)
Navigates to the original copy from a working copy via the CheckoutLink. |
Workable |
undoCheckout(Workable object)
Undo a checkout of a workable object. |
WTCollection |
undoCheckouts(WTCollection objects)
Given a WTCollection of checked out objects undo each checkout. |
void |
undoCheckouts(WTUser user,
WTContainer container)
Undo all checkouts by the user for objects located in the specified container. |
Workable |
workingCopyOf(Workable object)
Navigates to the working copy of an original copy via the CheckoutLink. |
| Method Detail |
|---|
Workable checkin(Workable object,
String note)
throws WTException,
WorkInProgressException,
WTPropertyVetoException,
PersistenceException
object - note -
WTException
WorkInProgressException
WTPropertyVetoException
PersistenceException
WTCollection checkin(WTCollection objects,
String note)
throws WTException,
WorkInProgressException,
WTPropertyVetoException,
PersistenceException
objects - The WTCollection of Workable objects to be checked in.note - The comment pertaining to the checkin of the Workable objects.
WTException
WorkInProgressException
WTPropertyVetoException
PersistenceException
WTCollection checkin(WTCollection objects,
String note,
String folder)
throws WTException,
WorkInProgressException,
WTPropertyVetoException,
PersistenceException
objects - The WTCollection of Workable objects to be checked in.note - The comment pertaining to the checkin of the Workable objects.folder - The name of the folder the objects are to be checked in to.
WTException
WorkInProgressException
WTPropertyVetoException
PersistenceException
WTCollection checkin(WTCollection objects,
String note,
Folder folder)
throws WTException,
WorkInProgressException,
WTPropertyVetoException,
PersistenceException
objects - The WTCollection of Workable objects to be checked in.note - The comment pertaining to the checkin of the Workable objects.folder - The Folder the objects are to be checked in to.
WTException
WorkInProgressException
WTPropertyVetoException
PersistenceException
WTCollection checkin(WTKeyedMap objects)
throws WTException,
WorkInProgressException,
WTPropertyVetoException,
PersistenceException
objects - The WTKeyedMap of Workable objects to be checked in.
WTException
WorkInProgressException
WTPropertyVetoException
PersistenceException
WTCollection checkin(WTKeyedMap objects,
Folder folder)
throws WTException,
WorkInProgressException,
WTPropertyVetoException,
PersistenceException
objects - The WTKeyedMap of Workable objects to be checked in.folder - The Folder the objects are to be checked in to.
WTException
WorkInProgressException
WTPropertyVetoException
PersistenceException
CheckoutLink checkout(Workable object,
Folder folder,
String note)
throws WTException,
WorkInProgressException,
NonLatestCheckoutException,
WTPropertyVetoException,
PersistenceException
object - folder - note -
WTException
WorkInProgressException
NonLatestCheckoutException
WTPropertyVetoException
PersistenceException
CheckoutLink checkout(Workable object,
Folder folder,
String note,
boolean allowNonLatestCheckout)
throws WorkInProgressException,
WTException
object - folder - note - allowNonLatestCheckout -
WorkInProgressException
WTException
WTCollection checkout(WTCollection objects,
Folder folder,
String note)
throws WTException,
WorkInProgressException,
NonLatestCheckoutException,
WTPropertyVetoException,
PersistenceException
objects - The WTCollection of objects to be checked out.folder - The Folder the objects are to be checked out to.note - The comment for the checkout operation.
WTException
WorkInProgressException
NonLatestCheckoutException
WTPropertyVetoException
PersistenceException
WTCollection checkout(WTCollection objects,
Folder folder,
String note,
boolean allowNonLatestCheckout)
throws WorkInProgressException,
WTException
objects - folder - note - allowNonLatestCheckout -
WorkInProgressException
WTException
Workable derivedFrom(Workable workable)
throws WorkInProgressException,
WTException
workable -
WorkInProgressException
WTException
WTValuedMap derivedFroms(WTCollection workables)
throws WorkInProgressException,
WTException
workables -
WorkInProgressException
WTException
Workable undoCheckout(Workable object)
throws WTException,
WorkInProgressException,
WTPropertyVetoException,
PersistenceException
object -
WTException
WorkInProgressException
WTPropertyVetoException
PersistenceException
void undoCheckouts(WTUser user,
WTContainer container)
throws WTException,
WorkInProgressException,
WTPropertyVetoException,
PersistenceException
user - container -
WTException
WorkInProgressException
WTPropertyVetoException
PersistenceException
WTCollection undoCheckouts(WTCollection objects)
throws WTException,
WorkInProgressException,
WTPropertyVetoException,
PersistenceException
objects - The WTCollection of checked out objects.
WTException
WorkInProgressException
WTPropertyVetoException
PersistenceException
Workable originalCopyOf(Workable object)
throws WTException,
WorkInProgressException
object -
WTException
WorkInProgressException
Workable workingCopyOf(Workable object)
throws WTException,
WorkInProgressException
object -
WTException
WorkInProgressException
Folder getCheckoutFolder()
throws WTException
WTException
boolean isLocked(Workable workable)
throws WorkInProgressException,
WTException
workable -
WorkInProgressException
WTException
WTCollection getLocked(WTCollection workables)
throws WorkInProgressException,
WTException
workables -
WorkInProgressException
WTException
WTCollection getLocked(WTCollection workables,
WorkInProgressState wipState)
throws WorkInProgressException,
WTException
workables - wipState -
WorkInProgressException
WTException
QueryResult findCheckedOutObjects(WTContainer container)
throws WTException
container -
WTException
QueryResult findCheckedOutObjects(WTContainer container,
WTUser name)
throws WTException
container - name -
WTException
QueryResult findCheckedOutObjects(WTUser name)
throws WTException
name -
WTException
Map<WTUser,WTCollection> findCheckedOutObjects(WTCollection containers,
WTCollection users)
throws WTException
containers - Collection of WTContainers. The objects returned will be in one of these containers.users - Collection of WTUsers. The objects returned will be checked out to one of these users.
WTException
WTValuedMap checkoutMap(WTCollection objects,
Folder folder,
String note)
throws WTException,
WorkInProgressException,
NonLatestCheckoutException,
WTPropertyVetoException,
PersistenceException,
wt.vc.wip.ObjectsAlreadyCheckedOutException
objects - The WTCollection of objects to be checked out.folder - The Folder the objects are to be checked out to.note - The comment for the checkout operation.
WTException
WorkInProgressException
NonLatestCheckoutException
WTPropertyVetoException
PersistenceException
wt.vc.wip.ObjectsAlreadyCheckedOutException
WTValuedMap checkoutMap(WTCollection objects,
Folder folder,
String note,
boolean allowNonLatestCheckout)
throws WorkInProgressException,
WTException
objects - folder - note - allowNonLatestCheckout -
WorkInProgressException
WTException
WTValuedMap checkoutMap(WTKeyedMap objects,
Folder folder)
throws WTException,
WorkInProgressException,
NonLatestCheckoutException,
WTPropertyVetoException,
PersistenceException,
wt.vc.wip.ObjectsAlreadyCheckedOutException
objects - The WTCollection of objects to be checked out.folder - The Folder the objects are to be checked out to.
WTException
WorkInProgressException
NonLatestCheckoutException
WTPropertyVetoException
PersistenceException
wt.vc.wip.ObjectsAlreadyCheckedOutException
WTValuedMap checkoutMap(WTKeyedMap objects,
Folder folder,
boolean allowNonLatestCheckout)
throws WorkInProgressException,
WTException
objects - folder - allowNonLatestCheckout -
WorkInProgressException
WTException
boolean isCheckoutAllowed(Workable workable)
throws WorkInProgressException,
WTException
workable -
WorkInProgressException
WTException
WTCollection isCheckoutAllowed(WTCollection workables)
throws WorkInProgressException,
WTException
workables -
WorkInProgressException
WTException
WTCollection checkin(WTKeyedMap workableToNoteMap,
WTValuedMap workableToFolderMap)
throws WTException,
WorkInProgressException,
WTPropertyVetoException,
PersistenceException
workableToNoteMap - workableToFolderMap -
WTException
WorkInProgressException
WTPropertyVetoException
PersistenceException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||