public interface PartitionDAO
限定符和类型 | 方法和说明 |
---|---|
void |
delete(long id)
Remove a persistent instance from the datastore.
|
java.util.List<Partition> |
findAll() |
Partition |
get(long id) |
void |
save(Partition partition)
Persist the given transient instance, first assigning a generated
identifier.
|
void |
update(Partition partition)
Update the persistent state associated with the given identifier.
|
java.util.List<Partition> findAll()
void save(Partition partition)
partition
- a transient instance of a persistent classvoid update(Partition partition)
partition
- a transient instance containing updated statevoid delete(long id)
id
- the instance ID to be removedPartition get(long id)