View Javadoc

1   package org.kuali.rice.kim.bo.role.dto;
2   
3   import javax.xml.bind.annotation.XmlRegistry;
4   
5   /**
6    * NOTE: This class only exists as workaround to calling PermissionService see rice bug https://jira.kuali.org/browse/KULRICE-5957.
7    * 
8    * This class should be removed once the bug is fixed.
9    * 
10   * @author Kuali Student Team
11   *
12   */
13  @XmlRegistry
14  public class ObjectFactory {
15  
16      public ObjectFactory() {
17      }
18  
19      public KimPermissionInfo createKimPermissionInfo() {
20          return new KimPermissionInfo();
21      }
22  
23      public KimPermissionTemplateInfo createKimPermissionTemplateInfo() {
24          return new KimPermissionTemplateInfo();
25      }
26  }