Exemple #1
0
 public void CheckOutFile(CheckoutParamsModel objParams)
 {
     this.session = this.GetSession();
     Document  doc      = (Document)this.session.GetObjectByPath("/sites/" + AppConfigKeys.Site + "/documentLibrary/" + objParams.path);
     String    fileName = doc.ContentStreamFileName;
     IObjectId pwcId    = doc.CheckOut();
 }
 public HttpResponseMessage CheckOutFile(CheckoutParamsModel objPath)
 {
     _folder.CheckOutFile(objPath);
     return(Request.CreateResponse(HttpStatusCode.OK));
 }