Package io.meeds.social.cms.storage
Class CMSStorage
java.lang.Object
io.meeds.social.cms.storage.CMSStorage
- Direct Known Subclasses:
CachedCMSStorage
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe metadata typeCMSSettings are persisted under. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.meeds.social.cms.model.CMSSettinggetSetting(String type, String name) List<io.meeds.social.cms.model.CMSSetting> getSettingsByType(String type) List<io.meeds.social.cms.model.CMSSetting> getSettingsByTypeAndPageReference(String type, String pageReference) voidsaveSetting(String type, String name, String pageReference, long spaceId, long userCreatorId)
-
Field Details
-
METADATA_TYPE
The metadata typeCMSSettings are persisted under.- See Also:
-
-
Constructor Details
-
CMSStorage
public CMSStorage(org.exoplatform.social.metadata.MetadataService metadataService)
-
-
Method Details
-
getSetting
-
getSettingsByType
-
getSettingsByTypeAndPageReference
-
saveSetting
public void saveSetting(String type, String name, String pageReference, long spaceId, long userCreatorId) throws org.exoplatform.commons.ObjectAlreadyExistsException - Throws:
org.exoplatform.commons.ObjectAlreadyExistsException
-