public class AlfrescoCheckOutCheckInServiceHandler extends Object implements CheckOutCheckInServiceHandler
Constructor and Description |
---|
AlfrescoCheckOutCheckInServiceHandler() |
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
|
void |
setAuthenticationService(AuthenticationService authenticationService) |
void |
setCheckOutCheckInService(CheckOutCheckInService checkOutCheckInService) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setPathHelper(VtiPathHelper pathHelper) |
void |
setTransactionService(TransactionService transactionService) |
void |
setVersionService(VersionService versionService) |
void |
setWebDAVLockService(WebDAVLockService webDAVlockService) |
org.alfresco.service.cmr.repository.NodeRef |
undoCheckOutDocument(String fileName,
boolean lockAfterSucess)
Undo check out on provided document and creates write lock on original document
|
public AlfrescoCheckOutCheckInServiceHandler()
public void setPathHelper(VtiPathHelper pathHelper)
public void setCheckOutCheckInService(CheckOutCheckInService checkOutCheckInService)
public void setWebDAVLockService(WebDAVLockService webDAVlockService)
public void setTransactionService(TransactionService transactionService)
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
public void setVersionService(VersionService versionService)
public void setAuthenticationService(AuthenticationService authenticationService)
public org.alfresco.service.cmr.repository.NodeRef undoCheckOutDocument(String fileName, boolean lockAfterSucess) throws FileNotFoundException
CheckOutCheckInServiceHandler
undoCheckOutDocument
in interface CheckOutCheckInServiceHandler
fileName
- site relative url to the filelockAfterSucess
- true if original node must be locked after operationFileNotFoundException
CheckOutCheckInServiceHandler.undoCheckOutDocument(String, boolean)
public org.alfresco.service.cmr.repository.NodeRef checkInDocument(String fileName, VersionType type, String comment, boolean lockAfterSucess) throws FileNotFoundException
CheckOutCheckInServiceHandler
checkInDocument
in interface CheckOutCheckInServiceHandler
fileName
- site relative url to the filetype
- major or minor checkincomment
- checkIn commentlockAfterSucess
- true if original node must be locked after operationFileNotFoundException
CheckOutCheckInServiceHandler.checkInDocument(String, VersionType, String, boolean)
public org.alfresco.service.cmr.repository.NodeRef checkOutDocument(String fileName, boolean lockAfterSucess) throws FileNotFoundException, AccessDeniedException
CheckOutCheckInServiceHandler
checkOutDocument
in interface CheckOutCheckInServiceHandler
fileName
- site relative url to the filelockAfterSucess
- true if original node must be locked after operationFileNotFoundException
AccessDeniedException
CheckOutCheckInServiceHandler.checkOutDocument(String, boolean)
Copyright © 2005–2017 Alfresco Software. All rights reserved.