Coverage Report - org.kuali.rice.kim.bo.role.KimPermission
 
Classes in this File Line Coverage Branch Coverage Complexity
KimPermission
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.bo.role;
 17  
 
 18  
 import org.kuali.rice.core.util.AttributeSet;
 19  
 import org.kuali.rice.kns.bo.Inactivateable;
 20  
 
 21  
 
 22  
 /**
 23  
  * Represents a single permissions within the system.
 24  
  * 
 25  
  * Permissions are attached to roles.  All authorization checks should be done against permissions,
 26  
  * never against roles or groups.
 27  
  * 
 28  
  * @author Kuali Rice Team (rice.collab@kuali.org)
 29  
  *
 30  
  */
 31  
 public interface KimPermission extends Inactivateable {
 32  
 
 33  
         String getPermissionId();
 34  
         
 35  
         /** List of details for this role/permission relationship.  See the class comment for more information. */
 36  
         AttributeSet getDetails();
 37  
         
 38  
         public boolean hasDetails();
 39  
         
 40  
         String getNamespaceCode();
 41  
         String getName();
 42  
         String getTemplateId();
 43  
         
 44  
         /** Verbose description of the Permission and functionally what permissions it implies. */
 45  
         String getDescription();
 46  
         
 47  
 }