public class CmsCollectorPublishListHelper extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
OFFLINE
Boolean constant.
|
static boolean |
ONLINE
Boolean constant.
|
| Constructor and Description |
|---|
CmsCollectorPublishListHelper(CmsObject cms,
I_CmsContentLoadCollectorInfo collectorInfo,
int collectorLimit)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<CmsResource> |
computeCollectorResults(boolean online)
Computes the collector results.
|
CmsObject |
getCmsObject(boolean online)
Initializes a CmsObject.
|
I_CmsResourceCollector |
getCollector()
Gets the collector to use.
|
java.util.Set<CmsResource> |
getPublishListFiles()
Gets the list to add to the publish list for the collector list.
|
public static final boolean OFFLINE
public static final boolean ONLINE
public CmsCollectorPublishListHelper(CmsObject cms, I_CmsContentLoadCollectorInfo collectorInfo, int collectorLimit)
cms - the CMS context to usecollectorInfo - the collector informationcollectorLimit - the number of resources which should be fetched via the collectorpublic CmsObject getCmsObject(boolean online) throws CmsException
online - true if a CmsObject for the Online project should be returnedCmsException - if something goes wrongpublic I_CmsResourceCollector getCollector()
public java.util.Set<CmsResource> getPublishListFiles() throws CmsException
CmsException - if something goes wrongprotected java.util.List<CmsResource> computeCollectorResults(boolean online) throws CmsException
online - true if the collector results for the Online project should be returnedCmsException - if something goes wrong