Class ProjectManagementPropertyDescriptorStore

java.lang.Object
com.xwiki.projectmanagement.livadata.ProjectManagementPropertyDescriptorStore
All Implemented Interfaces:
org.xwiki.livedata.LiveDataPropertyDescriptorStore

@Component @Named("projectmanagement") @Singleton public class ProjectManagementPropertyDescriptorStore extends Object implements org.xwiki.livedata.LiveDataPropertyDescriptorStore
Provide the generic descriptors of the project management properties merged with the descriptors coming from eventual ProjectManagementClient implementations, if any.
Version:
$Id$
  • Constructor Details

    • ProjectManagementPropertyDescriptorStore

      public ProjectManagementPropertyDescriptorStore()
  • Method Details

    • get

      public Optional<org.xwiki.livedata.LiveDataPropertyDescriptor> get(String propertyId) throws org.xwiki.livedata.LiveDataException
      Specified by:
      get in interface org.xwiki.livedata.LiveDataPropertyDescriptorStore
      Throws:
      org.xwiki.livedata.LiveDataException
    • get

      public Collection<org.xwiki.livedata.LiveDataPropertyDescriptor> get() throws org.xwiki.livedata.LiveDataException
      Specified by:
      get in interface org.xwiki.livedata.LiveDataPropertyDescriptorStore
      Throws:
      org.xwiki.livedata.LiveDataException
    • save

      public boolean save(org.xwiki.livedata.LiveDataPropertyDescriptor propertyDescriptor) throws org.xwiki.livedata.LiveDataException
      Specified by:
      save in interface org.xwiki.livedata.LiveDataPropertyDescriptorStore
      Throws:
      org.xwiki.livedata.LiveDataException
    • remove

      public Optional<org.xwiki.livedata.LiveDataPropertyDescriptor> remove(String propertyId) throws org.xwiki.livedata.LiveDataException
      Specified by:
      remove in interface org.xwiki.livedata.LiveDataPropertyDescriptorStore
      Throws:
      org.xwiki.livedata.LiveDataException