Class StudioCacheContext
- java.lang.Object
-
- org.craftercms.studio.impl.v1.service.StudioCacheContext
-
-
Constructor Summary
Constructors Constructor Description StudioCacheContext(String site)
StudioCacheContext(String site, boolean isConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.craftercms.core.service.Context
clone()
String
getCacheScope()
long
getCacheVersion()
String
getId()
int
getMaxAllowedItemsInCache()
org.craftercms.core.store.ContentStoreAdapter
getStoreAdapter()
boolean
ignoreHiddenFiles()
boolean
isCacheOn()
boolean
isMergingOn()
void
setCacheVersion(long cacheVersion)
-
-
-
Method Detail
-
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
-
-