Package com.atlassian.crowd.dao.property
Interface PropertyDAO
- All Known Implementing Classes:
EncryptingPropertyDAO
public interface PropertyDAO
Persist
property objects.-
Method Summary
Modifier and TypeMethodDescriptionAdds a new property.Finds property by key and name.findAll()Retrieves all properties.Finds properties by key.voidRemoves a property.Updates a property.
-
Method Details
-
find
Finds property by key and name.- Parameters:
key- Key.name- Name.- Returns:
- Property.
- Throws:
ObjectNotFoundException- If the property cannot be found.
-
findAll
Finds properties by key.- Parameters:
key- Key.- Returns:
- List of properties
-
add
Adds a new property.- Parameters:
property- Property.- Returns:
- The saved property.
-
update
Updates a property.- Parameters:
property- Property.- Returns:
- The updated property.
-
remove
Removes a property.- Parameters:
key- Key.name- Name.
-
findAll
Retrieves all properties.- Returns:
- the list of properties.
-