Class ProjectManagementEntryStore
- java.lang.Object
-
- com.xwiki.projectmanagement.livadata.ProjectManagementEntryStore
-
- All Implemented Interfaces:
org.xwiki.livedata.LiveDataEntryStore
@Component @Named("projectmanagement") @Singleton public class ProjectManagementEntryStore extends Object implements org.xwiki.livedata.LiveDataEntryStoreProvides the storing and retrieval operations for the entries coming from anProjectManagementClientidentified by a hint present in the livedata configuration.- Version:
- $Id$
-
-
Constructor Summary
Constructors Constructor Description ProjectManagementEntryStore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Map<String,Object>>get(Object entryId)Optional<Object>get(Object entryId, String property)org.xwiki.livedata.LiveDataget(org.xwiki.livedata.LiveDataQuery query)Optional<Map<String,Object>>remove(Object entryId)Optional<Object>save(Map<String,Object> entry)Optional<Object>update(Object entryId, String property, Object value)
-
-
-
Method Detail
-
get
public Optional<Map<String,Object>> get(Object entryId) throws org.xwiki.livedata.LiveDataException
- Specified by:
getin interfaceorg.xwiki.livedata.LiveDataEntryStore- Throws:
org.xwiki.livedata.LiveDataException
-
get
public Optional<Object> get(Object entryId, String property) throws org.xwiki.livedata.LiveDataException
- Specified by:
getin interfaceorg.xwiki.livedata.LiveDataEntryStore- Throws:
org.xwiki.livedata.LiveDataException
-
get
public org.xwiki.livedata.LiveData get(org.xwiki.livedata.LiveDataQuery query) throws org.xwiki.livedata.LiveDataException- Specified by:
getin interfaceorg.xwiki.livedata.LiveDataEntryStore- Throws:
org.xwiki.livedata.LiveDataException
-
save
public Optional<Object> save(Map<String,Object> entry) throws org.xwiki.livedata.LiveDataException
- Specified by:
savein interfaceorg.xwiki.livedata.LiveDataEntryStore- Throws:
org.xwiki.livedata.LiveDataException
-
update
public Optional<Object> update(Object entryId, String property, Object value) throws org.xwiki.livedata.LiveDataException
- Specified by:
updatein interfaceorg.xwiki.livedata.LiveDataEntryStore- Throws:
org.xwiki.livedata.LiveDataException
-
-