|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
boolean |
cancelCheckOut()
Cancels the reservation made to edit the file. |
FileVersion |
checkin(java.lang.String authorName,
java.util.Date versionDate,
java.lang.String description,
java.io.InputStream inputStream)
Checks in the file as a latest version of the file. |
boolean |
checkOut()
Reserves the file for edit. |
java.util.List |
getAllVersions()
Returns the list, which contains all the versions of the File Entry. |
FileVersion |
getVersion(int versionNum)
Gets the requested version of file File Entry as an FileVersion object. |
int |
getVersionCount()
Returns the number of versions exists for this entry. |
boolean |
isCheckedOut()
Tells whether the file has been checked out for edit or not. |
Methods inherited from interface org.jmonks.dms.versioncontrol.api.RepositoryEntry |
cancelDelete, delete, getDeletedDate, getEntryID, getEntryName, getEntryType, getParentEntryID, getParentRepositoryEntry, isDeleted, remove |
Method Detail |
public java.util.List getAllVersions()
public boolean isCheckedOut()
public FileVersion getVersion(int versionNum)
versionNum
- Required version of the file. The first version of the file start with 1. So,
this should be in between the 1 and total number of versions.
public FileVersion checkin(java.lang.String authorName, java.util.Date versionDate, java.lang.String description, java.io.InputStream inputStream)
authorName
- Author name to be stored in meta info of this version.versionDate
- Version created date to be stored in meta info of this version.description
- Description to be stored in meta info of this version.inputStream
- InputStream of the information needs to be checked-in as the latest version.
public boolean cancelCheckOut()
public boolean checkOut()
public int getVersionCount()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |