Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright 2005-2012 The Kuali Foundation

    Licensed under the Educational Community License, Version 2.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/ecl2.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.

-->
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xsi:schemaLocation="http://www.springframework.org/schema/beans         http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">

  <bean id="CampusTypeMaintenanceDocument" parent="CampusTypeMaintenanceDocument-parentBean"/>

  <bean id="CampusTypeMaintenanceDocument-parentBean" abstract="true" parent="MaintenanceDocumentEntry">
    <property name="dataObjectClass" value="org.kuali.rice.location.impl.campus.CampusTypeBo"/>
    <property name="maintainableClass" value="org.kuali.rice.location.web.campus.CampusTypeMaintainableImpl"/>
    <property name="maintainableSections">
      <list>
        <ref bean="CampusTypeMaintenanceDocument-EditCampusType"/>
      </list>
    </property>
    <property name="lockingKeys">
      <list>
        <value>code</value>
      </list>
    </property>



    <property name="documentTypeName" value="CampusTypeMaintenanceDocument"/>
    <property name="documentAuthorizerClass" value="org.kuali.rice.kns.document.authorization.MaintenanceDocumentAuthorizerBase"/>

   </bean>

<!-- Maintenance Section Definitions -->


  <bean id="CampusTypeMaintenanceDocument-EditCampusType" parent="CampusTypeMaintenanceDocument-EditCampusType-parentBean"/>

  <bean id="CampusTypeMaintenanceDocument-EditCampusType-parentBean" abstract="true" parent="MaintainableSectionDefinition">
    <property name="maintainableItems">
      <list>
        <bean parent="MaintainableFieldDefinition" p:required="true" p:name="code"/>
        <bean parent="MaintainableFieldDefinition" p:required="true" p:name="name"/>
        <!-- <bean parent="MaintainableFieldDefinition" p:name="dataObjectMaintenanceCodeActiveIndicator"/>-->
        <bean parent="MaintainableFieldDefinition" p:name="versionNumber"/>
      </list>
    </property>
    <property name="id" value="Edit Campus Type"/>
    <property name="title" value="Edit Campus Type"/>
  </bean>
</beans>
New to GrepCode? Check out our FAQ X