Package org.alfresco.rest.requests
Class People.WhereClause
- java.lang.Object
-
- org.alfresco.rest.requests.People.WhereClause
-
- Enclosing class:
- People
public class People.WhereClause extends java.lang.ObjectConstruct the Where clause of getFavorites You can use the where parameter to restrict the list in the response to entries of a specific kind. The where parameter takes a value. The value is a single predicate that can include one or more EXISTS conditions. The EXISTS condition uses a single operand to limit the list to include entries that include that one property. The property values are:- target/file target/folder target/site Usage: where.. targetFileExist().or().targetSiteExist().filterAnd().getFavorites(...) At this point this method is working only with @linkmethod.- Author:
- paul.brodner
-
-
Constructor Summary
Constructors Constructor Description WhereClause(People people)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RestPersonFavoritesModelsCollectiongetFavorites()People.WhereClauseinvalidWhereParameter(java.lang.String invalidParameter)People.WhereClauseor()People.WhereClausetargetFileExist()People.WhereClausetargetFolderExist()People.WhereClausetargetSiteExist()
-
-
-
Constructor Detail
-
WhereClause
public WhereClause(People people)
-
-
Method Detail
-
targetFileExist
public People.WhereClause targetFileExist()
-
targetFolderExist
public People.WhereClause targetFolderExist()
-
targetSiteExist
public People.WhereClause targetSiteExist()
-
invalidWhereParameter
public People.WhereClause invalidWhereParameter(java.lang.String invalidParameter)
-
or
public People.WhereClause or()
-
getFavorites
public RestPersonFavoritesModelsCollection getFavorites() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-