/** * bindingData * * @param currentPage * @return */ public AlbumDO bindingData(int currentPage) { AlbumDO albumDO = new AlbumDO(); albumDO.setCategoryId(getCategoryId()); albumDO.setIndexStatus(getIndexStatus()); albumDO.bindOptionsDO(currentPage); return albumDO; }
/** * 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; }