public interface PropertyDAO
property
objects.Modifier and Type | Method and Description |
---|---|
Property |
add(Property property)
Adds a new property.
|
Property |
find(String key,
String name)
Finds property by key and name.
|
List<Property> |
findAll()
Retrieves all properties.
|
List<Property> |
findAll(String key)
Finds properties by key.
|
void |
remove(String key,
String name)
Removes a property.
|
Property |
update(Property property)
Updates a property.
|
Property find(String key, String name) throws ObjectNotFoundException
key
- Key.name
- Name.ObjectNotFoundException
- If the property cannot be found.List<Property> findAll(String key)
key
- Key.Property add(Property property)
property
- Property.Property update(Property property)
property
- Property.Copyright © 2020 Atlassian. All rights reserved.