public class FolderHierarchyStore extends AbstractItemValueStore<Folder>
AbstractItemValueStore.ItemV<T>JdbcAbstractStore.Creator<T>, JdbcAbstractStore.DataType, JdbcAbstractStore.EntityPopulator<T>, JdbcAbstractStore.SqlOperation<Res>, JdbcAbstractStore.StatementValues<T>| Modifier and Type | Field and Description | 
|---|---|
static JdbcAbstractStore.Creator<java.util.concurrent.atomic.AtomicInteger> | 
MUTABLE_INT_CREATOR  | 
static JdbcAbstractStore.EntityPopulator<java.util.concurrent.atomic.AtomicInteger> | 
MUTABLE_INT_POPULATOR  | 
datasource| Constructor and Description | 
|---|
FolderHierarchyStore(javax.sql.DataSource dataSource,
                    Container container)  | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
byId(java.lang.Long id)  | 
java.util.List<java.lang.String> | 
byParentId(java.lang.Long pid)  | 
java.lang.String | 
byPath(java.lang.String path)  | 
java.lang.String | 
byUid(java.lang.Long uid)  | 
java.lang.String | 
byUri(java.lang.String uri)  | 
void | 
create(Item item,
      Folder value)  | 
protected void | 
createRoot()  | 
void | 
delete(Item item)  | 
void | 
deleteAll()  | 
void | 
ensureParentExists(Folder f)  | 
Folder | 
get(Item item)  | 
java.util.List<Folder> | 
getMultiple(java.util.List<Item> items)  | 
void | 
initContainer()  | 
protected void | 
initSequence()  | 
void | 
repair()  | 
ListResult<java.lang.String> | 
search(FolderQuery q)  | 
void | 
update(Item item,
      Folder value)  | 
joinbatchInsert, batchInsert, delete, doOrContinue, doOrFail, getConnection, insert, insert, insert, insert, insertAndReturn, insertWithSerial, inTransaction, lastInsertId, select, select, select, staticInTransaction, unique, unique, unique, unique, update, update, update, update, updatepublic static final JdbcAbstractStore.Creator<java.util.concurrent.atomic.AtomicInteger> MUTABLE_INT_CREATOR
public static final JdbcAbstractStore.EntityPopulator<java.util.concurrent.atomic.AtomicInteger> MUTABLE_INT_POPULATOR
public FolderHierarchyStore(javax.sql.DataSource dataSource,
                            Container container)
public void initContainer()
                   throws java.sql.SQLException
java.sql.SQLExceptionprotected void initSequence()
                     throws java.sql.SQLException
java.sql.SQLExceptionpublic void repair()
            throws java.sql.SQLException
java.sql.SQLExceptionprotected void createRoot()
                   throws java.sql.SQLException
java.sql.SQLExceptionpublic void create(Item item, Folder value) throws java.sql.SQLException
java.sql.SQLExceptionpublic void update(Item item, Folder value) throws java.sql.SQLException
java.sql.SQLExceptionpublic void delete(Item item) throws java.sql.SQLException
java.sql.SQLExceptionpublic java.util.List<Folder> getMultiple(java.util.List<Item> items) throws java.sql.SQLException
getMultiple in interface IItemValueStore<Folder>getMultiple in class AbstractItemValueStore<Folder>java.sql.SQLExceptionpublic void deleteAll()
               throws java.sql.SQLException
java.sql.SQLExceptionpublic void ensureParentExists(Folder f) throws java.sql.SQLException
f - java.sql.SQLExceptionpublic java.lang.String byUri(java.lang.String uri)
                       throws java.sql.SQLException
java.sql.SQLExceptionpublic java.util.List<java.lang.String> byParentId(java.lang.Long pid)
                                            throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.String byUid(java.lang.Long uid)
                       throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.String byId(java.lang.Long id)
                      throws java.sql.SQLException
java.sql.SQLExceptionpublic ListResult<java.lang.String> search(FolderQuery q) throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.String byPath(java.lang.String path)
                        throws java.sql.SQLException
java.sql.SQLExceptionCopyright © 2021. All Rights Reserved.