Class AbstractFiqlSearchConditionBuilder.Builder<P extends SyncopeProperty<C>,PA extends SyncopePartialCondition<P,C>,C extends SyncopeCompleteCondition<PA,P>>
- java.lang.Object
-
- org.apache.syncope.common.lib.search.AbstractFiqlSearchConditionBuilder.Builder<P,PA,C>
-
- All Implemented Interfaces:
org.apache.cxf.jaxrs.ext.search.client.CompleteCondition
,org.apache.cxf.jaxrs.ext.search.client.PartialCondition
,org.apache.cxf.jaxrs.ext.search.client.Property
,SyncopeCompleteCondition<PA,P>
,SyncopePartialCondition<P,C>
,SyncopeProperty<C>
- Direct Known Subclasses:
AnyObjectFiqlSearchConditionBuilder.Builder
,ConnObjectTOFiqlSearchConditionBuilder.Builder
,GroupFiqlSearchConditionBuilder.Builder
,UserFiqlSearchConditionBuilder.Builder
- Enclosing class:
- AbstractFiqlSearchConditionBuilder<P extends SyncopeProperty<C>,PA extends SyncopePartialCondition<P,C>,C extends SyncopeCompleteCondition<PA,P>>
protected static class AbstractFiqlSearchConditionBuilder.Builder<P extends SyncopeProperty<C>,PA extends SyncopePartialCondition<P,C>,C extends SyncopeCompleteCondition<PA,P>> extends Object implements SyncopeProperty<C>, SyncopeCompleteCondition<PA,P>, SyncopePartialCondition<P,C>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PA
and()
P
and(String name)
C
and(List<org.apache.cxf.jaxrs.ext.search.client.CompleteCondition> conditions)
C
and(org.apache.cxf.jaxrs.ext.search.client.CompleteCondition cc, org.apache.cxf.jaxrs.ext.search.client.CompleteCondition cc1, org.apache.cxf.jaxrs.ext.search.client.CompleteCondition... cn)
protected C
condition(String operator, Object value, Object... moreValues)
C
equalToIgnoreCase(String value, String... moreValues)
Is textual property equal to (ignoring case) given literal or matching given pattern?C
hasAuxClasses(String auxClass, String... moreAuxClasses)
Has user, group or any object assigned the given auxiliary class(es)?C
hasNotAuxClasses(String auxClass, String... moreAuxClasses)
Has user, group or any object not assigned the given auxiliary class(es)?C
hasNotResources(String resource, String... moreResources)
Is user, group or any object not owning given resource(s)?C
hasResources(String resource, String... moreResources)
Is user, group or any object owning given resource(s)?C
inDynRealms(String dynRealm, String... moreDynRealms)
Is user, group or any object in the given dynamic realm(s)?P
is(String property)
C
notEqualTolIgnoreCase(String literalOrPattern)
Is textual property different (ignoring case) than given literal or not matching given pattern?C
notInDynRealms(String dynRealm, String... moreDynRealms)
Is user, group or any object not in the given dynamic realm(s)?C
notNullValue()
Is property not null?C
nullValue()
Is property null?PA
or()
P
or(String name)
C
or(List<org.apache.cxf.jaxrs.ext.search.client.CompleteCondition> conditions)
C
or(org.apache.cxf.jaxrs.ext.search.client.CompleteCondition cc, org.apache.cxf.jaxrs.ext.search.client.CompleteCondition cc1, org.apache.cxf.jaxrs.ext.search.client.CompleteCondition... cn)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.cxf.jaxrs.ext.search.client.CompleteCondition
query, wrap
-
Methods inherited from interface org.apache.cxf.jaxrs.ext.search.client.Property
after, after, before, before, comparesTo, comparesTo, comparesTo, comparesTo, comparesTo, comparesTo, equalTo, equalTo, equalTo, equalTo, equalTo, equalTo, greaterOrEqualTo, greaterOrEqualTo, greaterOrEqualTo, greaterThan, greaterThan, greaterThan, lessOrEqualTo, lessOrEqualTo, lessOrEqualTo, lessThan, lessThan, lessThan, lexicalAfter, lexicalBefore, lexicalNotAfter, lexicalNotBefore, notAfter, notAfter, notBefore, notBefore, notEqualTo, notEqualTo, notEqualTo, notEqualTo, notEqualTo, notEqualTo
-
-
-
-
Method Detail
-
is
public P is(String property)
- Specified by:
is
in interfaceorg.apache.cxf.jaxrs.ext.search.client.PartialCondition
- Specified by:
is
in interfaceSyncopePartialCondition<P extends SyncopeProperty<C>,PA extends SyncopePartialCondition<P,C>>
-
equalToIgnoreCase
public C equalToIgnoreCase(String value, String... moreValues)
Description copied from interface:SyncopeProperty
Is textual property equal to (ignoring case) given literal or matching given pattern?- Specified by:
equalToIgnoreCase
in interfaceSyncopeProperty<P extends SyncopeProperty<C>>
- Parameters:
value
- first valuemoreValues
- more values- Returns:
- updated condition
-
notEqualTolIgnoreCase
public C notEqualTolIgnoreCase(String literalOrPattern)
Description copied from interface:SyncopeProperty
Is textual property different (ignoring case) than given literal or not matching given pattern?- Specified by:
notEqualTolIgnoreCase
in interfaceSyncopeProperty<P extends SyncopeProperty<C>>
- Parameters:
literalOrPattern
- The literal or Pattern String- Returns:
- updated condition
-
nullValue
public C nullValue()
Description copied from interface:SyncopeProperty
Is property null?- Specified by:
nullValue
in interfaceSyncopeProperty<P extends SyncopeProperty<C>>
- Returns:
- updated condition
-
notNullValue
public C notNullValue()
Description copied from interface:SyncopeProperty
Is property not null?- Specified by:
notNullValue
in interfaceSyncopeProperty<P extends SyncopeProperty<C>>
- Returns:
- updated condition
-
hasAuxClasses
public C hasAuxClasses(String auxClass, String... moreAuxClasses)
Description copied from interface:SyncopeProperty
Has user, group or any object assigned the given auxiliary class(es)?- Specified by:
hasAuxClasses
in interfaceSyncopeProperty<P extends SyncopeProperty<C>>
- Parameters:
auxClass
- first auxiliary classmoreAuxClasses
- more auxiliary classes- Returns:
- updated condition
-
hasNotAuxClasses
public C hasNotAuxClasses(String auxClass, String... moreAuxClasses)
Description copied from interface:SyncopeProperty
Has user, group or any object not assigned the given auxiliary class(es)?- Specified by:
hasNotAuxClasses
in interfaceSyncopeProperty<P extends SyncopeProperty<C>>
- Parameters:
auxClass
- first auxiliary classmoreAuxClasses
- more auxiliary classes- Returns:
- updated condition
-
hasResources
public C hasResources(String resource, String... moreResources)
Description copied from interface:SyncopeProperty
Is user, group or any object owning given resource(s)?- Specified by:
hasResources
in interfaceSyncopeProperty<P extends SyncopeProperty<C>>
- Parameters:
resource
- first resourcemoreResources
- more resources- Returns:
- updated condition
-
hasNotResources
public C hasNotResources(String resource, String... moreResources)
Description copied from interface:SyncopeProperty
Is user, group or any object not owning given resource(s)?- Specified by:
hasNotResources
in interfaceSyncopeProperty<P extends SyncopeProperty<C>>
- Parameters:
resource
- first resourcemoreResources
- more resources- Returns:
- updated condition
-
inDynRealms
public C inDynRealms(String dynRealm, String... moreDynRealms)
Description copied from interface:SyncopeProperty
Is user, group or any object in the given dynamic realm(s)?- Specified by:
inDynRealms
in interfaceSyncopeProperty<P extends SyncopeProperty<C>>
- Parameters:
dynRealm
- first dynamic realmmoreDynRealms
- more dynamic realms- Returns:
- updated condition
-
notInDynRealms
public C notInDynRealms(String dynRealm, String... moreDynRealms)
Description copied from interface:SyncopeProperty
Is user, group or any object not in the given dynamic realm(s)?- Specified by:
notInDynRealms
in interfaceSyncopeProperty<P extends SyncopeProperty<C>>
- Parameters:
dynRealm
- first dynamic realmmoreDynRealms
- more dynamic realms- Returns:
- updated condition
-
and
public PA and()
- Specified by:
and
in interfaceorg.apache.cxf.jaxrs.ext.search.client.CompleteCondition
- Specified by:
and
in interfaceSyncopeCompleteCondition<P extends SyncopeProperty<C>,PA extends SyncopePartialCondition<P,C>>
-
and
public P and(String name)
- Specified by:
and
in interfaceorg.apache.cxf.jaxrs.ext.search.client.CompleteCondition
- Specified by:
and
in interfaceSyncopeCompleteCondition<P extends SyncopeProperty<C>,PA extends SyncopePartialCondition<P,C>>
-
or
public PA or()
- Specified by:
or
in interfaceorg.apache.cxf.jaxrs.ext.search.client.CompleteCondition
- Specified by:
or
in interfaceSyncopeCompleteCondition<P extends SyncopeProperty<C>,PA extends SyncopePartialCondition<P,C>>
-
or
public P or(String name)
- Specified by:
or
in interfaceorg.apache.cxf.jaxrs.ext.search.client.CompleteCondition
- Specified by:
or
in interfaceSyncopeCompleteCondition<P extends SyncopeProperty<C>,PA extends SyncopePartialCondition<P,C>>
-
and
public C and(org.apache.cxf.jaxrs.ext.search.client.CompleteCondition cc, org.apache.cxf.jaxrs.ext.search.client.CompleteCondition cc1, org.apache.cxf.jaxrs.ext.search.client.CompleteCondition... cn)
- Specified by:
and
in interfaceorg.apache.cxf.jaxrs.ext.search.client.PartialCondition
- Specified by:
and
in interfaceSyncopePartialCondition<P extends SyncopeProperty<C>,PA extends SyncopePartialCondition<P,C>>
-
or
public C or(org.apache.cxf.jaxrs.ext.search.client.CompleteCondition cc, org.apache.cxf.jaxrs.ext.search.client.CompleteCondition cc1, org.apache.cxf.jaxrs.ext.search.client.CompleteCondition... cn)
- Specified by:
or
in interfaceorg.apache.cxf.jaxrs.ext.search.client.PartialCondition
- Specified by:
or
in interfaceSyncopePartialCondition<P extends SyncopeProperty<C>,PA extends SyncopePartialCondition<P,C>>
-
and
public C and(List<org.apache.cxf.jaxrs.ext.search.client.CompleteCondition> conditions)
- Specified by:
and
in interfaceorg.apache.cxf.jaxrs.ext.search.client.PartialCondition
- Specified by:
and
in interfaceSyncopePartialCondition<P extends SyncopeProperty<C>,PA extends SyncopePartialCondition<P,C>>
-
or
public C or(List<org.apache.cxf.jaxrs.ext.search.client.CompleteCondition> conditions)
- Specified by:
or
in interfaceorg.apache.cxf.jaxrs.ext.search.client.PartialCondition
- Specified by:
or
in interfaceSyncopePartialCondition<P extends SyncopeProperty<C>,PA extends SyncopePartialCondition<P,C>>
-
-