Package org.craftercms.core.service
Interface Context
- All Superinterfaces:
Cloneable
- All Known Implementing Classes:
ContextImpl
,FileSystemContext
Contains information of the content store used by a particular tenant.
- Author:
- Sumer Jabri, Alfonso Vásquez
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final boolean
static final boolean
static final int
static final boolean
-
Method Summary
Modifier and TypeMethodDescriptionclone()
long
getId()
int
boolean
boolean
boolean
void
setCacheVersion
(long cacheVersion)
-
Field Details
-
DEFAULT_MERGING_ON
static final boolean DEFAULT_MERGING_ON- See Also:
-
DEFAULT_CACHE_ON
static final boolean DEFAULT_CACHE_ON- See Also:
-
DEFAULT_MAX_ALLOWED_ITEMS_IN_CACHE
static final int DEFAULT_MAX_ALLOWED_ITEMS_IN_CACHE- See Also:
-
DEFAULT_IGNORE_HIDDEN_FILES
static final boolean DEFAULT_IGNORE_HIDDEN_FILES- See Also:
-
-
Method Details
-
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()
-