1 package org.kuali.ole.loaders.describe.service;
2
3
4 import com.sun.jersey.api.core.HttpContext;
5 import org.kuali.ole.describe.bo.OleLocation;
6 import org.kuali.ole.describe.bo.OleLocationLevel;
7 import org.kuali.ole.loaders.common.bo.OLELoaderResponseBo;
8 import org.kuali.ole.loaders.describe.bo.OLELocationBo;
9
10 import java.util.List;
11
12
13
14
15 public interface OLELocationLoaderService {
16
17 public Object importLocations(String bodyContent, HttpContext context);
18
19 public OLELoaderResponseBo updateLocationById(String locationId, String bodyContent, HttpContext context);
20
21 public Object exportLocationById(String locationId);
22
23 public Object exportLocationByCode(String locationCode);
24
25 public List<OleLocation> exportAllLocations(HttpContext context);
26
27 public boolean validateLocationBo(OLELocationBo oleLocationBo);
28
29 public Object exportLocationLevelById(String locationLevelId);
30
31 public Object exportLocationLevelByCode(String locationLevelCode);
32
33 public Object importLocationLevels(String bodyContent, HttpContext context);
34
35 public List<OleLocationLevel> exportAllLocationLevels(HttpContext context);
36
37 public OLELoaderResponseBo updateLocationLevelById(String locationId, String bodyContent, HttpContext context);
38
39
40
41 }