| java.lang.Object org.apache.roller.business.hibernate.HibernateWeblogManagerImpl
HibernateWeblogManagerImpl | public class HibernateWeblogManagerImpl implements WeblogManager(Code) | | Hibernate implementation of the WeblogManager.
|
Method Summary | |
public void | applyCommentDefaultsToEntries(WebsiteData website) Apply comment defaults (defaultAllowComments and defaultCommentDays) to
all existing entries in a website using a single HQL query. | public String | createAnchor(WeblogEntryData entry) | public List | getAllWeblogCategoryDecscendentAssocs(WeblogCategoryData cat) | public CommentData | getComment(String id) | public List | getComments(WebsiteData website, WeblogEntryData entry, String searchString, Date startDate, Date endDate, Boolean pending, Boolean approved, Boolean spam, boolean reverseChrono, int offset, int length) | public HitCountData | getHitCount(String id) | public HitCountData | getHitCountByWeblog(WebsiteData weblog) | public List | getHotWeblogs(int sinceDays, int offset, int length) | public List | getMostCommentedWeblogEntries(WebsiteData website, Date startDate, Date endDate, int offset, int length) | public List | getNextEntries(WeblogEntryData current, String catName, String locale, int maxEntries) | public WeblogEntryData | getNextEntry(WeblogEntryData current, String catName, String locale) | public List | getNextPrevEntries(WeblogEntryData current, String catName, String locale, int maxEntries, boolean next) | public String | getPath(WeblogCategoryData category) | public List | getPopularTags(WebsiteData website, Date startDate, int limit) | public List | getPreviousEntries(WeblogEntryData current, String catName, String locale, int maxEntries) | public WeblogEntryData | getPreviousEntry(WeblogEntryData current, String catName, String locale) | public WeblogCategoryData | getRootWeblogCategory(WebsiteData website) | public boolean | getTagComboExists(List tags, WebsiteData weblog) Remember, this checks that the exact tag intersection specified by the
list of tags exists either site-wide or for a given weblog. | public List | getTags(WebsiteData website, String sortBy, String startsWith, int limit) | public List | getWeblogCategories(WebsiteData website, boolean includeRoot) | public List | getWeblogCategories(WebsiteData website) | public WeblogCategoryData | getWeblogCategory(String id) | public List | getWeblogCategoryAncestorAssocs(WeblogCategoryData cat) | public WeblogCategoryData | getWeblogCategoryByPath(WebsiteData website, String categoryPath) | public WeblogCategoryData | getWeblogCategoryByPath(WebsiteData website, WeblogCategoryData category, String path) | public List | getWeblogCategoryChildAssocs(WeblogCategoryData cat) | public Assoc | getWeblogCategoryParentAssoc(WeblogCategoryData cat) | public List | getWeblogEntries(WebsiteData website, UserData user, Date startDate, Date endDate, String catName, List tags, String status, String sortby, String locale, int offset, int length) | public List | getWeblogEntries(WeblogCategoryData cat, boolean subcats) | public List | getWeblogEntriesPinnedToMain(Integer max) | public WeblogEntryData | getWeblogEntry(String id) | public WeblogEntryData | getWeblogEntryByAnchor(WebsiteData website, String anchor) | public Map | getWeblogEntryObjectMap(WebsiteData website, Date startDate, Date endDate, String catName, List tags, String status, String locale, int offset, int length) | public Map | getWeblogEntryStringMap(WebsiteData website, Date startDate, Date endDate, String catName, List tags, String status, String locale, int offset, int length) | public Date | getWeblogLastPublishTime(WebsiteData website, String catName) | public Date | getWeblogLastPublishTime(WebsiteData website) | public void | incrementHitCount(WebsiteData weblog, int amount) | public boolean | isDescendentOf(WeblogCategoryData child, WeblogCategoryData ancestor) | public boolean | isDuplicateWeblogCategoryName(WeblogCategoryData cat) | public boolean | isWeblogCategoryInUse(WeblogCategoryData cat) | public void | moveWeblogCategoryContents(WeblogCategoryData srcCat, WeblogCategoryData destCat) | public void | release() | public void | removeComment(CommentData comment) | public void | removeHitCount(HitCountData hitCount) | public int | removeMatchingComments(WebsiteData website, WeblogEntryData entry, String searchString, Date startDate, Date endDate, Boolean pending, Boolean approved, Boolean spam) | public void | removeWeblogCategory(WeblogCategoryData cat) | public void | removeWeblogEntry(WeblogEntryData entry) | public void | resetAllHitCounts() | public void | resetHitCount(WebsiteData weblog) | public void | saveComment(CommentData comment) | public void | saveHitCount(HitCountData hitCount) | public void | saveWeblogCategory(WeblogCategoryData cat) | public void | saveWeblogEntry(WeblogEntryData entry) | public void | updateTagCount(String name, WebsiteData website, int amount) |
serialVersionUID | final static long serialVersionUID(Code) | | |
applyCommentDefaultsToEntries | public void applyCommentDefaultsToEntries(WebsiteData website) throws RollerException(Code) | | Apply comment defaults (defaultAllowComments and defaultCommentDays) to
all existing entries in a website using a single HQL query.
Parameters: website - Website where comment defaults are from/to be applied. |
getComments | public List getComments(WebsiteData website, WeblogEntryData entry, String searchString, Date startDate, Date endDate, Boolean pending, Boolean approved, Boolean spam, boolean reverseChrono, int offset, int length) throws RollerException(Code) | | |
getTagComboExists | public boolean getTagComboExists(List tags, WebsiteData weblog) throws RollerException(Code) | | Remember, this checks that the exact tag intersection specified by the
list of tags exists either site-wide or for a given weblog. So if the
list of tags is "foo", "bar" and we only find "foo" then that's a
miss and we return false.
|
getWeblogEntries | public List getWeblogEntries(WebsiteData website, UserData user, Date startDate, Date endDate, String catName, List tags, String status, String sortby, String locale, int offset, int length) throws RollerException(Code) | | |
getWeblogLastPublishTime | public Date getWeblogLastPublishTime(WebsiteData website) throws RollerException(Code) | | Gets the Date of the latest Entry publish time, before the end of today,
for all WeblogEntries
|
release | public void release()(Code) | | |
|
|