|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertyDAO
Persist property
objects.
Method Summary | |
---|---|
Property |
add(Property property)
Adds the Property to the datastore. |
java.util.List |
findAll()
Finds all properties . |
Property |
findByName(long name)
Finds the Property based on the passed in property name. |
void |
remove(long name)
Removes a given Property from the datastore based on it's Property name, ie Property.TOKEN_SEED |
Property |
update(Property property)
Updates a Property in the datastore. |
Methods inherited from interface com.atlassian.crowd.util.persistence.hibernate.ObjectDao |
---|
getPersistentClass, load, remove, save, update |
Method Detail |
---|
Property findByName(long name) throws ObjectNotFoundException, org.springframework.dao.DataAccessException
Property
based on the passed in property name.
name
- The name of the property to find.
Property
from the datastore.
org.springframework.dao.DataAccessException
- Generic persistance exception thrown if finding the property fails.
ObjectNotFoundException
- If the Property
based on the passed in name is not found.
Property add(Property property) throws org.springframework.dao.DataAccessException
Property
to the datastore.
property
- The property to persist.
org.springframework.dao.DataAccessException
- Generic persistance exception thrown if adding the property fails.Property update(Property property) throws org.springframework.dao.DataAccessException
Property
in the datastore.
property
- The property to update.
Property
.
org.springframework.dao.DataAccessException
- Generic persistance exception thrown if updating the property fails.java.util.List findAll() throws org.springframework.dao.DataAccessException
properties
.
org.springframework.dao.DataAccessException
- Generic persistance exception thrown if loading the properties fails.void remove(long name)
Property.TOKEN_SEED
name
- the name of the Property
, ie Property.DOMAIN
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |