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