public class FormTemplateDaoImpl extends Object implements FormTemplateDao
| Constructor and Description |
|---|
FormTemplateDaoImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(FormTemplate template) |
List<FormTemplate> |
findByAny(String processType,
String activityType,
String user,
String category) |
FormTemplate |
get(String activityDefId,
String processDefId,
String userId,
String category,
String templateName) |
List<FormTemplate> |
getAll(String activityDefId,
String processDefId) |
List<FormTemplate> |
getAll(String activityDefId,
String processDefId,
String userId) |
FormTemplate |
getDefault(String processDefId,
String userId,
String category) |
void |
save(FormTemplate template) |
void |
setDefault(String activityDefId,
String processDefId,
String userId,
String category,
String templateName) |
public void delete(FormTemplate template) throws Exception
delete in interface FormTemplateDaoExceptionpublic FormTemplate get(String activityDefId, String processDefId, String userId, String category, String templateName) throws Exception
get in interface FormTemplateDaoExceptionpublic List<FormTemplate> getAll(String activityDefId, String processDefId) throws Exception
getAll in interface FormTemplateDaoExceptionpublic List<FormTemplate> getAll(String activityDefId, String processDefId, String userId) throws Exception
getAll in interface FormTemplateDaoExceptionpublic void save(FormTemplate template) throws Exception
save in interface FormTemplateDaoExceptionpublic FormTemplate getDefault(String processDefId, String userId, String category) throws Exception
getDefault in interface FormTemplateDaoExceptionpublic void setDefault(String activityDefId, String processDefId, String userId, String category, String templateName) throws Exception
setDefault in interface FormTemplateDaoExceptionpublic List<FormTemplate> findByAny(String processType, String activityType, String user, String category) throws Exception
findByAny in interface FormTemplateDaoExceptionCopyright © 2015 Suncode. All rights reserved.