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,
org.alfresco.service.cmr.version.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(org.alfresco.service.cmr.security.AuthenticationService authenticationService) |
void |
setCheckOutCheckInService(org.alfresco.service.cmr.coci.CheckOutCheckInService checkOutCheckInService) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
void |
setPathHelper(VtiPathHelper pathHelper) |
void |
setTransactionService(org.alfresco.service.transaction.TransactionService transactionService) |
void |
setVersionService(org.alfresco.service.cmr.version.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(org.alfresco.service.cmr.coci.CheckOutCheckInService checkOutCheckInService)
public void setWebDAVLockService(WebDAVLockService webDAVlockService)
public void setTransactionService(org.alfresco.service.transaction.TransactionService transactionService)
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
public void setVersionService(org.alfresco.service.cmr.version.VersionService versionService)
public void setAuthenticationService(org.alfresco.service.cmr.security.AuthenticationService authenticationService)
public org.alfresco.service.cmr.repository.NodeRef undoCheckOutDocument(String fileName, boolean lockAfterSucess) throws org.alfresco.service.cmr.model.FileNotFoundException
CheckOutCheckInServiceHandlerundoCheckOutDocument in interface CheckOutCheckInServiceHandlerfileName - site relative url to the filelockAfterSucess - true if original node must be locked after operationorg.alfresco.service.cmr.model.FileNotFoundExceptionorg.alfresco.module.vti.handler.CheckOutCheckInServiceHandler#undoCheckOutDocument(java.lang.String)public org.alfresco.service.cmr.repository.NodeRef checkInDocument(String fileName, org.alfresco.service.cmr.version.VersionType type, String comment, boolean lockAfterSucess) throws org.alfresco.service.cmr.model.FileNotFoundException
CheckOutCheckInServiceHandlercheckInDocument in interface CheckOutCheckInServiceHandlerfileName - site relative url to the filetype - major or minor checkincomment - checkIn commentlockAfterSucess - true if original node must be locked after operationorg.alfresco.service.cmr.model.FileNotFoundExceptionorg.alfresco.module.vti.handler.CheckOutCheckInServiceHandler#checkInDocument(java.lang.String, java.lang.String)public org.alfresco.service.cmr.repository.NodeRef checkOutDocument(String fileName, boolean lockAfterSucess) throws org.alfresco.service.cmr.model.FileNotFoundException, org.alfresco.repo.security.permissions.AccessDeniedException
CheckOutCheckInServiceHandlercheckOutDocument in interface CheckOutCheckInServiceHandlerfileName - site relative url to the filelockAfterSucess - true if original node must be locked after operationorg.alfresco.service.cmr.model.FileNotFoundExceptionorg.alfresco.repo.security.permissions.AccessDeniedExceptionorg.alfresco.module.vti.handler.CheckOutCheckInServiceHandler#checkOutDocument(java.lang.String)Copyright © 2005–2014 Alfresco Software. All rights reserved.