|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface InUseDelegate
The InUseDelegate can be used to determine if a given iteration is undergoing
change. Typically, a user is not interested in other people's work-in-progress.
This delegate can be used by ConfigSpecs to filter out such iterations.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
QuerySpec |
filterInUseByPrincipal(QuerySpec qs,
WTPrincipal principal)
Appends critera to prevent objects that are owned by someone other than the principal to be returned. |
boolean |
iterationIsInUse(Iterated iterationToCheck)
Returns true if the given iteration is undergoing change by any individual. |
boolean |
iterationIsInUseByPrincipal(Iterated iterationToCheck,
WTPrincipal principal)
Returns true if the given iteration is undergoing change by the specified individual. |
| Method Detail |
|---|
boolean iterationIsInUse(Iterated iterationToCheck)
throws WTException
iterationToCheck -
WTException
boolean iterationIsInUseByPrincipal(Iterated iterationToCheck,
WTPrincipal principal)
throws WTException
iterationToCheck - principal -
WTException
QuerySpec filterInUseByPrincipal(QuerySpec qs,
WTPrincipal principal)
throws WTException
qs - the query spec that is returned with additional criteria addedprincipal - the principal (null implies current principal) who should be using the iteration(s)
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||