View Javadoc

1   /**
2    * Copyright 2011 The Kuali Foundation 
3    *
4    * Licensed under the * Educational Community License, Version 2.0
5    * (the "License"); you may * not use this file except in compliance
6    * with the License. You may * obtain a copy of the License at
7    *
8    * http://www.osedu.org/licenses/ECL-2.0
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
13   * implied. See the License for the specific language governing
14   * permissions and limitations under the License.
15   */
16  
17  package org.kuali.student.r2.core.constants;
18  
19  import org.kuali.student.r2.common.constants.CommonServiceConstants;
20  import org.kuali.student.r2.core.organization.dto.OrgInfo;
21  import org.kuali.student.r2.core.organization.dto.OrgCodeInfo;
22  import org.kuali.student.r2.core.organization.dto.OrgHierarchyInfo;
23  import org.kuali.student.r2.core.organization.dto.OrgOrgRelationInfo;
24  import org.kuali.student.r2.core.organization.dto.OrgPersonRelationInfo;
25  import org.kuali.student.r2.core.organization.dto.OrgPositionRestrictionInfo;
26  
27  
28  /**
29   * This class holds the constants used by the organization service
30   *
31   * @author tom
32   */
33  public class OrganizationServiceConstants {
34  
35      /**
36       * Reference Object URIs
37       */
38      public static final String NAMESPACE = CommonServiceConstants.REF_OBJECT_URI_GLOBAL_PREFIX + "organization";
39      public static final String REF_OBJECT_URI_DEFAULT = NAMESPACE + "COMMON/DEFAULT";
40      public static final String REF_OBJECT_URI_ORG = NAMESPACE + "/" + OrgInfo.class.getSimpleName();
41      public static final String REF_OBJECT_URI_ORG_CODE = NAMESPACE + "/" + OrgCodeInfo.class.getSimpleName();
42      public static final String REF_OBJECT_URI_ORG_HIERARCHY = NAMESPACE + "/" + OrgHierarchyInfo.class.getSimpleName();
43      public static final String REF_OBJECT_URI_ORG_ORG_RELATION = NAMESPACE + "/" + OrgOrgRelationInfo.class.getSimpleName();
44      public static final String REF_OBJECT_URI_ORG_PERSON_RELATION = NAMESPACE + "/" + OrgPersonRelationInfo.class.getSimpleName();
45      public static final String REF_OBJECT_URI_ORG_POSITION_RESTRICTION = NAMESPACE + "/" + OrgPositionRestrictionInfo.class.getSimpleName();
46      public static final String SERVICE_NAME_LOCAL_PART = "OrganizationService";
47  }