Coverage Report - org.kuali.student.core.organization.ui.client.service.OrgRpcServiceAsync
 
Classes in this File Line Coverage Branch Coverage Complexity
OrgRpcServiceAsync
N/A
N/A
1
 
 1  
 /**
 2  
  * Copyright 2010 The Kuali Foundation Licensed under the
 3  
  * Educational Community License, Version 2.0 (the "License"); you may
 4  
  * not use this file except in compliance with the License. You may
 5  
  * obtain a copy of the License at
 6  
  *
 7  
  * http://www.osedu.org/licenses/ECL-2.0
 8  
  *
 9  
  * Unless required by applicable law or agreed to in writing,
 10  
  * software distributed under the License is distributed on an "AS IS"
 11  
  * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 12  
  * or implied. See the License for the specific language governing
 13  
  * permissions and limitations under the License.
 14  
  */
 15  
 
 16  
 package org.kuali.student.core.organization.ui.client.service;
 17  
 
 18  
 import java.util.List;
 19  
 import java.util.Map;
 20  
 
 21  
 import org.kuali.student.common.assembly.data.Data;
 22  
 import org.kuali.student.common.dto.StatusInfo;
 23  
 import org.kuali.student.common.ui.client.service.BaseDataOrchestrationRpcServiceAsync;
 24  
 import org.kuali.student.common.ui.client.service.DataSaveResult;
 25  
 import org.kuali.student.core.organization.dto.OrgHierarchyInfo;
 26  
 import org.kuali.student.core.organization.dto.OrgInfo;
 27  
 import org.kuali.student.core.organization.dto.OrgOrgRelationInfo;
 28  
 import org.kuali.student.core.organization.dto.OrgOrgRelationTypeInfo;
 29  
 import org.kuali.student.core.organization.dto.OrgPersonRelationInfo;
 30  
 import org.kuali.student.core.organization.dto.OrgPersonRelationTypeInfo;
 31  
 import org.kuali.student.core.organization.dto.OrgPositionRestrictionInfo;
 32  
 import org.kuali.student.core.organization.dto.OrgTreeInfo;
 33  
 import org.kuali.student.core.organization.dto.OrgTypeInfo;
 34  
 import org.kuali.student.core.organization.ui.client.mvc.model.MembershipInfo;
 35  
 import org.kuali.student.core.organization.ui.client.mvc.model.OrgPositionPersonRelationInfo;
 36  
 import org.kuali.student.core.organization.ui.client.mvc.model.SectionConfigInfo;
 37  
 
 38  
 import com.google.gwt.user.client.rpc.AsyncCallback;
 39  
 
 40  
 public interface OrgRpcServiceAsync extends BaseDataOrchestrationRpcServiceAsync {
 41  
     public void createOrganization(OrgInfo orgInfo, AsyncCallback<OrgInfo> callback);
 42  
     public void createOrgOrgRelation(OrgOrgRelationInfo orgOrgRelationInfo, AsyncCallback<OrgOrgRelationInfo> callback);
 43  
 
 44  
     public void getOrgHierarchies(AsyncCallback<List<OrgHierarchyInfo>> callback);
 45  
     public void getOrganization(String orgId, AsyncCallback<OrgInfo> callback);
 46  
     public void getOrganizationsByIdList(List<String> orgIdList, AsyncCallback<List<OrgInfo> > callback);
 47  
     public void getOrgOrgRelationsByOrg(String orgId, AsyncCallback<List<OrgOrgRelationInfo>> callback);
 48  
     public void getOrgOrgRelationsByRelatedOrg(String orgId,AsyncCallback<List<OrgOrgRelationInfo>> callback);
 49  
     public void getAllDescendants(String orgId, String orgHierarchy, AsyncCallback<List<String>> callback);
 50  
     public void getOrgOrgRelationTypes(AsyncCallback<List<OrgOrgRelationTypeInfo>> callback);
 51  
     public void getOrgOrgRelationType(String orgOrgRelationTypeKey,AsyncCallback<OrgOrgRelationTypeInfo> callback);
 52  
     public void getOrgPersonRelationTypes(AsyncCallback<List<OrgPersonRelationTypeInfo>> callback);
 53  
     public void getOrgTypes(AsyncCallback<List<OrgTypeInfo>> callback);
 54  
     public void getOrgDisplayTree(String orgId, String orgHierarchy, int maxLevels, AsyncCallback<List<OrgTreeInfo>> callback);
 55  
 
 56  
     public void getPositionRestrictionsByOrg(String orgId, AsyncCallback<List<OrgPositionRestrictionInfo>> callback);
 57  
 
 58  
     public void addPositionRestrictionToOrg(OrgPositionRestrictionInfo orgPositionRestrictionInfo, AsyncCallback<OrgPositionRestrictionInfo> callback);
 59  
 
 60  
     public void updateOrganization(OrgInfo orgInfo, AsyncCallback<OrgInfo> callback);
 61  
     public void updatePositionRestrictionForOrg(OrgPositionRestrictionInfo orgPositionRestrictionInfo, AsyncCallback<OrgPositionRestrictionInfo> callback);
 62  
     public void updateOrgOrgRelation(OrgOrgRelationInfo orgOrgRelationInfo, AsyncCallback<OrgOrgRelationInfo> callback);
 63  
 
 64  
     public void createOrgPersonRelation(String orgId, String personId, String orgPersonRelationTypeKey, OrgPersonRelationInfo orgPersonRelationInfo, AsyncCallback<OrgPersonRelationInfo> callback);
 65  
     public void updateOrgPersonRelation(String orgPersonRelationId, OrgPersonRelationInfo orgPersonRelationInfo, AsyncCallback<OrgPersonRelationInfo> callback);
 66  
     public void removeOrgPersonRelation(String orgPersonRelationId, AsyncCallback<StatusInfo> callback);
 67  
     public void getOrgPersonRelationTypesForOrgType(String orgTypeKey, AsyncCallback<List<OrgPersonRelationTypeInfo>> callback);
 68  
     public void getOrgPersonRelationsByOrg(String orgId, AsyncCallback<List<OrgPersonRelationInfo>> callback);
 69  
     public void removeOrgOrgRelation(String orgOrgRelationId, AsyncCallback<StatusInfo> callback);
 70  
         public void removePositionRestrictionFromOrg(String orgId, String orgPersonRelationTypeKey, AsyncCallback<StatusInfo> callback);
 71  
         public void saveOrgProposal(Data proposal, AsyncCallback<DataSaveResult> callback);
 72  
         public void getSectionConfig(AsyncCallback<SectionConfigInfo> callback);
 73  
         public void fetchOrg(String orgId,AsyncCallback<Data> callback);
 74  
         public void getOrgPositionPersonRelation(String orgId, AsyncCallback<List<OrgPositionPersonRelationInfo>> callback);
 75  
         public void getNamesForPersonIds(List<String> personIds, AsyncCallback<Map<String, MembershipInfo>> callback);
 76  
 }