gov.nih.nci.mageom.search.AuditAndSecurity
Interface PersonSearchCriteria

All Superinterfaces:
ContactSearchCriteria, DescribableSearchCriteria, ExtendableSearchCriteria, IdentifiableSearchCriteria, Searchable, SessionObject
All Known Implementing Classes:
PersonSearchCriteriaImpl

public interface PersonSearchCriteria
extends ContactSearchCriteria, Searchable

Represents a query for Person objects.

Version:
%I%, %G%

Field Summary
static java.lang.String AFFILIATIONID_ATTRIBUTE
          The String name of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Organization.id.
static java.lang.String FIRSTNAME_ATTRIBUTE
          This String name of criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Person.firstName.
static java.lang.String ID_ATTRIBUTE
          This String name of criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Person.id.
static java.lang.String LASTNAME_ATTRIBUTE
          This String name of criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Person.lastName.
static java.lang.String MIDINITIALS_ATTRIBUTE
          This String name of criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Person.midInitials.
 
Fields inherited from interface gov.nih.nci.mageom.search.AuditAndSecurity.ContactSearchCriteria
ADDRESS_ATTRIBUTE, EMAIL_ATTRIBUTE, FAX_ATTRIBUTE, PHONE_ATTRIBUTE, TOLLFREEPHONE_ATTRIBUTE, URI_ATTRIBUTE
 
Fields inherited from interface gov.nih.nci.mageom.search.IdentifiableSearchCriteria
IDENTIFIER_ATTRIBUTE, NAME_ATTRIBUTE
 
Fields inherited from interface gov.nih.nci.mageom.search.DescribableSearchCriteria
SECURITYID_ATTRIBUTE
 
Method Summary
 java.lang.Long getAffiliationId()
          Gets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Organization.id
 java.lang.String getFirstName()
          Gets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Person.firstName
 java.lang.Long getId()
          Returns the value of the id criterion.
 java.lang.String getLastName()
          Gets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Person.lastName
 java.lang.String getMidInitials()
          Gets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Person.midInitials
 void setAffiliationCriteria(OrganizationSearchCriteria criteria)
          Constrains the search for Person objects to those associated with Organization objects by the association and selected by the given OrganizationSearchCriteria.
 void setAffiliationCriteria(OrganizationSearchCriteria criteria, java.lang.String booleanOp)
          Constrains the search for Person objects to those associated with Organization objects by the association and selected by the given OrganizationSearchCriteria.
 void setAffiliationId(java.lang.Long affiliationId)
          Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Organization.id
 void setAffiliationId(java.lang.Long affiliationId, java.lang.String booleanOp)
          Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Organization.id
 void setFirstName(java.lang.String firstName)
          Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Person.firstName
 void setFirstName(java.lang.String firstName, java.lang.String booleanOp, java.lang.String caseInsensitive)
          Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Person.firstName
 void setId(java.lang.Long id)
          Sets the value of the id criterion.
 void setId(java.lang.Long id, java.lang.String booleanOp)
           
 void setLastName(java.lang.String lastName)
          Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Person.lastName
 void setLastName(java.lang.String lastName, java.lang.String booleanOp, java.lang.String caseInsensitive)
          Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Person.lastName
 void setMidInitials(java.lang.String midInitials)
          Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Person.midInitials
 void setMidInitials(java.lang.String midInitials, java.lang.String booleanOp, java.lang.String caseInsensitive)
          Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Person.midInitials
 
Methods inherited from interface gov.nih.nci.mageom.search.AuditAndSecurity.ContactSearchCriteria
getAddress, getEmail, getFax, getPhone, getTollFreePhone, getURI, setAddress, setAddress, setEmail, setEmail, setFax, setFax, setPhone, setPhone, setTollFreePhone, setTollFreePhone, setURI, setURI
 
Methods inherited from interface gov.nih.nci.mageom.search.IdentifiableSearchCriteria
getIdentifier, getName, setIdentifier, setIdentifier, setName, setName
 
Methods inherited from interface gov.nih.nci.mageom.search.DescribableSearchCriteria
getSecurityId, setSecurityCriteria, setSecurityCriteria, setSecurityId, setSecurityId
 
Methods inherited from interface gov.nih.nci.common.search.Searchable
getMaxRecordset, getOrderBy, getReturnCount, getReturnObjects, putCriterion, putCriterion, search, setMaxRecordset, setOrderBy, setReturnCount, setReturnObjects
 
Methods inherited from interface gov.nih.nci.common.search.session.SessionObject
getSessionId, setSessionId
 

Field Detail

ID_ATTRIBUTE

static final java.lang.String ID_ATTRIBUTE
This String name of criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Person.id.

See Also:
gov.nih.nci.mageom.domain.AuditAndSecurity.Person#id, Constant Field Values

LASTNAME_ATTRIBUTE

static final java.lang.String LASTNAME_ATTRIBUTE
This String name of criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Person.lastName.

See Also:
gov.nih.nci.mageom.domain.AuditAndSecurity.Person#lastName, Constant Field Values

FIRSTNAME_ATTRIBUTE

static final java.lang.String FIRSTNAME_ATTRIBUTE
This String name of criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Person.firstName.

See Also:
gov.nih.nci.mageom.domain.AuditAndSecurity.Person#firstName, Constant Field Values

MIDINITIALS_ATTRIBUTE

static final java.lang.String MIDINITIALS_ATTRIBUTE
This String name of criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Person.midInitials.

See Also:
gov.nih.nci.mageom.domain.AuditAndSecurity.Person#midInitials, Constant Field Values

AFFILIATIONID_ATTRIBUTE

static final java.lang.String AFFILIATIONID_ATTRIBUTE
The String name of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Organization.id.

See Also:
gov.nih.nci.mageom.domain.AuditAndSecurity.Organization#id, Constant Field Values
Method Detail

getId

java.lang.Long getId()
Returns the value of the id criterion.

Specified by:
getId in interface ContactSearchCriteria
Specified by:
getId in interface DescribableSearchCriteria
Specified by:
getId in interface ExtendableSearchCriteria
Specified by:
getId in interface IdentifiableSearchCriteria
Returns:
the id criterion

setId

void setId(java.lang.Long id)
Sets the value of the id criterion.

Specified by:
setId in interface ContactSearchCriteria
Specified by:
setId in interface DescribableSearchCriteria
Specified by:
setId in interface ExtendableSearchCriteria
Specified by:
setId in interface IdentifiableSearchCriteria
Parameters:
id -

setId

void setId(java.lang.Long id,
           java.lang.String booleanOp)
Specified by:
setId in interface ContactSearchCriteria
Specified by:
setId in interface DescribableSearchCriteria
Specified by:
setId in interface ExtendableSearchCriteria
Specified by:
setId in interface IdentifiableSearchCriteria

getLastName

java.lang.String getLastName()
Gets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Person.lastName

Returns:
the java.lang.String criterion value.
See Also:
gov.nih.nci.mageom.domain.AuditAndSecurity.Person#lastName

getFirstName

java.lang.String getFirstName()
Gets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Person.firstName

Returns:
the java.lang.String criterion value.
See Also:
gov.nih.nci.mageom.domain.AuditAndSecurity.Person#firstName

getMidInitials

java.lang.String getMidInitials()
Gets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Person.midInitials

Returns:
the java.lang.String criterion value.
See Also:
gov.nih.nci.mageom.domain.AuditAndSecurity.Person#midInitials

getAffiliationId

java.lang.Long getAffiliationId()
Gets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Organization.id

Returns:
the java.lang.Long criterion value.
See Also:
gov.nih.nci.mageom.domain.AuditAndSecurity.Organization#id

setLastName

void setLastName(java.lang.String lastName)
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Person.lastName

Parameters:
lastName -
See Also:
gov.nih.nci.mageom.domain.AuditAndSecurity.Person#lastName

setLastName

void setLastName(java.lang.String lastName,
                 java.lang.String booleanOp,
                 java.lang.String caseInsensitive)
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Person.lastName

Parameters:
String - lastName the criterion value
String - booleanOp one of gov.nih.nci.common.search.CriteriaElement.AND or gov.nih.nci.common.search.CriteriaElement.OR
String - caseInsensitive one of gov.nih.nci.common.search.CriteriaElement.CASESENSITIVE or gov.nih.nci.common.search.CriteriaElement.CASEINSENSITIVE
See Also:
gov.nih.nci.mageom.domain.AuditAndSecurity.Person#lastName

setFirstName

void setFirstName(java.lang.String firstName)
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Person.firstName

Parameters:
firstName -
See Also:
gov.nih.nci.mageom.domain.AuditAndSecurity.Person#firstName

setFirstName

void setFirstName(java.lang.String firstName,
                  java.lang.String booleanOp,
                  java.lang.String caseInsensitive)
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Person.firstName

Parameters:
String - firstName the criterion value
String - booleanOp one of gov.nih.nci.common.search.CriteriaElement.AND or gov.nih.nci.common.search.CriteriaElement.OR
String - caseInsensitive one of gov.nih.nci.common.search.CriteriaElement.CASESENSITIVE or gov.nih.nci.common.search.CriteriaElement.CASEINSENSITIVE
See Also:
gov.nih.nci.mageom.domain.AuditAndSecurity.Person#firstName

setMidInitials

void setMidInitials(java.lang.String midInitials)
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Person.midInitials

Parameters:
midInitials -
See Also:
gov.nih.nci.mageom.domain.AuditAndSecurity.Person#midInitials

setMidInitials

void setMidInitials(java.lang.String midInitials,
                    java.lang.String booleanOp,
                    java.lang.String caseInsensitive)
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Person.midInitials

Parameters:
String - midInitials the criterion value
String - booleanOp one of gov.nih.nci.common.search.CriteriaElement.AND or gov.nih.nci.common.search.CriteriaElement.OR
String - caseInsensitive one of gov.nih.nci.common.search.CriteriaElement.CASESENSITIVE or gov.nih.nci.common.search.CriteriaElement.CASEINSENSITIVE
See Also:
gov.nih.nci.mageom.domain.AuditAndSecurity.Person#midInitials

setAffiliationCriteria

void setAffiliationCriteria(OrganizationSearchCriteria criteria)
Constrains the search for Person objects to those associated with Organization objects by the association and selected by the given OrganizationSearchCriteria.

Parameters:
gov.nih.nci.mageom.search.AuditAndSecurity.OrganizationSearchCriteria - the SearchCriteria to be nested
See Also:
OrganizationSearchCriteria

setAffiliationCriteria

void setAffiliationCriteria(OrganizationSearchCriteria criteria,
                            java.lang.String booleanOp)
Constrains the search for Person objects to those associated with Organization objects by the association and selected by the given OrganizationSearchCriteria.

Parameters:
gov.nih.nci.mageom.search.AuditAndSecurity.OrganizationSearchCriteria - the SearchCriteria to be nested
String - one of gov.nih.nci.common.search.CriteriaElement.AND or gov.nih.nci.common.search.CriteriaElement.OR
See Also:
OrganizationSearchCriteria

setAffiliationId

void setAffiliationId(java.lang.Long affiliationId)
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Organization.id

Parameters:
affiliationId -
See Also:
gov.nih.nci.mageom.domain.AuditAndSecurity.Organization#id

setAffiliationId

void setAffiliationId(java.lang.Long affiliationId,
                      java.lang.String booleanOp)
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Organization.id

Parameters:
affiliationId -
String - booleanOp one of gov.nih.nci.common.search.CriteriaElement.AND or gov.nih.nci.common.search.CriteriaElement.OR
See Also:
gov.nih.nci.mageom.domain.AuditAndSecurity.Organization#id