Coverage Report - org.kuali.rice.kim.service.UiDocumentService
 
Classes in this File Line Coverage Branch Coverage Complexity
UiDocumentService
N/A
N/A
1
 
 1  
 /**
 2  
  * Copyright 2005-2011 The Kuali Foundation
 3  
  *
 4  
  * Licensed under the Educational Community License, Version 2.0 (the "License");
 5  
  * you may not use this file except in compliance with the License.
 6  
  * You may obtain a copy of the License at
 7  
  *
 8  
  * http://www.opensource.org/licenses/ecl2.php
 9  
  *
 10  
  * Unless required by applicable law or agreed to in writing, software
 11  
  * distributed under the License is distributed on an "AS IS" BASIS,
 12  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 13  
  * See the License for the specific language governing permissions and
 14  
  * limitations under the License.
 15  
  */
 16  
 package org.kuali.rice.kim.service;
 17  
 
 18  
 import org.kuali.rice.core.api.membership.MemberType;
 19  
 import org.kuali.rice.kim.api.group.Group;
 20  
 import org.kuali.rice.kim.api.identity.employment.EntityEmployment;
 21  
 import org.kuali.rice.kim.api.role.Role;
 22  
 import org.kuali.rice.kim.api.type.KimAttributeField;
 23  
 import org.kuali.rice.kim.bo.ui.KimDocumentRoleMember;
 24  
 import org.kuali.rice.kim.document.IdentityManagementGroupDocument;
 25  
 import org.kuali.rice.kim.document.IdentityManagementPersonDocument;
 26  
 import org.kuali.rice.kim.document.IdentityManagementRoleDocument;
 27  
 import org.kuali.rice.kim.impl.common.delegate.DelegateTypeBo;
 28  
 import org.kuali.rice.kim.impl.role.RoleMemberBo;
 29  
 import org.kuali.rice.kim.impl.role.RoleResponsibilityActionBo;
 30  
 import org.kuali.rice.krad.bo.BusinessObject;
 31  
 
 32  
 import java.util.List;
 33  
 import java.util.Map;
 34  
 
 35  
 /**
 36  
  * This is a description of what this class does - shyu don't forget to fill this in. 
 37  
  * 
 38  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 39  
  *
 40  
  */
 41  
 public interface UiDocumentService {
 42  
         /**
 43  
          * 
 44  
          * This method to populate Entity tables from person document pending tables when it is approved.
 45  
          *           
 46  
          * @param identityManagementPersonDocument
 47  
          */
 48  
     void saveEntityPerson(IdentityManagementPersonDocument identityManagementPersonDocument);
 49  
     
 50  
     /**
 51  
      * 
 52  
      * This method is to set up the DD attribute entry map for role qualifiers, so it can be rendered.
 53  
      * 
 54  
      * @param definitions
 55  
      */
 56  
     Map<String,Object> getAttributeEntries( List<KimAttributeField> definitions );
 57  
         /**
 58  
          * 
 59  
          * This method is to load identity to person document pending Bos when user 'initiate' a document for 'editing' identity.
 60  
          * 
 61  
          * @param identityManagementPersonDocument
 62  
          * @param principalId
 63  
          */
 64  
         void loadEntityToPersonDoc(IdentityManagementPersonDocument identityManagementPersonDocument, String principalId);
 65  
 
 66  
         /**
 67  
          * 
 68  
          * This method loads a role document
 69  
          * 
 70  
          * @param identityManagementRoleDocument
 71  
          */
 72  
         public void loadRoleDoc(IdentityManagementRoleDocument identityManagementRoleDocument, Role kimRole);
 73  
         
 74  
         /**
 75  
          * 
 76  
          * This method ...
 77  
          * 
 78  
          * @param identityManagementRoleDocument
 79  
          */
 80  
         public void saveRole(IdentityManagementRoleDocument identityManagementRoleDocument);
 81  
 
 82  
 
 83  
         /**
 84  
          * 
 85  
          * This method loads a role document
 86  
          * 
 87  
          * @param identityManagementGroupDocument
 88  
          */
 89  
         public void loadGroupDoc(IdentityManagementGroupDocument identityManagementGroupDocument, Group kimGroup);
 90  
         
 91  
         /**
 92  
          * 
 93  
          * This method ...
 94  
          * 
 95  
          * @param identityManagementGroupDocument
 96  
          */
 97  
         public void saveGroup(IdentityManagementGroupDocument identityManagementGroupDocument);
 98  
 
 99  
         public BusinessObject getMember(MemberType memberType, String memberId);
 100  
         
 101  
         public String getMemberName(MemberType memberType, String memberId);
 102  
         
 103  
         public String getMemberNamespaceCode(MemberType memberType, String memberId);
 104  
 
 105  
         public String getMemberName(MemberType memberType, BusinessObject member);
 106  
         
 107  
         public String getMemberNamespaceCode(MemberType memberType, BusinessObject member);
 108  
 
 109  
         public List<RoleResponsibilityActionBo> getRoleMemberResponsibilityActionImpls(String roleMemberId);
 110  
         
 111  
         public List<DelegateTypeBo> getRoleDelegations(String roleId);
 112  
         
 113  
         public KimDocumentRoleMember getKimDocumentRoleMember(MemberType memberType, String memberId, String roleId);
 114  
         
 115  
         public String getMemberIdByName(MemberType memberType, String memberNamespaceCode, String memberName);
 116  
 
 117  
         public void setDelegationMembersInDocument(IdentityManagementRoleDocument identityManagementRoleDocument);
 118  
         
 119  
         public RoleMemberBo getRoleMember(String roleMemberId);
 120  
         
 121  
         public List<KimDocumentRoleMember> getRoleMembers(Map<String,String> fieldValues);
 122  
         
 123  
         public boolean canModifyEntity( String currentUserPrincipalId, String toModifyPrincipalId );
 124  
         public boolean canOverrideEntityPrivacyPreferences( String currentUserPrincipalId, String toModifyPrincipalId );
 125  
 
 126  
         public List<EntityEmployment> getEntityEmploymentInformationInfo(String entityId);
 127  
 }