added functionality of drive mapping

This commit is contained in:
vfedosevich 2014-06-10 04:00:51 +03:00
parent a07c04a187
commit c2ef09c26e
35 changed files with 3196 additions and 11 deletions

View file

@ -174,5 +174,39 @@ namespace WebsitePanel.EnterpriseServer
}
#endregion
#region Drive Mapping
[WebMethod]
public ResultObject CreateMappedDrive(int packageId, int itemId, string driveLetter, string labelAs, string folderName)
{
return EnterpriseStorageController.CreateMappedDrive(packageId, itemId, driveLetter, labelAs, folderName);
}
[WebMethod]
public ResultObject DeleteMappedDrive(int itemId, string driveLetter)
{
return EnterpriseStorageController.DeleteMappedDrive(itemId, driveLetter);
}
[WebMethod]
public MappedDrivesPaged GetDriveMapsPaged(int itemId, string filterValue, string sortColumn, int startRow, int maximumRows)
{
return EnterpriseStorageController.GetDriveMapsPaged(itemId, filterValue, sortColumn, startRow, maximumRows);
}
[WebMethod]
public string[] GetUsedDriveLetters(int itemId)
{
return EnterpriseStorageController.GetUsedDriveLetters(itemId);
}
[WebMethod]
public SystemFile[] GetNotMappedEnterpriseFolders(int itemId)
{
return EnterpriseStorageController.GetNotMappedEnterpriseFolders(itemId);
}
#endregion
}
}