Class ProjectManagementEntryStore

  • All Implemented Interfaces:
    org.xwiki.livedata.LiveDataEntryStore

    @Component
    @Named("projectmanagement")
    @Singleton
    public class ProjectManagementEntryStore
    extends Object
    implements org.xwiki.livedata.LiveDataEntryStore
    Provides the storing and retrieval operations for the entries coming from an ProjectManagementClient identified by a hint present in the livedata configuration.
    Version:
    $Id$
    • Constructor Detail

      • ProjectManagementEntryStore

        public ProjectManagementEntryStore()
    • Method Detail

      • get

        public Optional<Map<String,​Object>> get​(Object entryId)
                                               throws org.xwiki.livedata.LiveDataException
        Specified by:
        get in interface org.xwiki.livedata.LiveDataEntryStore
        Throws:
        org.xwiki.livedata.LiveDataException
      • get

        public Optional<Object> get​(Object entryId,
                                    String property)
                             throws org.xwiki.livedata.LiveDataException
        Specified by:
        get in interface org.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:
        get in interface org.xwiki.livedata.LiveDataEntryStore
        Throws:
        org.xwiki.livedata.LiveDataException
      • save

        public Optional<Object> save​(Map<String,​Object> entry)
                              throws org.xwiki.livedata.LiveDataException
        Specified by:
        save in interface org.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:
        update in interface org.xwiki.livedata.LiveDataEntryStore
        Throws:
        org.xwiki.livedata.LiveDataException
      • remove

        public Optional<Map<String,​Object>> remove​(Object entryId)
                                                  throws org.xwiki.livedata.LiveDataException
        Specified by:
        remove in interface org.xwiki.livedata.LiveDataEntryStore
        Throws:
        org.xwiki.livedata.LiveDataException