View Javadoc

1   /**
2    * Copyright 2011 The Kuali Foundation Licensed under the
3    * Educational Community License, Version 2.0 (the "License"); you may
4    * not use this file except in compliance with the License. You may
5    * obtain a copy of the License at
6    *
7    * http://www.osedu.org/licenses/ECL-2.0
8    *
9    * Unless required by applicable law or agreed to in writing,
10   * software distributed under the License is distributed on an "AS IS"
11   * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12   * or implied. See the License for the specific language governing
13   * permissions and limitations under the License.
14   */
15  package org.kuali.student.r2.core.constants;
16  
17  import org.kuali.student.r2.common.constants.CommonServiceConstants;
18  import org.kuali.student.r2.core.proposal.dto.ProposalInfo;
19  import org.kuali.student.r2.core.proposal.service.ProposalService;
20  
21  /**
22   * This class holds the constants used by the Population service.
23   *
24   * @author tom
25   */
26  public class ProposalServiceConstants {
27  
28      /**
29       * Reference Object URI's
30       */
31      public static final String SERVICE_NAME_LOCAL_PART = ProposalService.class.getSimpleName ();
32      public static final String NAMESPACE = CommonServiceConstants.REF_OBJECT_URI_GLOBAL_PREFIX + "proposal";
33      public static final String REF_OBJECT_URI_PROPOSAL = NAMESPACE + "/" + ProposalInfo.class.getSimpleName();
34  
35      //////////////////////////////////
36      // POPULATION RULE
37      //////////////////////////////////
38  
39      /**
40       * PROPOSAL types
41       */
42      public static final String PROPOSAL_TYPE_COURSE_CREATE_KEY = "kuali.proposal.type.course.create";
43      public static final String PROPOSAL_TYPE_COURSE_MODIFY_KEY = "kuali.proposal.type.course.modify";
44      public static final String PROPOSAL_TYPE_COURSE_RETIRE_KEY = "kuali.proposal.type.course.retire";
45  
46      /**
47       * Proposal Doc relation types
48       */
49      public static final String PROPOSAL_DOC_RELATION_TYPE_CLU_KEY = "kuali.proposal.referenceType.clu";
50  
51  }