|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ApplicationDAO
Persistance methods necessary to modify integrated applications
with the Crowd security server.
| Method Summary | |
|---|---|
Application |
add(Application application)
Adds the Application to the datastore. |
void |
addDirectoryMapping(DirectoryMapping directoryMapping)
|
Application |
findByID(long ID)
Finds a given Application based on the passed in ID. |
Application |
findByName(java.lang.String name)
Finds the Application based on the passed in application name. |
long |
findTotal()
Finds the total number of integrated applications. |
void |
remove(Application application)
Removes an Application from the datastore |
java.util.List |
search(SearchContext searchContext)
Performs a search for Applications based on a given SearchContext |
Application |
update(Application application)
Updates an Application in the datastore |
| Methods inherited from interface com.atlassian.crowd.util.persistence.hibernate.ObjectDao |
|---|
getPersistentClass, load, remove, save, update |
| Method Detail |
|---|
Application add(Application application)
throws org.springframework.dao.DataAccessException
Application to the datastore.
application - the application to persist
org.springframework.dao.DataAccessException - generic persistance exception thrown if adding the application fails
Application findByName(java.lang.String name)
throws org.springframework.dao.DataAccessException,
ObjectNotFoundException
Application based on the passed in application name.
name - the name of the application to find.
Application from the datastore
org.springframework.dao.DataAccessException - generic persistance exception thrown if finding the application fails
ObjectNotFoundException - if the Application based on the passed in name is not found
long findTotal()
throws org.springframework.dao.DataAccessException
applications.
PersistenceException - Generic persistance exception thrown if finding the application fails.
org.springframework.dao.DataAccessException
java.util.List search(SearchContext searchContext)
throws org.springframework.dao.DataAccessException
Applications based on a given SearchContext
searchContext - the search context to find a given list of applications.
List of Applications found from the SearchContext.
org.springframework.dao.DataAccessException - generic persistance exception thrown if searching for the application fails
Application findByID(long ID)
throws org.springframework.dao.DataAccessException,
ObjectNotFoundException
Application based on the passed in ID.
ID - the id of the Application you are trying to find.
Application
org.springframework.dao.DataAccessException - Generic persistance exception thrown if finding the application fails
ObjectNotFoundException - if the Application based on the passed in ID is not found
Application update(Application application)
throws org.springframework.dao.DataAccessException
Application in the datastore
application - the application to update
Application
org.springframework.dao.DataAccessException - generic persistance exception thrown if updating the application fails
void remove(Application application)
throws org.springframework.dao.DataAccessException
Application from the datastore
application - the application to remove
org.springframework.dao.DataAccessException - generic persistance exception thrown if removing the application failsvoid addDirectoryMapping(DirectoryMapping directoryMapping)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||