/*
 * Copyright 2011 The Kuali Foundation
 *
 * Licensed under the Educational Community License, Version 1.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.opensource.org/licenses/ecl1.php
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.kuali.rice.kim.api.responsibility;

import org.kuali.rice.core.api.mo.common.Attributes;
import org.kuali.rice.core.api.mo.common.GloballyUnique;
import org.kuali.rice.core.api.mo.common.Identifiable;
import org.kuali.rice.core.api.mo.common.Versioned;
import org.kuali.rice.core.api.mo.common.active.Inactivatable;
import org.kuali.rice.kim.api.common.template.TemplateContract;

/**
 * This is the contract for a Permission. Represents a single permission within the system.
 * 
 * Permissions are attached to roles. All authorization checks should be done against permissions,
 * never against roles or groups.
 *  
 */
public interface ResponsibilityContract extends Versioned, GloballyUnique, Inactivatable, Identifiable{;
    
    /**
     * The namespace code that this Permission belongs too.
     *
     * @return namespaceCode
     */
    String getNamespaceCode();
    
    /**
     * The name of the Permission.
     *
     * @return name
     */
    String getName();
    
    /**
     * The description of the Permission.
     *
     * @return description
     */
	String getDescription();

    /**
     * The Template referenced by the Permission.
     * 
     * @return templateId
     */
	TemplateContract getTemplate();
	
   /** 
	 * Attributes for a Permission.
	 * 
	 * @return attributes
	 */
    Attributes getAttributes();
}

@@ -567,26 +567,30 @@
 verning 
-permission
+Responsibility
 s and%0D%0A 
@@ -1065,26 +1065,30 @@
 t for a 
-Permission
+Responsibility
 . Repres
@@ -1101,26 +1101,30 @@
  single 
-permission
+Responsibility
  within 
@@ -1144,26 +1144,31 @@
  * %0D%0A * 
-Permission
+Responsibilitie
 s are at
@@ -1236,18 +1236,23 @@
 nst 
-permission
+Responsibilitie
 s,%0D%0A
@@ -1454,26 +1454,30 @@
 at this 
-Permission
+Responsibility
  belongs
@@ -1596,34 +1596,38 @@
 name of the 
-Permission
+Responsibility
 .%0D%0A     *%0D%0A 
@@ -1719,34 +1719,38 @@
 tion of the 
-Permission
+Responsibility
 .%0D%0A     *%0D%0A 
@@ -1861,26 +1861,30 @@
  by the 
-Permission
+Responsibility
 .%0D%0A     
@@ -1994,18 +1994,22 @@
 r a 
-Permission
+Responsibility
 .%0D%0A%09

update javadoc