ch.agent.crnickl.jdbc
Class WriteMethodsForProperty
java.lang.Object
ch.agent.crnickl.impl.DatabaseMethodsImpl
ch.agent.crnickl.jdbc.JDBCDatabaseMethods
ch.agent.crnickl.jdbc.ReadMethodsForProperty
ch.agent.crnickl.jdbc.WriteMethodsForProperty
- All Implemented Interfaces:
- ch.agent.crnickl.impl.DatabaseMethods, ch.agent.crnickl.impl.PermissionChecker
public class WriteMethodsForProperty
- extends ReadMethodsForProperty
A stateless object with methods providing write access to properties.
- Version:
- 1.0.0
- Author:
- Jean-Paul Vetterli
|
Method Summary |
void |
createProperty(ch.agent.crnickl.api.Property<?> property)
Create a new property and return its key. |
void |
deleteProperty(ch.agent.crnickl.api.Property<?> property)
Delete the property. |
void |
updateProperty(ch.agent.crnickl.api.Property<?> property)
Update the name of the value type. |
| Methods inherited from class ch.agent.crnickl.impl.DatabaseMethodsImpl |
check, check, check, check, getId, getId, getIdOrZero, makeSurrogate, makeSurrogate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WriteMethodsForProperty
public WriteMethodsForProperty()
createProperty
public void createProperty(ch.agent.crnickl.api.Property<?> property)
throws ch.agent.crnickl.T2DBException
- Create a new property and return its key.
If creation fails throw an exception.
- Parameters:
property - a property
- Throws:
ch.agent.crnickl.T2DBException
deleteProperty
public void deleteProperty(ch.agent.crnickl.api.Property<?> property)
throws ch.agent.crnickl.T2DBException
- Delete the property.
If deleting fails throw an exception.
- Parameters:
property - a property
- Throws:
ch.agent.crnickl.T2DBException
updateProperty
public void updateProperty(ch.agent.crnickl.api.Property<?> property)
throws ch.agent.crnickl.T2DBException
- Update the name of the value type.
If updating fails throw an exception.
- Parameters:
property - a property
- Throws:
ch.agent.crnickl.T2DBException
Copyright © 2012. All Rights Reserved.