|
|||||||||
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.HistorySubInterfaceImpl
public class HistorySubInterfaceImpl
This subinterfaces implements all history related functionality for the EmfStoreImpl interface.
Constructor Summary | |
---|---|
HistorySubInterfaceImpl(AbstractEmfstoreInterface parentInterface)
Default constructor. |
Method Summary | |
---|---|
void |
addTag(ProjectId projectId,
PrimaryVersionSpec versionSpec,
TagVersionSpec tag)
Add a tag to the specified version specifier. |
List<HistoryInfo> |
getHistoryInfo(ProjectId projectId,
HistoryQuery<?> historyQuery)
Returns history information for the given project. |
void |
removeTag(ProjectId projectId,
PrimaryVersionSpec versionSpec,
TagVersionSpec tag)
Removes the tag from the specified version specifier. |
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 HistorySubInterfaceImpl(AbstractEmfstoreInterface parentInterface) throws FatalESException
parentInterface
- parent interface
FatalESException
- in case of failureMethod Detail |
---|
public void addTag(ProjectId projectId, PrimaryVersionSpec versionSpec, TagVersionSpec tag) throws ESException
projectId
- the ID of a projectversionSpec
- the version specifiertag
- the tag to be added
ESException
- in case of failurepublic void removeTag(ProjectId projectId, PrimaryVersionSpec versionSpec, TagVersionSpec tag) throws ESException
projectId
- the ID of a projectversionSpec
- the version specifiertag
- the tag to be removed
ESException
- in case of failurepublic List<HistoryInfo> getHistoryInfo(ProjectId projectId, HistoryQuery<?> historyQuery) throws ESException
projectId
- the ProjectId
of the project whose history should be fetchedhistoryQuery
- the history query
HistoryInfo
about the project
ESException
- in case an error occurs while fetching the history
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |