示例#1
0
 /**
  * bindingData
  *
  * @param currentPage
  * @return
  */
 public AlbumDO bindingData(int currentPage) {
   AlbumDO albumDO = new AlbumDO();
   albumDO.setCategoryId(getCategoryId());
   albumDO.setIndexStatus(getIndexStatus());
   albumDO.bindOptionsDO(currentPage);
   return albumDO;
 }
示例#2
0
 /**
  * bindingData
  *
  * @return
  */
 public AlbumDO bindingData() {
   AlbumDO albumDO = new AlbumDO();
   albumDO.setId(getAlbumId());
   albumDO.setAlbumName(getAlbumName());
   albumDO.setAlbumDescription(getAlbumDescription());
   albumDO.setCategoryId(getCategoryId());
   albumDO.setAlias(getAlias());
   albumDO.setPageDescription(getPageDescription());
   albumDO.setPageKeyWords(getPageKeyWords());
   albumDO.setPageTitle(getPageTitle());
   albumDO.bindingTimes(new Date());
   return albumDO;
 }