| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| KimDelegationTypeService |
|
| 1.0;1 |
| 1 | /* | |
| 2 | * Copyright 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.support; | |
| 17 | ||
| 18 | import java.util.List; | |
| 19 | ||
| 20 | import org.kuali.rice.kim.bo.role.dto.DelegateInfo; | |
| 21 | import org.kuali.rice.kim.bo.types.dto.AttributeSet; | |
| 22 | ||
| 23 | /** | |
| 24 | * This is a description of what this class does - kellerj don't forget to fill this in. | |
| 25 | * | |
| 26 | * @author Kuali Rice Team (rice.collab@kuali.org) | |
| 27 | * | |
| 28 | */ | |
| 29 | public interface KimDelegationTypeService extends KimTypeService { | |
| 30 | ||
| 31 | /** Return whether a role assignment with the given qualifier is applicable for the given qualification. | |
| 32 | * | |
| 33 | * For example, the qualifier for a role could be as follows: | |
| 34 | * chartOfAccountsCode = BL | |
| 35 | * organizationCode = ARSC | |
| 36 | * descendsHierarchy = true | |
| 37 | * | |
| 38 | * The qualification could be: | |
| 39 | * chartOfAccountsCode = BL | |
| 40 | * organizationCode = PSY (reports to BL-ARSC) | |
| 41 | * | |
| 42 | * This method would return true for this set of arguments. This would require a query of | |
| 43 | * the KFS organization hierarchy, so an implementation of this sort must be done by | |
| 44 | * a service which lives within KFS and will be called remotely by KIM. | |
| 45 | * | |
| 46 | * The contents of the passed in attribute sets should not be modified as they may be used in future calls by | |
| 47 | * the role service. | |
| 48 | */ | |
| 49 | boolean doesDelegationQualifierMatchQualification( AttributeSet qualification, AttributeSet delegationQualifier ); | |
| 50 | ||
| 51 | } |