Class DecoratedStoreAdapterContext
- java.lang.Object
-
- org.craftercms.engine.util.store.decorators.DecoratedStoreAdapterContext
-
- All Implemented Interfaces:
Cloneable
,org.craftercms.core.service.Context
public class DecoratedStoreAdapterContext extends Object implements org.craftercms.core.service.Context
Context
wrapper used byContentStoreAdapterDecorator
.- Since:
- 3.1.4
- Author:
- avasquez
-
-
Field Summary
Fields Modifier and Type Field Description protected org.craftercms.core.service.Context
actualContext
protected org.craftercms.core.store.ContentStoreAdapter
decoratedStoreAdapter
-
Constructor Summary
Constructors Constructor Description DecoratedStoreAdapterContext(org.craftercms.core.service.Context actualContext, org.craftercms.core.store.ContentStoreAdapter decoratedStoreAdapter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.craftercms.core.service.Context
clone()
org.craftercms.core.service.Context
getActualContext()
String
getCacheScope()
long
getCacheVersion()
String
getId()
int
getMaxAllowedItemsInCache()
org.craftercms.core.store.ContentStoreAdapter
getStoreAdapter()
boolean
ignoreHiddenFiles()
boolean
isCacheOn()
boolean
isMergingOn()
void
setCacheVersion(long cacheVersion)
String
toString()
-
-
-
Method Detail
-
getActualContext
public org.craftercms.core.service.Context getActualContext()
-
getId
public String getId()
- Specified by:
getId
in interfaceorg.craftercms.core.service.Context
-
getCacheVersion
public long getCacheVersion()
- Specified by:
getCacheVersion
in interfaceorg.craftercms.core.service.Context
-
setCacheVersion
public void setCacheVersion(long cacheVersion)
- Specified by:
setCacheVersion
in interfaceorg.craftercms.core.service.Context
-
getCacheScope
public String getCacheScope()
- Specified by:
getCacheScope
in interfaceorg.craftercms.core.service.Context
-
getStoreAdapter
public org.craftercms.core.store.ContentStoreAdapter getStoreAdapter()
- Specified by:
getStoreAdapter
in interfaceorg.craftercms.core.service.Context
-
isMergingOn
public boolean isMergingOn()
- Specified by:
isMergingOn
in interfaceorg.craftercms.core.service.Context
-
isCacheOn
public boolean isCacheOn()
- Specified by:
isCacheOn
in interfaceorg.craftercms.core.service.Context
-
getMaxAllowedItemsInCache
public int getMaxAllowedItemsInCache()
- Specified by:
getMaxAllowedItemsInCache
in interfaceorg.craftercms.core.service.Context
-
ignoreHiddenFiles
public boolean ignoreHiddenFiles()
- Specified by:
ignoreHiddenFiles
in interfaceorg.craftercms.core.service.Context
-
clone
public org.craftercms.core.service.Context clone()
-
-