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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<org.xwiki.livedata.LiveDataPropertyDescriptor>get()Optional<org.xwiki.livedata.LiveDataPropertyDescriptor>Optional<org.xwiki.livedata.LiveDataPropertyDescriptor>booleansave(org.xwiki.livedata.LiveDataPropertyDescriptor propertyDescriptor)
-
Constructor Details
-
ProjectManagementPropertyDescriptorStore
public ProjectManagementPropertyDescriptorStore()
-
-
Method Details
-
get
public Optional<org.xwiki.livedata.LiveDataPropertyDescriptor> get(String propertyId) throws org.xwiki.livedata.LiveDataException - Specified by:
getin interfaceorg.xwiki.livedata.LiveDataPropertyDescriptorStore- Throws:
org.xwiki.livedata.LiveDataException
-
get
public Collection<org.xwiki.livedata.LiveDataPropertyDescriptor> get() throws org.xwiki.livedata.LiveDataException- Specified by:
getin interfaceorg.xwiki.livedata.LiveDataPropertyDescriptorStore- Throws:
org.xwiki.livedata.LiveDataException
-
save
public boolean save(org.xwiki.livedata.LiveDataPropertyDescriptor propertyDescriptor) throws org.xwiki.livedata.LiveDataException - Specified by:
savein interfaceorg.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:
removein interfaceorg.xwiki.livedata.LiveDataPropertyDescriptorStore- Throws:
org.xwiki.livedata.LiveDataException
-