org.gcube.application.framework.contentmanagement.cache.factories
Class CollectionInfoCacheEntryFactory
java.lang.Object
org.gcube.application.framework.contentmanagement.cache.factories.CollectionInfoCacheEntryFactory
- All Implemented Interfaces:
- net.sf.ehcache.constructs.blocking.CacheEntryFactory
public class CollectionInfoCacheEntryFactory
- extends Object
- implements net.sf.ehcache.constructs.blocking.CacheEntryFactory
- Author:
- Rena
This cache serves the collection hierarchy for each collection in the given scope
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VIEWMANAGER
public static final String VIEWMANAGER
- The name of the service that handles the Metadata Views
- See Also:
- Constant Field Values
XP_ISUSER
public static final String XP_ISUSER
- See Also:
- Constant Field Values
FACTORYID
public static final String FACTORYID
- The identifier of the factory resources of the View manager
- See Also:
- Constant Field Values
XP_SCHEMANAME
public static final String XP_SCHEMANAME
- See Also:
- Constant Field Values
XP_LANGUAGE
public static final String XP_LANGUAGE
- See Also:
- Constant Field Values
XP_COLNAME
public static final String XP_COLNAME
- See Also:
- Constant Field Values
XP_COLID
public static final String XP_COLID
- See Also:
- Constant Field Values
XP_RELATEDCOLID
public static final String XP_RELATEDCOLID
- See Also:
- Constant Field Values
XP_SCHEMAURI
public static final String XP_SCHEMAURI
- See Also:
- Constant Field Values
CollectionInfoCacheEntryFactory
public CollectionInfoCacheEntryFactory()
createEntry
public Object createEntry(Object key)
throws Exception
- Specified by:
createEntry in interface net.sf.ehcache.constructs.blocking.CacheEntryFactory
- Parameters:
key - the name collection id and the scope
- Throws:
Exception
harvestCollectionProfile
public CollectionInfo harvestCollectionProfile(String colId,
String scope)
throws org.gcube.common.core.scope.GCUBEScope.MalformedScopeExpressionException,
org.gcube.common.core.informationsystem.client.ISClient.ISMalformedQueryException,
org.gcube.common.core.informationsystem.client.ISClient.ISUnsupportedQueryException,
org.gcube.common.core.informationsystem.ISException,
org.gcube.common.core.informationsystem.client.XMLResult.ISResultEvaluationException
- Throws:
org.gcube.common.core.scope.GCUBEScope.MalformedScopeExpressionException
org.gcube.common.core.informationsystem.client.ISClient.ISMalformedQueryException
org.gcube.common.core.informationsystem.client.ISClient.ISUnsupportedQueryException
org.gcube.common.core.informationsystem.ISException
org.gcube.common.core.informationsystem.client.XMLResult.ISResultEvaluationException
Copyright © 2013. All Rights Reserved.