public class FromTemplateService extends Object
| Constructor and Description |
|---|
FromTemplateService() |
| 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) |
FormTemplateDao |
getDao() |
FormTemplate |
getDefault(String processDefId,
String userId,
String category) |
void |
save(FormTemplate template) |
void |
setDao(FormTemplateDao dao) |
void |
setDefault(String activityDefId,
String processDefId,
String userId,
String category,
String templateName) |
public FormTemplateDao getDao()
public void setDao(FormTemplateDao dao)
public void save(FormTemplate template) throws Exception
Exceptionpublic void setDefault(String activityDefId, String processDefId, String userId, String category, String templateName) throws Exception
Exceptionpublic void delete(FormTemplate template) throws Exception
Exceptionpublic FormTemplate get(String activityDefId, String processDefId, String userId, String category, String templateName) throws Exception
Exceptionpublic List<FormTemplate> getAll(String activityDefId, String processDefId) throws Exception
Exceptionpublic List<FormTemplate> getAll(String activityDefId, String processDefId, String userId) throws Exception
Exceptionpublic List<FormTemplate> findByAny(String processType, String activityType, String user, String category) throws Exception
ExceptionCopyright © 2018 Suncode. All rights reserved.