@Service @Transactional public class CmsCategoryService extends BaseService<CmsCategory>
限定符和类型 | 字段和说明 |
---|---|
private CmsCategoryAttributeService |
attributeService |
private CmsCategoryModelService |
categoryModelService |
private CmsCategoryDao |
dao |
private CmsEditorHistoryService |
editorHistoryService |
private SysExtendFieldService |
extendFieldService |
private SysExtendService |
extendService |
private java.lang.String[] |
ignoreCopyProperties |
private java.lang.String[] |
ignoreProperties |
private CmsTagTypeService |
tagTypeService |
basedao, log
构造器和说明 |
---|
CmsCategoryService() |
限定符和类型 | 方法和说明 |
---|---|
private void |
addChildIds(java.io.Serializable parentId,
java.io.Serializable id) |
void |
changeType(java.lang.Integer id,
java.lang.String typeId) |
void |
copy(short siteId,
CmsCategory entity,
CmsCategory copy) |
java.util.List<CmsCategory> |
delete(short siteId,
java.lang.Integer[] ids) |
void |
generateChildIds(short siteId,
java.lang.Integer parentId) |
private void |
generateChildIds(short siteId,
java.lang.Integer parentId,
boolean generateParent) |
private java.lang.String |
getChildIds(short siteId,
java.lang.Integer parentId) |
CmsCategory |
getEntityByCode(short siteId,
java.lang.String code) |
java.util.List<CmsCategory> |
getEntitysByCodes(short siteId,
java.lang.String[] codes) |
PageHandler |
getPage(CmsCategoryQuery queryEntity,
java.lang.Integer pageIndex,
java.lang.Integer pageSize) |
void |
save(CmsCategory entity) |
private void |
saveEditorHistory(CmsCategoryAttribute oldAttribute,
short siteId,
int entityId,
long userId,
CmsCategoryType categoryType,
java.util.Map<java.lang.String,java.lang.String> map) |
void |
saveTagAndAttribute(short siteId,
java.lang.String sitePath,
CmsCategory entity,
CmsCategory oldEntity,
java.lang.Long userId,
CmsCategoryAttribute attribute,
CmsCategoryType categoryType,
CmsCategoryParameters categoryParameters) |
void |
updateChildIds(java.io.Serializable id,
java.lang.String childIds) |
void |
updateParentId(short siteId,
java.io.Serializable id,
java.lang.Integer parentId) |
void |
updateUrl(java.io.Serializable id,
java.lang.String url,
boolean hasStatic) |
delete, delete, delete, getEntity, getEntity, getEntitys, getEntitys, getEntitys, getEntitys, getId, save, update, update
private java.lang.String[] ignoreCopyProperties
private java.lang.String[] ignoreProperties
private CmsTagTypeService tagTypeService
private CmsCategoryAttributeService attributeService
private CmsCategoryModelService categoryModelService
private SysExtendService extendService
private SysExtendFieldService extendFieldService
private CmsEditorHistoryService editorHistoryService
private CmsCategoryDao dao
@Transactional(readOnly=true) public PageHandler getPage(CmsCategoryQuery queryEntity, java.lang.Integer pageIndex, java.lang.Integer pageSize)
queryEntity
- pageIndex
- pageSize
- public void saveTagAndAttribute(short siteId, java.lang.String sitePath, CmsCategory entity, CmsCategory oldEntity, java.lang.Long userId, CmsCategoryAttribute attribute, CmsCategoryType categoryType, CmsCategoryParameters categoryParameters)
siteId
- sitePath
- entity
- oldEntity
- userId
- attribute
- categoryType
- categoryParameters
- public void copy(short siteId, CmsCategory entity, CmsCategory copy)
private void saveEditorHistory(CmsCategoryAttribute oldAttribute, short siteId, int entityId, long userId, CmsCategoryType categoryType, java.util.Map<java.lang.String,java.lang.String> map)
public CmsCategory getEntityByCode(short siteId, java.lang.String code)
siteId
- code
- public java.util.List<CmsCategory> getEntitysByCodes(short siteId, java.lang.String[] codes)
siteId
- codes
- public void save(CmsCategory entity)
save
在类中 BaseService<CmsCategory>
entity
- private void addChildIds(java.io.Serializable parentId, java.io.Serializable id)
parentId
- id
- public void changeType(java.lang.Integer id, java.lang.String typeId)
id
- typeId
- private java.lang.String getChildIds(short siteId, java.lang.Integer parentId)
public void generateChildIds(short siteId, java.lang.Integer parentId)
siteId
- parentId
- private void generateChildIds(short siteId, java.lang.Integer parentId, boolean generateParent)
public java.util.List<CmsCategory> delete(short siteId, java.lang.Integer[] ids)
siteId
- ids
- public void updateChildIds(java.io.Serializable id, java.lang.String childIds)
id
- childIds
- public void updateParentId(short siteId, java.io.Serializable id, java.lang.Integer parentId)
siteId
- id
- parentId
- public void updateUrl(java.io.Serializable id, java.lang.String url, boolean hasStatic)
id
- url
- hasStatic
-