group.rober.dataform.mapper.DataFormMapper Maven / Gradle / Ivy
package group.rober.dataform.mapper;
import group.rober.dataform.model.DataForm;
import group.rober.dataform.model.DataFormElement;
import java.util.List;
/**
* DatForm对象操作的一些基础服务
* Created by tisir [email protected] on 2017-05-22
*/
public interface DataFormMapper {
void clearCacheAll();
void clearCacheItem(String formId);
boolean exists(String id);
DataForm getDataForm(String id);
DataForm getDataForm(String pack,String code);
List getDataFormsByPack(String pack);
List getAllDataForms();
int save(DataForm dataForm);
int saveDataFormElement(DataFormElement element);
int delete(String id);
int delete(String pack,String code);
int deleteAll();
}