|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.internet2.middleware.grouper.entity.EntityFinder
public class EntityFinder
class to find entities. TODO add in finder by attribute subject id TODO add former names
Constructor Summary | |
---|---|
EntityFinder()
|
Method Summary | |
---|---|
EntityFinder |
addAncestorFolderId(String theFolderId)
add an ancestor folder id to search in |
EntityFinder |
addAncestorFolderName(String theFolderName)
add an ancestor folder name to search in |
EntityFinder |
addId(String theId)
add an entity id to search for |
EntityFinder |
addName(String theName)
add an entity name to search for |
EntityFinder |
addParentFolderId(String parentFolderId)
add a parent folder id to search for. |
EntityFinder |
addParentFolderName(String parentFolderName)
add a parent folder name to search in, note this is the immediate parent folder name, not an ancentor |
EntityFinder |
assignQueryOptions(QueryOptions queryOptions1)
assign query options for sorting and paging |
EntityFinder |
assignTerms(String theTerms)
add a search term, any substring which will be split by spaces |
Set<Entity> |
findEntities()
find a list of entities |
List<Object[]> |
findEntitiesAndSubjectIdentifier()
find a list of entities, and the String subjectIdentifier |
Entity |
findEntity(boolean exceptionIfNotFound)
find an entity |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EntityFinder()
Method Detail |
---|
public EntityFinder assignTerms(String theTerms)
theTerms
-
public EntityFinder addId(String theId)
theId
-
public EntityFinder addName(String theName)
theName
-
public EntityFinder addParentFolderId(String parentFolderId)
parentFolderId
-
public EntityFinder addParentFolderName(String parentFolderName)
parentFolderName
-
public Entity findEntity(boolean exceptionIfNotFound)
exceptionIfNotFound
- true if exception should be thrown if entity not found
public EntityFinder addAncestorFolderName(String theFolderName)
theFolderName
-
public EntityFinder addAncestorFolderId(String theFolderId)
theFolderId
-
public Set<Entity> findEntities()
public List<Object[]> findEntitiesAndSubjectIdentifier()
public EntityFinder assignQueryOptions(QueryOptions queryOptions1)
queryOptions1
-
public String toString()
toString
in class Object
Object.toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |