@Service @Transactional public class FormStoreServiceImpl extends Object implements FormStoreService
Constructor and Description |
---|
FormStoreServiceImpl() |
Modifier and Type | Method and Description |
---|---|
org.springframework.data.domain.Page<com.activiti.domain.runtime.Form> |
filterForms(com.activiti.domain.idm.User user,
String filter,
int page,
int pageSize) |
void |
generateMetrics()
Simply prints out form cache statistics every hour.
|
com.activiti.domain.runtime.Form |
getForm(String formKey) |
protected void |
initFormCache() |
com.activiti.domain.runtime.Form |
saveForm(com.activiti.domain.runtime.Form form) |
@PostConstruct protected void initFormCache()
public com.activiti.domain.runtime.Form getForm(String formKey)
getForm
in interface FormStoreService
public com.activiti.domain.runtime.Form saveForm(com.activiti.domain.runtime.Form form)
saveForm
in interface FormStoreService
public org.springframework.data.domain.Page<com.activiti.domain.runtime.Form> filterForms(com.activiti.domain.idm.User user, String filter, int page, int pageSize)
filterForms
in interface FormStoreService
@Async @Scheduled(fixedDelay=3600000L) public void generateMetrics()
generateMetrics
in interface FormStoreService
Copyright © 2014–2015 Alfresco. All rights reserved.