public interface CheckOutCheckInServiceHandler
Modifier and Type | Method and Description |
---|---|
org.alfresco.service.cmr.repository.NodeRef |
checkInDocument(String fileName,
VersionType type,
String comment,
boolean lockAfterSucess)
Check in provided document and creates write lock on original document
|
org.alfresco.service.cmr.repository.NodeRef |
checkOutDocument(String fileName,
boolean lockAfterSucess)
Check out provided document and creates write lock on working copy
|
org.alfresco.service.cmr.repository.NodeRef |
undoCheckOutDocument(String fileName,
boolean lockAfterSucess)
Undo check out on provided document and creates write lock on original document
|
org.alfresco.service.cmr.repository.NodeRef checkOutDocument(String fileName, boolean lockAfterSucess) throws FileNotFoundException
fileName
- site relative url to the filelockAfterSucess
- true if original node must be locked after operationFileNotFoundException
org.alfresco.service.cmr.repository.NodeRef checkInDocument(String fileName, VersionType type, String comment, boolean lockAfterSucess) throws FileNotFoundException
fileName
- site relative url to the filetype
- major or minor checkincomment
- checkIn commentlockAfterSucess
- true if original node must be locked after operationFileNotFoundException
org.alfresco.service.cmr.repository.NodeRef undoCheckOutDocument(String fileName, boolean lockAfterSucess) throws FileNotFoundException
fileName
- site relative url to the filelockAfterSucess
- true if original node must be locked after operationFileNotFoundException
Copyright © 2005–2017 Alfresco Software. All rights reserved.