Package org.craftercms.core.service
Interface Context
-
- All Superinterfaces:
Cloneable
- All Known Implementing Classes:
ContextImpl,FileSystemContext
public interface Context extends Cloneable
Contains information of the content store used by a particular tenant.- Author:
- Sumer Jabri, Alfonso Vásquez
-
-
Field Summary
Fields Modifier and Type Field Description static booleanDEFAULT_CACHE_ONstatic booleanDEFAULT_IGNORE_HIDDEN_FILESstatic intDEFAULT_MAX_ALLOWED_ITEMS_IN_CACHEstatic booleanDEFAULT_MERGING_ON
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Contextclone()StringgetCacheScope()longgetCacheVersion()StringgetId()intgetMaxAllowedItemsInCache()ContentStoreAdaptergetStoreAdapter()booleanignoreHiddenFiles()booleanisCacheOn()booleanisMergingOn()voidsetCacheVersion(long cacheVersion)
-
-
-
Field Detail
-
DEFAULT_MERGING_ON
static final boolean DEFAULT_MERGING_ON
- See Also:
- Constant Field Values
-
DEFAULT_CACHE_ON
static final boolean DEFAULT_CACHE_ON
- See Also:
- Constant Field Values
-
DEFAULT_MAX_ALLOWED_ITEMS_IN_CACHE
static final int DEFAULT_MAX_ALLOWED_ITEMS_IN_CACHE
- See Also:
- Constant Field Values
-
DEFAULT_IGNORE_HIDDEN_FILES
static final boolean DEFAULT_IGNORE_HIDDEN_FILES
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
String getId()
-
getCacheVersion
long getCacheVersion()
-
setCacheVersion
void setCacheVersion(long cacheVersion)
-
getCacheScope
String getCacheScope()
-
getStoreAdapter
ContentStoreAdapter getStoreAdapter()
-
isMergingOn
boolean isMergingOn()
-
isCacheOn
boolean isCacheOn()
-
getMaxAllowedItemsInCache
int getMaxAllowedItemsInCache()
-
ignoreHiddenFiles
boolean ignoreHiddenFiles()
-
clone
Context clone()
-
-