public class CachingAssetCollectionFactoryImpl extends Object implements AssetCollectionFactory
| Constructor and Description |
|---|
CachingAssetCollectionFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected AssetCollectionImpl |
copyAssetCollection(AssetCollection objToCopy) |
AssetCollection |
getCollection(String sectionId,
String collectionName)
Get a collection and its contents
|
AssetCollection |
getCollection(String sectionId,
String collectionName,
int resultsToSkip,
int maxResults)
Get a collection and its contents
|
Date |
getModifiedTimeOfAssetCollection(String assetCollectionId) |
void |
setAssetFactory(AssetFactory assetFactory) |
void |
setCache(SimpleCache<String,org.alfresco.wcm.client.impl.CachingAssetCollectionFactoryImpl.CacheEntry> cache) |
void |
setDelegate(AssetCollectionFactory delegate) |
void |
setMinimumCacheMilliseconds(long minimumCacheMilliseconds) |
public AssetCollection getCollection(String sectionId, String collectionName, int resultsToSkip, int maxResults)
CollectionFactorygetCollection in interface CollectionFactorysectionId - the parent section idcollectionName - the name of the collection requiredresultsToSkip - the number of returned assets to skipmaxResults - the number of results to returnprotected AssetCollectionImpl copyAssetCollection(AssetCollection objToCopy)
public AssetCollection getCollection(String sectionId, String collectionName)
CollectionFactorygetCollection in interface CollectionFactorysectionId - the parent section idcollectionName - the name of the collection requiredpublic Date getModifiedTimeOfAssetCollection(String assetCollectionId)
getModifiedTimeOfAssetCollection in interface AssetCollectionFactorypublic void setDelegate(AssetCollectionFactory delegate)
public void setCache(SimpleCache<String,org.alfresco.wcm.client.impl.CachingAssetCollectionFactoryImpl.CacheEntry> cache)
public void setMinimumCacheMilliseconds(long minimumCacheMilliseconds)
public void setAssetFactory(AssetFactory assetFactory)
Copyright © 2005–2014 Alfresco Software. All rights reserved.