类 CmsPlaceService

java.lang.Object
com.publiccms.common.base.BaseService<CmsPlace>
com.publiccms.logic.service.cms.CmsPlaceService

@Service @Transactional public class CmsPlaceService extends BaseService<CmsPlace>
CmsPlaceService
  • 字段详细资料

    • STATUS_DRAFT

      public static final int STATUS_DRAFT
      另请参阅:
    • STATUS_NORMAL

      public static final int STATUS_NORMAL
      另请参阅:
    • STATUS_NORMAL_ARRAY

      public static final Integer[] 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

      public static final String ITEM_TYPE_CONTENT
      另请参阅:
    • ITEM_TYPE_CATEGORY

      public static final String ITEM_TYPE_CATEGORY
      另请参阅:
    • ITEM_TYPE_CUSTOM

      public static final String ITEM_TYPE_CUSTOM
      另请参阅:
    • dao

      private CmsPlaceDao 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

      public CmsPlace checking(short siteId, Serializable id)
      参数:
      siteId -
      id -
      user -
      checkPermissions -
      返回:
      result
    • checkInProcess

      public CmsPlace checkInProcess(short siteId, Long userId, Serializable id)
      参数:
      siteId -
      userId -
      id -
      checkPermissions -
      返回:
      result
    • rejectInProcess

      public CmsPlace rejectInProcess(short siteId, Long userId, Serializable id)
      参数:
      siteId -
      userId -
      id -
      返回:
      results list
    • uncheck

      public void uncheck(short siteId, Serializable id)
      参数:
      siteId -
      id -
    • reject

      public CmsPlace reject(short siteId, Long userId, Serializable id)
      参数:
      siteId -
      userId -
      id -
      返回:
      results list
    • shelf

      public void shelf(Serializable id, boolean on)
      参数:
      id -
      on -
    • check

      public void check(short siteId, Long userId, Serializable[] ids, String path)
      参数:
      siteId -
      userId -
      ids -
      path -
    • reject

      public void reject(short siteId, Long userId, Serializable[] ids, String path)
      参数:
      siteId -
      userId -
      ids -
      path -
    • uncheck

      public void uncheck(short siteId, Serializable[] ids, String path)
      参数:
      siteId -
      ids -
      path -
    • refresh

      public void refresh(short siteId, Serializable[] ids, String path)
      参数:
      siteId -
      ids -
      path -
    • delete

      public void delete(Serializable id)
      覆盖:
      delete 在类中 BaseService<CmsPlace>
      参数:
      id -
    • delete

      public void delete(short siteId, Serializable[] ids, String path)
      参数:
      siteId -
      ids -
      path -
    • delete

      public int delete(short siteId, String path)
      参数:
      siteId -
      path -
      返回:
      number of data deleted