|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Versions
Description:
The interface which enabled the versioning
Initial Date: 21 sept. 2009
| 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> revisionsToDelete)
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 revision,
java.lang.String comment)
restore the file to the revision given as parameter |
| Method Detail |
|---|
boolean isVersioned()
java.lang.String getRevisionNr()
java.lang.String getCreator()
java.lang.String getComment()
java.util.List<VFSRevision> getRevisions()
boolean addVersion(Identity identity,
java.lang.String comment,
java.io.InputStream newVersion)
identity - comment - newVersion -
boolean move(VFSContainer container)
container -
boolean restore(Identity identity,
VFSRevision revision,
java.lang.String comment)
identity - revision -
boolean delete(Identity identity,
java.util.List<VFSRevision> revisionsToDelete)
identity - revisionsToDelete -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||