@Service @Transactional(rollbackFor=java.lang.Exception.class) public class CoreHomepageDesignServiceImpl extends BaseServiceImpl<CoreHomepageDesign> implements CoreHomepageDesignService
限定符和类型 | 字段和说明 |
---|---|
(专用程序包) CoreResService |
coreResServiceImpl |
构造器和说明 |
---|
CoreHomepageDesignServiceImpl() |
限定符和类型 | 方法和说明 |
---|---|
int |
add(CoreHomepageDesign entity)
新增
|
CoreHomepageDesign |
addEntity(CoreHomepageDesign entity)
新增实体并返回实体
|
CoreHomepageDesign |
cloneHomepageDesignEntity(CoreHomepageDesign homepageDesign)
克隆首页设计
|
boolean |
existObjcode(java.lang.String objcode,
java.lang.String rwid)
判断编号是否存在
|
CoreHomepageDesign |
findEntityById(java.lang.String rwid)
根据rwid获取实体
|
CoreHomepageDesign |
findEntityByObjcode(java.lang.String objcode)
根据编号查询首页设计记录
|
java.lang.String |
findHomepageContentById(java.lang.String rwid)
根据rwid查询首页设计的页面内容
|
java.lang.String |
getCurrentUserHomepageId(java.lang.String optHomepageScriptId)
获取当前用户首页id
|
CoreHomepageDesign |
getEntity(java.lang.String id)
根据Id获取实体
|
RetVo |
getHomepageModules()
获取首页设计的模块
|
int |
modify(CoreHomepageDesign entity)
更新实体
|
int |
modifyHomepageContentById(java.util.Map<java.lang.String,java.lang.Object> map)
根据如rwid更新首页设计的页面内容
|
confirm, findAll, findList, removeById, removeByIds, saveJdbc, startProcess, startProcess
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
confirm, findAll, findList, removeById, removeByIds, startProcess, startProcess
@Autowired CoreResService coreResServiceImpl
public int add(CoreHomepageDesign entity) throws java.lang.Exception
BaseService
add
在接口中 BaseService<CoreHomepageDesign>
add
在类中 BaseServiceImpl<CoreHomepageDesign>
entity
- 实体对象java.lang.Exception
- 出错会抛出异常public CoreHomepageDesign addEntity(CoreHomepageDesign entity) throws java.lang.Exception
BaseService
addEntity
在接口中 BaseService<CoreHomepageDesign>
addEntity
在类中 BaseServiceImpl<CoreHomepageDesign>
entity
- 实体对象java.lang.Exception
- 出错会抛出异常public CoreHomepageDesign getEntity(java.lang.String id) throws java.lang.Exception
BaseService
getEntity
在接口中 BaseService<CoreHomepageDesign>
getEntity
在类中 BaseServiceImpl<CoreHomepageDesign>
id
- 实体idjava.lang.Exception
- 出错会抛出异常@Transactional(propagation=REQUIRED) public CoreHomepageDesign findEntityById(java.lang.String rwid) throws java.lang.Exception
CoreHomepageDesignService
findEntityById
在接口中 CoreHomepageDesignService
rwid
- 主键java.lang.Exception
- 出错会抛出异常@Transactional(propagation=REQUIRED) public CoreHomepageDesign findEntityByObjcode(java.lang.String objcode) throws java.lang.Exception
CoreHomepageDesignService
findEntityByObjcode
在接口中 CoreHomepageDesignService
objcode
- 编号在首页设计表中是唯一的java.lang.Exception
- 出错会抛出异常@Transactional(propagation=REQUIRED) public boolean existObjcode(java.lang.String objcode, java.lang.String rwid) throws java.lang.Exception
CoreHomepageDesignService
existObjcode
在接口中 CoreHomepageDesignService
objcode
- 编号rwid
- 主键
如果rwid不为空,则过滤该rwidjava.lang.Exception
- 出错会抛出异常@Transactional(propagation=REQUIRED) public java.lang.String findHomepageContentById(java.lang.String rwid) throws java.lang.Exception
CoreHomepageDesignService
findHomepageContentById
在接口中 CoreHomepageDesignService
rwid
- 首页rwidjava.lang.Exception
- 出错会抛出异常public int modifyHomepageContentById(java.util.Map<java.lang.String,java.lang.Object> map) throws java.lang.Exception
CoreHomepageDesignService
modifyHomepageContentById
在接口中 CoreHomepageDesignService
map
- 参数Map
必须包含RWIDjava.lang.Exception
- 出错会抛出异常public int modify(CoreHomepageDesign entity) throws java.lang.Exception
BaseService
modify
在接口中 BaseService<CoreHomepageDesign>
modify
在类中 BaseServiceImpl<CoreHomepageDesign>
entity
- 实体对象java.lang.Exception
- 出错会抛出异常public CoreHomepageDesign cloneHomepageDesignEntity(CoreHomepageDesign homepageDesign) throws java.lang.Exception
CoreHomepageDesignService
cloneHomepageDesignEntity
在接口中 CoreHomepageDesignService
homepageDesign
- 实体实例java.lang.Exception
- 出错会抛出异常@Transactional(propagation=REQUIRED) public java.lang.String getCurrentUserHomepageId(java.lang.String optHomepageScriptId) throws java.lang.Exception
CoreHomepageDesignService
getCurrentUserHomepageId
在接口中 CoreHomepageDesignService
optHomepageScriptId
- 平台设置中首页配置脚本IDjava.lang.Exception
- 出错会抛出异常@Transactional(propagation=REQUIRED) public RetVo getHomepageModules() throws java.lang.Exception
CoreHomepageDesignService
getHomepageModules
在接口中 CoreHomepageDesignService
java.lang.Exception
- 出错会抛出异常