|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.atlassian.jira.issue.search.SearchRequestFactory
Constructor Summary | |
SearchRequestFactory()
|
Method Summary | |
static SearchRequest |
getRequest(com.opensymphony.module.user.User searcher,
java.lang.Long aLong)
Find a search request given the searcher and the search request ID. |
static SearchRequest |
getRequest(com.opensymphony.module.user.User author,
java.lang.String name,
com.opensymphony.module.user.User searcher)
Find a search request given the author and the request name. |
static java.util.List |
getRequests()
Retrieves all the SearchRequest GenericValues |
static java.util.List |
getRequests(com.opensymphony.module.user.User author)
Retrieves all the SearchRequest GenericValues from a particular user |
static SearchRequest |
loadByMap(java.util.Map fields,
com.opensymphony.module.user.User searcher)
|
static void |
remove(com.opensymphony.module.user.User author,
java.lang.Long id)
Removes the SearchRequest GenericValue from the database based on its id and User |
static org.ofbiz.core.entity.GenericValue |
save(SearchRequest request)
Takes a searchrequest, user, name of search request and description and persists the XML representation of the SearchRequest object to the database along with the rest of the details |
static org.ofbiz.core.entity.GenericValue |
update(SearchRequest request)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SearchRequestFactory()
Method Detail |
public static org.ofbiz.core.entity.GenericValue save(SearchRequest request) throws org.ofbiz.core.entity.GenericEntityException
request
- SearchResult that should be persisted
org.ofbiz.core.entity.GenericEntityException
public static org.ofbiz.core.entity.GenericValue update(SearchRequest request) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public static void remove(com.opensymphony.module.user.User author, java.lang.Long id) throws SearchException
author
- of the SearchRequestid
- of the search request to be removed from storage
SearchException
public static java.util.List getRequests() throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public static java.util.List getRequests(com.opensymphony.module.user.User author) throws org.ofbiz.core.entity.GenericEntityException
author
- to retrieve all the SearchRequests for
org.ofbiz.core.entity.GenericEntityException
public static SearchRequest getRequest(com.opensymphony.module.user.User author, java.lang.String name, com.opensymphony.module.user.User searcher) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
- If any exceptions occur finding the requestpublic static SearchRequest getRequest(com.opensymphony.module.user.User searcher, java.lang.Long aLong) throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
- If any exceptions occur finding the requestpublic static SearchRequest loadByMap(java.util.Map fields, com.opensymphony.module.user.User searcher) throws org.ofbiz.core.entity.GenericEntityException
fields
-
org.ofbiz.core.entity.GenericEntityException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |