Esempio n. 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();
 }
Esempio n. 2
0
 public HttpResponseMessage CheckOutFile(CheckoutParamsModel objPath)
 {
     _folder.CheckOutFile(objPath);
     return(Request.CreateResponse(HttpStatusCode.OK));
 }