1 17 package org.alfresco.service.cmr.coci; 18 19 import java.io.Serializable ; 20 import java.util.Map ; 21 22 import org.alfresco.service.cmr.repository.NodeRef; 23 import org.alfresco.service.namespace.QName; 24 25 26 31 public interface CheckOutCheckInService 32 { 33 56 public NodeRef checkout( 57 NodeRef nodeRef, 58 NodeRef destinationParentNodeRef, 59 QName destinationAssocTypeQName, 60 QName destinationAssocQName); 61 62 71 public NodeRef checkout(NodeRef nodeRef); 72 73 103 public NodeRef checkin( 104 NodeRef workingCopyNodeRef, 105 Map <String ,Serializable > versionProperties, 106 String contentUrl, 107 boolean keepCheckedOut); 108 109 123 public NodeRef checkin( 124 NodeRef workingCopyNodeRef, 125 Map <String , Serializable > versionProperties, 126 String contentUrl); 127 128 140 public NodeRef checkin( 141 NodeRef workingCopyNodeRef, 142 Map <String , Serializable > versionProperties); 143 144 157 public NodeRef cancelCheckout(NodeRef workingCopyNodeRef); 158 159 167 public NodeRef getWorkingCopy(NodeRef nodeRef); 168 } 169 | Popular Tags |