类 CmsPlaceService
CmsPlaceService
-
字段概要
字段修饰符和类型字段说明private CmsPlaceDao
static final String
static final String
static final String
static final int
static final int
static final int
static final Integer[]
static final int
static final int
static final int
从类继承的字段 com.publiccms.common.base.BaseService
basedao, log
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
check
(short siteId, Serializable id, Long userId) void
check
(short siteId, Long userId, Serializable[] ids, String path) checking
(short siteId, Serializable id) checkInProcess
(short siteId, Long userId, Serializable id) void
delete
(short siteId, Serializable[] ids, String path) int
void
delete
(Serializable id) getPage
(Short siteId, Long userId, String path, String itemType, Long itemId, Date startPublishDate, Date endPublishDate, Date expiryDate, Integer[] status, Boolean disabled, String orderField, String orderType, Integer pageIndex, Integer pageSize) void
refresh
(short siteId, Serializable[] ids, String path) reject
(short siteId, Long userId, Serializable id) void
reject
(short siteId, Long userId, Serializable[] ids, String path) rejectInProcess
(short siteId, Long userId, Serializable id) void
shelf
(Serializable id, boolean on) void
uncheck
(short siteId, Serializable id) void
uncheck
(short siteId, Serializable[] ids, String path) void
updateStatistics
(Collection<PlaceClickStatistics> entitys) 从类继承的方法 com.publiccms.common.base.BaseService
delete, delete, getEntity, getEntity, getEntitys, getEntitys, getEntitys, getEntitys, getId, save, save, update, update
-
字段详细资料
-
STATUS_DRAFT
public static final int STATUS_DRAFT- 另请参阅:
-
STATUS_NORMAL
public static final int STATUS_NORMAL- 另请参阅:
-
STATUS_NORMAL_ARRAY
-
STATUS_PEND
public static final int STATUS_PEND- 另请参阅:
-
STATUS_OFFSHELF
public static final int STATUS_OFFSHELF- 另请参阅:
-
STATUS_REJECT
public static final int STATUS_REJECT- 另请参阅:
-
STATUS_CHECKING
public static final int STATUS_CHECKING- 另请参阅:
-
ITEM_TYPE_CONTENT
- 另请参阅:
-
ITEM_TYPE_CATEGORY
- 另请参阅:
-
ITEM_TYPE_CUSTOM
- 另请参阅:
-
dao
-
-
构造器详细资料
-
CmsPlaceService
public CmsPlaceService()
-
-
方法详细资料
-
getPage
@Transactional(readOnly=true) public PageHandler getPage(Short siteId, Long userId, String path, String itemType, Long itemId, Date startPublishDate, Date endPublishDate, Date expiryDate, Integer[] status, Boolean disabled, String orderField, String orderType, Integer pageIndex, Integer pageSize) - 参数:
siteId
-userId
-path
-itemType
-itemId
-startPublishDate
-endPublishDate
-expiryDate
-status
-disabled
-orderField
-orderType
-pageIndex
-pageSize
-- 返回:
- results page
-
updateStatistics
@Transactional(isolation=READ_COMMITTED) public void updateStatistics(Collection<PlaceClickStatistics> entitys) - 参数:
entitys
-
-
check
@Transactional(isolation=READ_COMMITTED) public void check(short siteId, Serializable id, Long userId) - 参数:
siteId
-id
-userId
-
-
checking
- 参数:
siteId
-id
-user
-checkPermissions
-- 返回:
- result
-
checkInProcess
- 参数:
siteId
-userId
-id
-checkPermissions
-- 返回:
- result
-
rejectInProcess
- 参数:
siteId
-userId
-id
-- 返回:
- results list
-
uncheck
- 参数:
siteId
-id
-
-
reject
- 参数:
siteId
-userId
-id
-- 返回:
- results list
-
shelf
- 参数:
id
-on
-
-
check
- 参数:
siteId
-userId
-ids
-path
-
-
reject
- 参数:
siteId
-userId
-ids
-path
-
-
uncheck
- 参数:
siteId
-ids
-path
-
-
refresh
- 参数:
siteId
-ids
-path
-
-
delete
- 覆盖:
delete
在类中BaseService<CmsPlace>
- 参数:
id
-
-
delete
- 参数:
siteId
-ids
-path
-
-
delete
- 参数:
siteId
-path
-- 返回:
- number of data deleted
-