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 boolean
DEFAULT_CACHE_ON
static boolean
DEFAULT_IGNORE_HIDDEN_FILES
static int
DEFAULT_MAX_ALLOWED_ITEMS_IN_CACHE
static boolean
DEFAULT_MERGING_ON
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Context
clone()
String
getCacheScope()
long
getCacheVersion()
String
getId()
int
getMaxAllowedItemsInCache()
ContentStoreAdapter
getStoreAdapter()
boolean
ignoreHiddenFiles()
boolean
isCacheOn()
boolean
isMergingOn()
void
setCacheVersion(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()
-
-