public class PropertyManager extends Object
Modifier and Type | Method and Description |
---|---|
static Property |
create(Property property)
Creates a property in the database.
|
static Property |
create(String propertyName)
Creates a property in the database.
|
static Set<Property> |
findAll()
Returns the list of tags in the database.
|
static Property |
findProperty(String propertyName)
Finds a tag in the database by name.
|
static void |
remove(String propertyName)
Remove a property (mark as Inactive).
|
public static Set<Property> findAll() throws OlogException
OlogException
- wrapping an SQLExceptionpublic static Property findProperty(String propertyName) throws OlogException
OlogException
- wrapping an SQLExceptionpublic static Property create(String propertyName) throws OlogException
name
- name of propertyowner
- owner of propertyOlogException
- wrapping an SQLExceptionpublic static Property create(Property property) throws OlogException
name
- name of propertyattributes
- attributes of propertyOlogException
- wrapping an SQLExceptionpublic static void remove(String propertyName) throws OlogException
name
- property nameOlogException
Copyright © 2010-2014 Michigan State University. All Rights Reserved.