public final class ServerStore extends AbstractItemValueStore<Server>
AbstractItemValueStore.ItemV<T>
JdbcAbstractStore.Creator<T>, JdbcAbstractStore.DataType, JdbcAbstractStore.EntityPopulator<T>, JdbcAbstractStore.SqlOperation<R>, JdbcAbstractStore.StatementValues<T>
datasource
Constructor and Description |
---|
ServerStore(javax.sql.DataSource dataSource,
Container installation) |
Modifier and Type | Method and Description |
---|---|
void |
assign(java.lang.String serverUid,
java.lang.String domainUid,
java.lang.String tag) |
void |
create(Item item,
Server value) |
void |
delete(Item item) |
void |
deleteAll() |
Server |
get(Item item) |
java.util.List<Assignment> |
getAssignments(java.lang.String domainUid) |
java.util.List<Assignment> |
getServerAssignments(java.lang.String uid) |
void |
unassign(java.lang.String serverUid,
java.lang.String domainUid,
java.lang.String tag) |
void |
unassignFromDomain(java.lang.String domainUid) |
void |
update(Item item,
Server value) |
getMultiple, join
batchInsert, batchInsert, delete, delete, delete, doOrContinue, doOrFail, getConnection, insert, insert, insert, insert, insertAndReturn, insertWithSerial, lastInsertId, select, select, select, unique, unique, unique, unique, unique, update, update, update, update, update
public ServerStore(javax.sql.DataSource dataSource, Container installation)
dataSource
- public void create(Item item, Server value) throws java.sql.SQLException
java.sql.SQLException
public void update(Item item, Server value) throws java.sql.SQLException
java.sql.SQLException
public void delete(Item item) throws java.sql.SQLException
java.sql.SQLException
public void assign(java.lang.String serverUid, java.lang.String domainUid, java.lang.String tag) throws java.sql.SQLException
java.sql.SQLException
public void unassign(java.lang.String serverUid, java.lang.String domainUid, java.lang.String tag) throws java.sql.SQLException
java.sql.SQLException
public void unassignFromDomain(java.lang.String domainUid) throws java.sql.SQLException
java.sql.SQLException
public void deleteAll() throws java.sql.SQLException
java.sql.SQLException
public java.util.List<Assignment> getAssignments(java.lang.String domainUid) throws java.sql.SQLException
java.sql.SQLException
public java.util.List<Assignment> getServerAssignments(java.lang.String uid) throws java.sql.SQLException
java.sql.SQLException
Copyright © 2021. All Rights Reserved.