Beispiel #1
0
        public void Import()
        {
            // impersonate thread
            if (threadUserId != -1)
            {
                SecurityContext.SetThreadPrincipal(threadUserId);
            }

            // perform import
            ImportController.ImportItemsInternal(taskId, packageId, items);
        }
Beispiel #2
0
 public int ImportItems(bool async, string taskId, int packageId, string[] items)
 {
     return(ImportController.ImportItems(async, taskId, packageId, items));
 }
Beispiel #3
0
 public List <string> GetImportableItems(int packageId, int itemTypeId)
 {
     return(ImportController.GetImportableItems(packageId, itemTypeId));
 }
Beispiel #4
0
 public List <ServiceProviderItemType> GetImportableItemTypes(int packageId)
 {
     return(ImportController.GetImportableItemTypes(packageId));
 }