gov.nih.nci.mageom.search.AuditAndSecurity.impl
Class PersonSearchCriteriaImpl

java.lang.Object
  extended by gov.nih.nci.caBIO.util.PermissionObject
      extended by gov.nih.nci.common.search.SearchCriteria
          extended by gov.nih.nci.mageom.search.impl.MAGEOMSearchCriteria
              extended by gov.nih.nci.mageom.search.impl.ExtendableSearchCriteriaImpl
                  extended by gov.nih.nci.mageom.search.impl.DescribableSearchCriteriaImpl
                      extended by gov.nih.nci.mageom.search.impl.IdentifiableSearchCriteriaImpl
                          extended by gov.nih.nci.mageom.search.AuditAndSecurity.impl.ContactSearchCriteriaImpl
                              extended by gov.nih.nci.mageom.search.AuditAndSecurity.impl.PersonSearchCriteriaImpl
All Implemented Interfaces:
Directable, Searchable, SessionObject, ContactSearchCriteria, PersonSearchCriteria, DescribableSearchCriteria, ExtendableSearchCriteria, IdentifiableSearchCriteria, java.io.Serializable, java.lang.Cloneable

public class PersonSearchCriteriaImpl
extends ContactSearchCriteriaImpl
implements PersonSearchCriteria, java.io.Serializable

Represents a query for Person objects.

Version:
%I%, %G%
See Also:
Serialized Form

Field Summary
protected  MAGESCUtils _scUtils
           
 
Fields inherited from class gov.nih.nci.mageom.search.impl.MAGEOMSearchCriteria
currentHandler
 
Fields inherited from class gov.nih.nci.common.search.SearchCriteria
_ands, _groups, _ors, _sessionId, criteriaCollection, fillInAllObjects, fillInObjects, myObjects, orderBy
 
Fields inherited from interface gov.nih.nci.mageom.search.AuditAndSecurity.PersonSearchCriteria
AFFILIATIONID_ATTRIBUTE, FIRSTNAME_ATTRIBUTE, ID_ATTRIBUTE, LASTNAME_ATTRIBUTE, MIDINITIALS_ATTRIBUTE
 
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
 
Constructor Summary
PersonSearchCriteriaImpl()
           
 
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
 java.lang.String toString()
          Returns a String representation of this object suitable for console display.
 
Methods inherited from class gov.nih.nci.mageom.search.AuditAndSecurity.impl.ContactSearchCriteriaImpl
getAddress, getEmail, getFax, getPhone, getTollFreePhone, getURI, setAddress, setAddress, setEmail, setEmail, setFax, setFax, setPhone, setPhone, setTollFreePhone, setTollFreePhone, setURI, setURI
 
Methods inherited from class gov.nih.nci.mageom.search.impl.IdentifiableSearchCriteriaImpl
getIdentifier, getName, setIdentifier, setIdentifier, setName, setName
 
Methods inherited from class gov.nih.nci.mageom.search.impl.DescribableSearchCriteriaImpl
getSecurityId, setSecurityCriteria, setSecurityCriteria, setSecurityId, setSecurityId
 
Methods inherited from class gov.nih.nci.mageom.search.impl.MAGEOMSearchCriteria
defaultHandler, direct, getBeanClassName, getBeanName, getHandler, main, putCriterion, search, setHandler
 
Methods inherited from class gov.nih.nci.common.search.SearchCriteria
addCriteriaGroup, clone, equals, findCriterion, getAnds, getAvailableCriteria, getAvailableCriteria, getClassName, getCount, getCount, getCriteriaCollection, getCriteriaGroups, getCriterion, getCriterion, getCriterionValue, getFillInAllObjects, getFillInObjects, getMaxRecordset, getObjects, getOrderBy, getOrs, getReturnCount, getReturnObjects, getSearchCriteria, getSearchCriteria, getSessionId, getStartAt, hasElement, hashCode, putCriteria, putCriteria, putCriteria, putCriterion, putCriterion, putCriterion, putCriterion, putCriterion, putCriterion, putCriterion, putCriterion, putCriterion, putCriterion, putCriterion, putCriterion, putSearchCriteria, removeCriterion, removeElement, runSearch, search, setBeanClassName, setClassName, setFillInAllObjects, setFillInObjects, setMaxRecordset, setObjects, setOrderBy, setReturnCount, setReturnObjects, setSessionId, setStartAt
 
Methods inherited from class gov.nih.nci.caBIO.util.PermissionObject
getUserAccess, setArrayAccess, setUserAccess
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
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

_scUtils

protected MAGESCUtils _scUtils
Constructor Detail

PersonSearchCriteriaImpl

public PersonSearchCriteriaImpl()
Method Detail

getId

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

Specified by:
getId in interface ContactSearchCriteria
Specified by:
getId in interface PersonSearchCriteria
Specified by:
getId in interface DescribableSearchCriteria
Specified by:
getId in interface ExtendableSearchCriteria
Specified by:
getId in interface IdentifiableSearchCriteria
Overrides:
getId in class ContactSearchCriteriaImpl
Returns:
the id criterion

setId

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

Specified by:
setId in interface ContactSearchCriteria
Specified by:
setId in interface PersonSearchCriteria
Specified by:
setId in interface DescribableSearchCriteria
Specified by:
setId in interface ExtendableSearchCriteria
Specified by:
setId in interface IdentifiableSearchCriteria
Overrides:
setId in class ContactSearchCriteriaImpl
Parameters:
id -

setId

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

getLastName

public java.lang.String getLastName()
Description copied from interface: PersonSearchCriteria
Gets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Person.lastName

Specified by:
getLastName in interface PersonSearchCriteria
Returns:
the java.lang.String criterion value.
See Also:
gov.nih.nci.mageom.search.AuditAndSecurity.PersonSearchCriteria#lastName

getFirstName

public java.lang.String getFirstName()
Description copied from interface: PersonSearchCriteria
Gets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Person.firstName

Specified by:
getFirstName in interface PersonSearchCriteria
Returns:
the java.lang.String criterion value.
See Also:
gov.nih.nci.mageom.search.AuditAndSecurity.PersonSearchCriteria#firstName

getMidInitials

public java.lang.String getMidInitials()
Description copied from interface: PersonSearchCriteria
Gets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Person.midInitials

Specified by:
getMidInitials in interface PersonSearchCriteria
Returns:
the java.lang.String criterion value.
See Also:
gov.nih.nci.mageom.search.AuditAndSecurity.PersonSearchCriteria#midInitials

getAffiliationId

public java.lang.Long getAffiliationId()
Description copied from interface: PersonSearchCriteria
Gets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Organization.id

Specified by:
getAffiliationId in interface PersonSearchCriteria
Returns:
the java.lang.Long criterion value.
See Also:
gov.nih.nci.mageom.search.AuditAndSecurity.OrganizationSearchCriteria#id

setLastName

public void setLastName(java.lang.String lastName)
Description copied from interface: PersonSearchCriteria
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Person.lastName

Specified by:
setLastName in interface PersonSearchCriteria
See Also:
gov.nih.nci.mageom.search.AuditAndSecurity.PersonSearchCriteria#lastName

setLastName

public void setLastName(java.lang.String lastName,
                        java.lang.String booleanOp,
                        java.lang.String caseInsensitive)
Description copied from interface: PersonSearchCriteria
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Person.lastName

Specified by:
setLastName in interface PersonSearchCriteria
See Also:
gov.nih.nci.mageom.search.AuditAndSecurity.PersonSearchCriteria#lastName

setFirstName

public void setFirstName(java.lang.String firstName)
Description copied from interface: PersonSearchCriteria
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Person.firstName

Specified by:
setFirstName in interface PersonSearchCriteria
See Also:
gov.nih.nci.mageom.search.AuditAndSecurity.PersonSearchCriteria#firstName

setFirstName

public void setFirstName(java.lang.String firstName,
                         java.lang.String booleanOp,
                         java.lang.String caseInsensitive)
Description copied from interface: PersonSearchCriteria
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Person.firstName

Specified by:
setFirstName in interface PersonSearchCriteria
See Also:
gov.nih.nci.mageom.search.AuditAndSecurity.PersonSearchCriteria#firstName

setMidInitials

public void setMidInitials(java.lang.String midInitials)
Description copied from interface: PersonSearchCriteria
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Person.midInitials

Specified by:
setMidInitials in interface PersonSearchCriteria
See Also:
gov.nih.nci.mageom.search.AuditAndSecurity.PersonSearchCriteria#midInitials

setMidInitials

public void setMidInitials(java.lang.String midInitials,
                           java.lang.String booleanOp,
                           java.lang.String caseInsensitive)
Description copied from interface: PersonSearchCriteria
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Person.midInitials

Specified by:
setMidInitials in interface PersonSearchCriteria
See Also:
gov.nih.nci.mageom.search.AuditAndSecurity.PersonSearchCriteria#midInitials

setAffiliationCriteria

public void setAffiliationCriteria(OrganizationSearchCriteria criteria)
Description copied from interface: PersonSearchCriteria
Constrains the search for Person objects to those associated with Organization objects by the association and selected by the given OrganizationSearchCriteria.

Specified by:
setAffiliationCriteria in interface PersonSearchCriteria
See Also:
PersonSearchCriteria.setAffiliationCriteria(gov.nih.nci.mageom.search.AuditAndSecurity.OrganizationSearchCriteria)

setAffiliationCriteria

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

Specified by:
setAffiliationCriteria in interface PersonSearchCriteria
See Also:
PersonSearchCriteria.setAffiliationCriteria(gov.nih.nci.mageom.search.AuditAndSecurity.OrganizationSearchCriteria)

setAffiliationId

public void setAffiliationId(java.lang.Long affiliationId)
Description copied from interface: PersonSearchCriteria
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Organization.id

Specified by:
setAffiliationId in interface PersonSearchCriteria
See Also:
gov.nih.nci.mageom.domain.AuditAndSecurity.Organization#id

setAffiliationId

public void setAffiliationId(java.lang.Long affiliationId,
                             java.lang.String booleanOp)
Description copied from interface: PersonSearchCriteria
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Organization.id

Specified by:
setAffiliationId in interface PersonSearchCriteria
See Also:
gov.nih.nci.mageom.domain.AuditAndSecurity.Organization#id

toString

public java.lang.String toString()
Returns a String representation of this object suitable for console display.

Overrides:
toString in class ContactSearchCriteriaImpl
Returns:
the String representation.