|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.emfstore.internal.server.core.AbstractSubEmfstoreInterface org.eclipse.emf.emfstore.internal.server.core.subinterfaces.ProjectSubInterfaceImpl
public class ProjectSubInterfaceImpl
This subinterface implements all project related functionality.
Constructor Summary | |
---|---|
ProjectSubInterfaceImpl(AbstractEmfstoreInterface parentInterface)
Default constructor. |
Method Summary | |
---|---|
ProjectInfo |
createProject(String name,
String description,
LogMessage logMessage)
Creates a empty project. |
ProjectInfo |
createProject(String name,
String description,
LogMessage logMessage,
Project project)
Creates a new project. |
void |
deleteProject(ProjectId projectId,
boolean deleteFiles)
Deletes the project with the given ID. |
ProjectHistory |
exportProjectHistoryFromServer(ProjectId projectId)
Returns the history for the project with the given ID. |
Project |
getProject(ProjectId projectId,
VersionSpec versionSpec)
Get the project state for a specific version. |
List<ProjectInfo> |
getProjectList(SessionId sessionId)
Returns all projects. |
ProjectId |
importProjectHistoryToServer(ProjectHistory projectHistory)
Import the given project history to the 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 |
---|
public ProjectSubInterfaceImpl(AbstractEmfstoreInterface parentInterface) throws FatalESException
parentInterface
- parent interface
FatalESException
- in case of failureMethod Detail |
---|
public Project getProject(ProjectId projectId, VersionSpec versionSpec) throws InvalidVersionSpecException, ESException
projectId
- the ProjectId
of the project to be fetchedversionSpec
- the requested version
InvalidVersionSpecException
- if the given version is invalid
ESException
- in case of failurepublic List<ProjectInfo> getProjectList(SessionId sessionId) throws ESException
sessionId
- the ID of a session that is checked whether read access is granted
ESException
- in case of failurepublic ProjectInfo createProject(String name, String description, LogMessage logMessage) throws ESException
name
- the name of the projectdescription
- the description of the projectlogMessage
- a log message
ProjectInfo
instance holding information about the created project
ESException
- in case of failurepublic ProjectInfo createProject(String name, String description, LogMessage logMessage, Project project) throws ESException
name
- the name of the projectdescription
- the description of the projectlogMessage
- a log messageproject
- the actual project
ProjectInfo
instance holding information about the created project
ESException
- in case of failurepublic void deleteProject(ProjectId projectId, boolean deleteFiles) throws ESException
projectId
- project iddeleteFiles
- whether to delete files in file system
ESException
- in case of failurepublic ProjectId importProjectHistoryToServer(ProjectHistory projectHistory) throws ESException
projectHistory
- the history to be imported
ESException
- in case of failurepublic ProjectHistory exportProjectHistoryFromServer(ProjectId projectId) throws ESException
projectId
- the ID of a project
ESException
- in case of failure
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |