|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.core.util.vfs.version.NotVersioned
public class NotVersioned
Description:
This class implements the @see org.olat.core.util.vfs.version.Versions interface for a file
which is not versioned and will never be.
Initial Date: 21 sept. 2009
| Constructor Summary | |
|---|---|
NotVersioned()
|
|
| Method Summary | |
|---|---|
boolean |
addVersion(Identity identity,
java.lang.String comment,
java.io.InputStream newVersion)
add a new version of the file |
boolean |
delete(Identity identity,
java.util.List<VFSRevision> versionsToDelete)
Delete the list of revisions given as parameter |
java.lang.String |
getComment()
|
java.lang.String |
getCreator()
|
java.lang.String |
getRevisionNr()
|
java.util.List<VFSRevision> |
getRevisions()
|
boolean |
isVersioned()
|
boolean |
move(VFSContainer container)
move the file |
boolean |
restore(Identity identity,
VFSRevision version,
java.lang.String comment)
restore the file to the revision given as parameter |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NotVersioned()
| Method Detail |
|---|
public boolean isVersioned()
isVersioned in interface Versionspublic java.util.List<VFSRevision> getRevisions()
getRevisions in interface Versionspublic java.lang.String getCreator()
getCreator in interface Versionspublic java.lang.String getComment()
getComment in interface Versionspublic java.lang.String getRevisionNr()
getRevisionNr in interface Versions
public boolean addVersion(Identity identity,
java.lang.String comment,
java.io.InputStream newVersion)
Versions
addVersion in interface Versionspublic boolean move(VFSContainer container)
Versions
move in interface Versions
public boolean delete(Identity identity,
java.util.List<VFSRevision> versionsToDelete)
Versions
delete in interface Versions
public boolean restore(Identity identity,
VFSRevision version,
java.lang.String comment)
Versions
restore in interface Versions
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||