org.eclipse.emf.emfstore.internal.server.core.subinterfaces
Class EMFStorePropertiesSubInterfaceImpl
java.lang.Object
org.eclipse.emf.emfstore.internal.server.core.AbstractSubEmfstoreInterface
org.eclipse.emf.emfstore.internal.server.core.subinterfaces.EMFStorePropertiesSubInterfaceImpl
public class EMFStorePropertiesSubInterfaceImpl
- extends AbstractSubEmfstoreInterface
The EMFStorePropertiesSubInterfaceImpl class is responsible for
handling modifications of EMFStore properties.
- Author:
- groeber, emueller
EMFStorePropertiesSubInterfaceImpl
public EMFStorePropertiesSubInterfaceImpl(AbstractEmfstoreInterface parentInterface)
throws FatalESException
- Parameters:
parentInterface - the parent interface
- Throws:
FatalESException - if any fatal error occurs
setEMFProperties
public List<EMFStoreProperty> setEMFProperties(List<EMFStoreProperty> properties,
ProjectId projectId)
throws ESException
- Set the Shared Properties from client on server.
- Parameters:
properties - properties to be setprojectId - Project where the properties should be saved
- Returns:
- a list of properties that could not be updated since they are outdated
- Throws:
ESException - if the specified project does not exist
getEMFProperties
public List<EMFStoreProperty> getEMFProperties(ProjectId projectId)
throws ESException
- Return the Properties for a specific Project.
- Parameters:
projectId - ProjectId for the properties
- Returns:
- EMap containing the Key string and the property value
- Throws:
ESException - if specified property does not exist
Copyright © 2015. All Rights Reserved.