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 2007-2008 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 java.util.List;
 19  
 import java.util.Map;
 20  
 
 21  
 import org.kuali.rice.kim.api.group.Group;
 22  
 import org.kuali.rice.kim.api.role.Role;
 23  
 import org.kuali.rice.kim.api.identity.employment.EntityEmployment;
 24  
 import org.kuali.rice.kim.bo.types.dto.AttributeDefinitionMap;
 25  
 import org.kuali.rice.kim.bo.ui.KimDocumentRoleMember;
 26  
 import org.kuali.rice.kim.document.IdentityManagementGroupDocument;
 27  
 import org.kuali.rice.kim.document.IdentityManagementPersonDocument;
 28  
 import org.kuali.rice.kim.document.IdentityManagementRoleDocument;
 29  
 import org.kuali.rice.kim.impl.common.delegate.DelegateBo;
 30  
 import org.kuali.rice.kim.impl.role.RoleMemberBo;
 31  
 import org.kuali.rice.kim.impl.role.RoleResponsibilityActionBo;
 32  
 import org.kuali.rice.krad.bo.BusinessObject;
 33  
 
 34  
 /**
 35  
  * This is a description of what this class does - shyu don't forget to fill this in. 
 36  
  * 
 37  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 38  
  *
 39  
  */
 40  
 public interface UiDocumentService {
 41  
         /**
 42  
          * 
 43  
          * This method to populate Entity tables from person document pending tables when it is approved.
 44  
          *           
 45  
          * @param identityManagementPersonDocument
 46  
          */
 47  
     void saveEntityPerson(IdentityManagementPersonDocument identityManagementPersonDocument);
 48  
     
 49  
     /**
 50  
      * 
 51  
      * This method is to set up the DD attribute entry map for role qualifiers, so it can be rendered.
 52  
      * 
 53  
      * @param personDocRole
 54  
      */
 55  
     Map<String,Object> getAttributeEntries( AttributeDefinitionMap definitions );
 56  
         /**
 57  
          * 
 58  
          * This method is to load identity to person document pending Bos when user 'initiate' a document for 'editing' identity.
 59  
          * 
 60  
          * @param identityManagementPersonDocument
 61  
          * @param kimEntity
 62  
          */
 63  
         void loadEntityToPersonDoc(IdentityManagementPersonDocument identityManagementPersonDocument, String principalId);
 64  
 
 65  
         /**
 66  
          * 
 67  
          * This method loads a role document
 68  
          * 
 69  
          * @param identityManagementRoleDocument
 70  
          */
 71  
         public void loadRoleDoc(IdentityManagementRoleDocument identityManagementRoleDocument, Role kimRole);
 72  
         
 73  
         /**
 74  
          * 
 75  
          * This method ...
 76  
          * 
 77  
          * @param identityManagementRoleDocument
 78  
          */
 79  
         public void saveRole(IdentityManagementRoleDocument identityManagementRoleDocument);
 80  
 
 81  
 
 82  
         /**
 83  
          * 
 84  
          * This method loads a role document
 85  
          * 
 86  
          * @param identityManagementRoleDocument
 87  
          */
 88  
         public void loadGroupDoc(IdentityManagementGroupDocument identityManagementGroupDocument, Group kimGroup);
 89  
         
 90  
         /**
 91  
          * 
 92  
          * This method ...
 93  
          * 
 94  
          * @param identityManagementRoleDocument
 95  
          */
 96  
         public void saveGroup(IdentityManagementGroupDocument identityManagementGroupDocument);
 97  
 
 98  
         public BusinessObject getMember(String memberTypeCode, String memberId);
 99  
         
 100  
         public String getMemberName(String memberTypeCode, String memberId);
 101  
         
 102  
         public String getMemberNamespaceCode(String memberTypeCode, String memberId);
 103  
 
 104  
         public String getMemberName(String memberTypeCode, BusinessObject member);
 105  
         
 106  
         public String getMemberNamespaceCode(String memberTypeCode, BusinessObject member);
 107  
 
 108  
         public List<RoleResponsibilityActionBo> getRoleMemberResponsibilityActionImpls(String roleMemberId);
 109  
         
 110  
         public List<DelegateBo> getRoleDelegations(String roleId);
 111  
         
 112  
         public KimDocumentRoleMember getKimDocumentRoleMember(String memberTypeCode, String memberId, String roleId);
 113  
         
 114  
         public String getMemberIdByName(String memberTypeCode, String memberNamespaceCode, String memberName);
 115  
 
 116  
         public void setDelegationMembersInDocument(IdentityManagementRoleDocument identityManagementRoleDocument);
 117  
         
 118  
         public RoleMemberBo getRoleMember(String roleMemberId);
 119  
         
 120  
         public List<KimDocumentRoleMember> getRoleMembers(Map<String,String> fieldValues);
 121  
         
 122  
         public boolean canModifyEntity( String currentUserPrincipalId, String toModifyPrincipalId );
 123  
         public boolean canOverrideEntityPrivacyPreferences( String currentUserPrincipalId, String toModifyPrincipalId );
 124  
 
 125  
         public List<EntityEmployment> getEntityEmploymentInformationInfo(String entityId);
 126  
 }