org.opencrx.security.realm1.cci2
Interface PrincipalQuery

All Superinterfaces:
AnyTypePredicate, BasicObjectQuery, ContextCapableQuery, CreatableQuery, ExtentCapableQuery, ModifiableQuery, org.openmdx.security.realm1.cci2.PrincipalQuery

public interface PrincipalQuery
extends org.openmdx.security.realm1.cci2.PrincipalQuery


Method Summary
 org.openmdx.security.realm1.cci2.RoleQuery forAllGrantedRole()
          Adds a condition for the feature grantedRole to the predicate for Principal, which evaluates to false unless the value of the feature grantedRole satisfies the given condition.
 ComparableTypePredicate<Date> forAllLastLoginAt()
          Adds a condition for the feature lastLoginAt to the predicate for Principal, which evaluates to false unless the value of the feature lastLoginAt satisfies the given condition.
 MultivaluedFeaturePredicate grantedRole()
          Adds a constraint to the predicate for Principal testing whether the feature grantedRole has values or not.
 OptionalFeaturePredicate lastLoginAt()
          Adds a constraint to the predicate for Principal testing whether the value of the feature lastLoginAt is null or not.
 SimpleTypeOrder orderByLastLoginAt()
          Allows to adds a sort instruction for Principal depending the feature lastLoginAt Note: The order in which orderBy… instructions are given is relevant!
 org.openmdx.security.realm1.cci2.RoleQuery thereExistsGrantedRole()
          Adds a condition for the feature grantedRole to the predicate for Principal, which evaluates to false unless the value of the feature grantedRole satisfies the given condition.
 ComparableTypePredicate<Date> thereExistsLastLoginAt()
          Adds a condition for the feature lastLoginAt to the predicate for Principal, which evaluates to false unless the value of the feature lastLoginAt satisfies the given condition.
 
Methods inherited from interface org.openmdx.security.realm1.cci2.PrincipalQuery
authCredential, credential, description, disabled, forAllAuthCredential, forAllCredential, forAllDescription, forAllDisabled, forAllIsMemberOf, forAllSubject, isMemberOf, name, orderByDescription, orderByDisabled, orderByName, realm, subject, thereExistsAuthCredential, thereExistsCredential, thereExistsDescription, thereExistsDisabled, thereExistsIsMemberOf, thereExistsSubject
 
Methods inherited from interface org.openmdx.base.cci2.CreatableQuery
createdAt, createdBy, forAllCreatedBy, orderByCreatedAt, thereExistsCreatedBy
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapableQuery
identity, orderByIdentity
 
Methods inherited from interface org.openmdx.base.cci2.ModifiableQuery
forAllModifiedBy, modifiedAt, modifiedBy, orderByModifiedAt, thereExistsModifiedBy
 
Methods inherited from interface org.w3c.cci2.AnyTypePredicate
elementOf, elementOf, equals, equalTo, notAnElementOf, notAnElementOf, notEqualTo
 

Method Detail

grantedRole

MultivaluedFeaturePredicate grantedRole()
Adds a constraint to the predicate for Principal testing whether the feature grantedRole has values or not.


thereExistsGrantedRole

org.openmdx.security.realm1.cci2.RoleQuery thereExistsGrantedRole()
Adds a condition for the feature grantedRole to the predicate for Principal, which evaluates to false unless the value of the feature grantedRole satisfies the given condition.

Since the attribute is optional its value may be null, in which case the condition is not satisfied


forAllGrantedRole

org.openmdx.security.realm1.cci2.RoleQuery forAllGrantedRole()
Adds a condition for the feature grantedRole to the predicate for Principal, which evaluates to false unless the value of the feature grantedRole satisfies the given condition.

Since the attribute is optional its value may be null, in which case the condition is satisfied


lastLoginAt

OptionalFeaturePredicate lastLoginAt()
Adds a constraint to the predicate for Principal testing whether the value of the feature lastLoginAt is null or not.


thereExistsLastLoginAt

ComparableTypePredicate<Date> thereExistsLastLoginAt()
Adds a condition for the feature lastLoginAt to the predicate for Principal, which evaluates to false unless the value of the feature lastLoginAt satisfies the given condition.

Since the attribute is optional its value may be null, in which case the condition is not satisfied


forAllLastLoginAt

ComparableTypePredicate<Date> forAllLastLoginAt()
Adds a condition for the feature lastLoginAt to the predicate for Principal, which evaluates to false unless the value of the feature lastLoginAt satisfies the given condition.

Since the attribute is optional its value may be null, in which case the condition is satisfied


orderByLastLoginAt

SimpleTypeOrder orderByLastLoginAt()
Allows to adds a sort instruction for Principal depending the feature lastLoginAt Note: The order in which orderBy… instructions are given is relevant!



This software is published under the BSD license. Copyright © 2003-2012, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.