public interface RCommonProject
| Modifier and Type | Method and Description |
|---|---|
void |
commit(CommonUser user)
Commits changes in background versioned storage.
|
void |
delete(CommonUser user)
Marks the project for deletion.
|
void |
erase(CommonUser user)
Erases the project from the repository completely.
|
RLock |
getLock() |
String |
getName()
Gets name of the project.
|
boolean |
isLocked() |
boolean |
isMarked4Deletion()
Returns whether the project is marked for deletion.
|
void |
lock(CommonUser user) |
void |
undelete(CommonUser user)
Unmarks the project from deletion.
|
void |
unlock(CommonUser user) |
void commit(CommonUser user) throws RRepositoryException
RRepositoryException - if failedvoid delete(CommonUser user) throws RRepositoryException
RDeleteException - if failedRRepositoryExceptionvoid erase(CommonUser user) throws RRepositoryException
#delete() should be
invoked. Otherwise this method will throw exception.RDeleteException - if failedRRepositoryExceptionRLock getLock() throws RRepositoryException
RRepositoryExceptionString getName()
boolean isLocked()
throws RRepositoryException
RRepositoryExceptionboolean isMarked4Deletion()
throws RRepositoryException
true if project is marked for deletion;
false otherwiseRRepositoryExceptionvoid lock(CommonUser user) throws RRepositoryException
RRepositoryExceptionvoid undelete(CommonUser user) throws RRepositoryException
RModifyException - if failedRRepositoryExceptionvoid unlock(CommonUser user) throws RRepositoryException
RRepositoryExceptionCopyright © 2018. All rights reserved.