| org.apache.roller.planet.business.PlanetManager
All known Subclasses: org.apache.roller.planet.business.hibernate.HibernatePlanetManagerImpl,
PlanetManager | public interface PlanetManager extends Serializable(Code) | | Manages groups and subscriptions, can return aggregation for any group.
author: David M Johnson |
Method Summary | |
public void | clearCachedAggregations() | public void | deleteEntry(PlanetEntryData entry) Delete entry. | public void | deleteGroup(PlanetGroupData group) Delete group and any subscriptions that are orphaned. | public void | deleteSubscription(PlanetSubscriptionData group) Delete subscription, remove it from groups, cache, etc. | public List | getAggregation(PlanetGroupData group, Date startDate, Date endDate, int offset, int len) Get agggration for group from cache, enries in reverse chonological order. | public List | getAggregation(int offset, int len) | public List | getAggregation(PlanetGroupData group, int offset, int len) | public List | getAggregation(Date startDate, Date endDate, int offset, int len) Get agggration from cache, enries in reverse chonological order. | public Iterator | getAllSubscriptions() Get all subscriptions. | public PlanetConfigData | getConfiguration() | public List | getFeedEntries(String feedUrl, int offset, int len) Get entries in a single feed as list of PlanetEntryData objects. | public PlanetGroupData | getGroup(String handle) | public PlanetGroupData | getGroupById(String id) Get group by ID rather than handle. | public List | getGroupHandles() | public List | getGroups() | public Date | getLastUpdated() | public Date | getLastUpdated(PlanetGroupData group) | public PlanetSubscriptionData | getSubscription(String feedUrl) Get subscription by feedUrl. | public PlanetSubscriptionData | getSubscriptionById(String id) Get subscription by ID rather than feedUrl. | public int | getSubscriptionCount() Get total number of subscriptions. | public List | getTopSubscriptions(int offset, int len) Get top X subscriptions. | public List | getTopSubscriptions(String groupHandle, int offset, int len) Get top X subscriptions, restricted by group. | public void | refreshEntries(String cacheDirPath) Refresh entry data by fetching and parsing feeds. | public void | saveConfiguration(PlanetConfigData config) | public void | saveEntry(PlanetEntryData entry) | public void | saveGroup(PlanetGroupData sub) | public void | saveSubscription(PlanetSubscriptionData sub) |
clearCachedAggregations | public void clearCachedAggregations()(Code) | | Clear any aggregations and update times that have been cached
|
getAggregation | public List getAggregation(PlanetGroupData group, Date startDate, Date endDate, int offset, int len) throws RollerException(Code) | | Get agggration for group from cache, enries in reverse chonological order.
Respects category constraints of group.
Parameters: group - Restrict to entries from one subscription group. Parameters: offset - Offset into results (for paging) Parameters: len - Maximum number of results to return (for paging) |
getAggregation | public List getAggregation(Date startDate, Date endDate, int offset, int len) throws RollerException(Code) | | Get agggration from cache, enries in reverse chonological order.
Parameters: offset - Offset into results (for paging) Parameters: len - Maximum number of results to return (for paging) |
getFeedEntries | public List getFeedEntries(String feedUrl, int offset, int len) throws RollerException(Code) | | Get entries in a single feed as list of PlanetEntryData objects.
|
getLastUpdated | public Date getLastUpdated()(Code) | | Get last update time for entries most recent 'all' aggregation
|
getSubscriptionCount | public int getSubscriptionCount() throws RollerException(Code) | | Get total number of subscriptions.
|
getTopSubscriptions | public List getTopSubscriptions(int offset, int len) throws RollerException(Code) | | Get top X subscriptions.
|
getTopSubscriptions | public List getTopSubscriptions(String groupHandle, int offset, int len) throws RollerException(Code) | | Get top X subscriptions, restricted by group.
|
refreshEntries | public void refreshEntries(String cacheDirPath) throws RollerException(Code) | | Refresh entry data by fetching and parsing feeds.
|
|
|