类 CodeServiceImpl
java.lang.Object
org.beangle.commons.dao.impl.BaseServiceImpl
org.openurp.code.service.impl.CodeServiceImpl
- 所有已实现的接口:
CodeService
public class CodeServiceImpl
extends org.beangle.commons.dao.impl.BaseServiceImpl
implements CodeService
- 版本:
- $Id: CodeServiceImpl.java May 5, 2011 3:33:07 PM chaostone $
-
字段概要
从类继承的字段 org.beangle.commons.dao.impl.BaseServiceImpl
entityDao, eventMulticaster, logger -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明<T extends org.beangle.commons.entity.pojo.Code<Integer>>
T依据code的类型和主键查找,无效时返回null.<T extends org.beangle.commons.entity.pojo.Code<Integer>>
T依据code的类型和代码查找,无效时返回null.返回现有的有效使用的代码查询指定id的基础代码getCodeType(String name) 查找指定名称基础代码voidremoveCodes(Class<? extends org.beangle.commons.entity.pojo.Code<Integer>> codeClass, Integer... codeIds) 删除基础代码voidsaveOrUpdate(org.beangle.commons.entity.pojo.Code<Integer> code) 新增代码 如果新的代码已经存在,则抛出异常.从类继承的方法 org.beangle.commons.dao.impl.BaseServiceImpl
getEntityDao, getEventMulticaster, publish, setEntityDao, setEventMulticaster
-
构造器详细资料
-
CodeServiceImpl
public CodeServiceImpl()
-
-
方法详细资料
-
getCode
public <T extends org.beangle.commons.entity.pojo.Code<Integer>> T getCode(Class<T> codeClass, String code) 从接口复制的说明:CodeService依据code的类型和代码查找,无效时返回null.- 指定者:
getCode在接口中CodeService
-
getCodes
public <T extends org.beangle.commons.entity.pojo.Code<Integer>> List<T> getCodes(Class<T> codeClass) 从接口复制的说明:CodeService返回现有的有效使用的代码- 指定者:
getCodes在接口中CodeService
-
getCode
public <T extends org.beangle.commons.entity.pojo.Code<Integer>> T getCode(Class<T> codeClass, Integer codeId) 从接口复制的说明:CodeService依据code的类型和主键查找,无效时返回null.- 指定者:
getCode在接口中CodeService
-
getCodes
public <T extends org.beangle.commons.entity.pojo.Code<Integer>> List<T> getCodes(Class<T> type, Integer... ids) 从接口复制的说明:CodeService查询指定id的基础代码- 指定者:
getCodes在接口中CodeService
-
getCodeType
从接口复制的说明:CodeService查找指定名称基础代码- 指定者:
getCodeType在接口中CodeService
-
removeCodes
public void removeCodes(Class<? extends org.beangle.commons.entity.pojo.Code<Integer>> codeClass, Integer... codeIds) 从接口复制的说明:CodeService删除基础代码- 指定者:
removeCodes在接口中CodeService
-
saveOrUpdate
从接口复制的说明:CodeService新增代码 如果新的代码已经存在,则抛出异常.- 指定者:
saveOrUpdate在接口中CodeService
-