public interface DocumentTemplateDAO extends PersistentObjectDAO<DocumentTemplate>
| Modifier and Type | Method and Description |
|---|---|
int |
countDocs(long id)
Counts the total number of documents using this template
|
DocumentTemplate |
findByName(String name)
This method finds a template by name.
|
List<DocumentTemplate> |
findByType(int type)
This method finds a template by type.
|
bulkUpdate, delete, deleteAll, findAll, findAllIds, findById, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDbms, initialize, jdbcUpdate, jdbcUpdate, query, queryForInt, queryForList, queryForList, queryForLong, queryForRowSet, storeDocumentTemplate findByName(String name)
name - Name of the template.int countDocs(long id)
id - The template IDList<DocumentTemplate> findByType(int type)
type - Type of the template.Copyright © 2008-2014 Logical Objects. All Rights Reserved.