public class DirEntryStore extends AbstractItemValueStore<DirEntry>
AbstractItemValueStore.ItemV<T>
JdbcAbstractStore.Creator<T>, JdbcAbstractStore.DataType, JdbcAbstractStore.EntityPopulator<T>, JdbcAbstractStore.SqlOperation<Res>, JdbcAbstractStore.StatementValues<T>
datasource
Constructor and Description |
---|
DirEntryStore(javax.sql.DataSource pool,
Container container) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
byEmail(java.lang.String email,
boolean isDomainAlias) |
java.lang.String |
byEntryUid(java.lang.String entryUid) |
void |
create(Item item,
DirEntry entry) |
void |
delete(Item item) |
void |
deleteAll() |
DirEntry |
get(Item item) |
java.util.List<java.lang.String> |
path(java.lang.String path) |
ListResult<Item> |
search(DirEntryQuery q) |
ListResult<Item> |
searchManageable(DirEntryQuery q,
java.util.List<ManageableOrgUnit> manageable) |
void |
update(Item item,
DirEntry value) |
void |
updateAccountType(Item item,
BaseDirEntry.AccountType at) |
getMultiple, join
batchInsert, batchInsert, delete, doOrContinue, doOrFail, getConnection, insert, insert, insert, insert, insertAndReturn, insertWithSerial, inTransaction, lastInsertId, multiRowInsert, select, select, select, staticInTransaction, unique, unique, unique, unique, update, update, update, update, update
public DirEntryStore(javax.sql.DataSource pool, Container container)
public void create(Item item, DirEntry entry) throws java.sql.SQLException
java.sql.SQLException
public void update(Item item, DirEntry value) throws java.sql.SQLException
java.sql.SQLException
public java.util.List<java.lang.String> path(java.lang.String path) throws java.sql.SQLException
java.sql.SQLException
public java.lang.String byEntryUid(java.lang.String entryUid) throws java.sql.SQLException
java.sql.SQLException
public java.lang.String byEmail(java.lang.String email, boolean isDomainAlias) throws java.sql.SQLException
java.sql.SQLException
public ListResult<Item> search(DirEntryQuery q) throws java.sql.SQLException
java.sql.SQLException
public ListResult<Item> searchManageable(DirEntryQuery q, java.util.List<ManageableOrgUnit> manageable) throws java.sql.SQLException
java.sql.SQLException
public void delete(Item item) throws java.sql.SQLException
java.sql.SQLException
public void deleteAll() throws java.sql.SQLException
java.sql.SQLException
public void updateAccountType(Item item, BaseDirEntry.AccountType at) throws java.sql.SQLException
java.sql.SQLException
Copyright © 2021. All Rights Reserved.