@Service @Transactional public class CmsPlaceService extends BaseService<CmsPlace>
限定符和类型 | 字段和说明 |
---|---|
private CmsPlaceDao |
dao |
static java.lang.String |
ITEM_TYPE_CATEGORY |
static java.lang.String |
ITEM_TYPE_CONTENT |
static java.lang.String |
ITEM_TYPE_CUSTOM |
static int |
STATUS_DRAFT |
static int |
STATUS_NORMAL |
static java.lang.Integer[] |
STATUS_NORMAL_ARRAY |
static int |
STATUS_OFFSHELF |
static int |
STATUS_PEND |
basedao, log
构造器和说明 |
---|
CmsPlaceService() |
限定符和类型 | 方法和说明 |
---|---|
void |
check(java.io.Serializable id,
java.lang.Long userId) |
void |
check(short siteId,
java.lang.Long userId,
java.io.Serializable[] ids,
java.lang.String path) |
void |
delete(java.io.Serializable id) |
void |
delete(short siteId,
java.io.Serializable[] ids,
java.lang.String path) |
int |
delete(short siteId,
java.lang.String path) |
PageHandler |
getPage(java.lang.Short siteId,
java.lang.Long userId,
java.lang.String path,
java.lang.String itemType,
java.lang.Long itemId,
java.util.Date startPublishDate,
java.util.Date endPublishDate,
java.util.Date expiryDate,
java.lang.Integer[] status,
java.lang.Boolean disabled,
java.lang.String orderField,
java.lang.String orderType,
java.lang.Integer pageIndex,
java.lang.Integer pageSize) |
void |
refresh(short siteId,
java.io.Serializable[] ids,
java.lang.String path) |
void |
shelf(java.io.Serializable id,
boolean on) |
void |
uncheck(java.io.Serializable id) |
void |
uncheck(short siteId,
java.io.Serializable[] ids,
java.lang.String path) |
void |
updateStatistics(java.util.Collection<PlaceClickStatistics> entitys) |
delete, delete, getEntity, getEntity, getEntitys, getEntitys, getEntitys, getEntitys, getId, save, save, update, update
public static final int STATUS_DRAFT
public static final int STATUS_NORMAL
public static final java.lang.Integer[] STATUS_NORMAL_ARRAY
public static final int STATUS_PEND
public static final int STATUS_OFFSHELF
public static final java.lang.String ITEM_TYPE_CONTENT
public static final java.lang.String ITEM_TYPE_CATEGORY
public static final java.lang.String ITEM_TYPE_CUSTOM
private CmsPlaceDao dao
@Transactional(readOnly=true) public PageHandler getPage(java.lang.Short siteId, java.lang.Long userId, java.lang.String path, java.lang.String itemType, java.lang.Long itemId, java.util.Date startPublishDate, java.util.Date endPublishDate, java.util.Date expiryDate, java.lang.Integer[] status, java.lang.Boolean disabled, java.lang.String orderField, java.lang.String orderType, java.lang.Integer pageIndex, java.lang.Integer pageSize)
siteId
- userId
- path
- itemType
- itemId
- startPublishDate
- endPublishDate
- expiryDate
- status
- disabled
- orderField
- orderType
- pageIndex
- pageSize
- @Transactional(isolation=READ_COMMITTED) public void updateStatistics(java.util.Collection<PlaceClickStatistics> entitys)
entitys
- @Transactional(isolation=READ_COMMITTED) public void check(java.io.Serializable id, java.lang.Long userId)
id
- userId
- public void uncheck(java.io.Serializable id)
id
- public void shelf(java.io.Serializable id, boolean on)
id
- on
- public void check(short siteId, java.lang.Long userId, java.io.Serializable[] ids, java.lang.String path)
siteId
- userId
- ids
- path
- public void uncheck(short siteId, java.io.Serializable[] ids, java.lang.String path)
siteId
- ids
- path
- public void refresh(short siteId, java.io.Serializable[] ids, java.lang.String path)
siteId
- ids
- path
- public void delete(java.io.Serializable id)
delete
在类中 BaseService<CmsPlace>
public void delete(short siteId, java.io.Serializable[] ids, java.lang.String path)
siteId
- ids
- path
- public int delete(short siteId, java.lang.String path)
siteId
- path
-