org.eclipse.emf.emfstore.internal.server.core.subinterfaces
Class EMFStorePropertiesSubInterfaceImpl

java.lang.Object
  extended by org.eclipse.emf.emfstore.internal.server.core.AbstractSubEmfstoreInterface
      extended by 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

Constructor Summary
EMFStorePropertiesSubInterfaceImpl(AbstractEmfstoreInterface parentInterface)
           
 
Method Summary
 List<EMFStoreProperty> getEMFProperties(ProjectId projectId)
          Return the Properties for a specific Project.
 List<EMFStoreProperty> setEMFProperties(List<EMFStoreProperty> properties, ProjectId projectId)
          Set the Shared Properties from client on server.
 
Methods inherited from class org.eclipse.emf.emfstore.internal.server.core.AbstractSubEmfstoreInterface
execute, getResourceHelper
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EMFStorePropertiesSubInterfaceImpl

public EMFStorePropertiesSubInterfaceImpl(AbstractEmfstoreInterface parentInterface)
                                   throws FatalESException
Parameters:
parentInterface - the parent interface
Throws:
FatalESException - if any fatal error occurs
Method Detail

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 set
projectId - 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.