blob: e740ac0d097d377d941566f0ac5f94c4fd57392a [file] [log] [blame]
/**
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache 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.apache.org/licenses/LICENSE-2.0
*
* 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.apache.airavata.allocation.manager.db.utils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class DBConstants {
private final static Logger logger = LoggerFactory.getLogger(DBConstants.class);
public static int SELECT_MAX_ROWS = 1000;
public static class DomainTable {
public static final String DOMAIN_ID = "domainId";
public static final String NAME = "name";
public static final String DESCRIPTION = "description";
public static final String CREATED_TIME = "createdTime";
public static final String UPDATED_TIME = "updatedTime";
}
// Added the ProjectReviewer table fields
public static class ProjectReviewerTable{
public static final String PROJECTID = "PROJECT_ID";
public static final String REVIEWER = "REVIEWER";
}
public static class UserAllocationDetailTable{
public static final String PROJECTID = "PROJECT_ID";
public static final String ISPRIMARYOWNER = "IS_PRIMARY_OWNER";
}
public static class UserDetailTable{
public static final String USERTYPE = "USER_TYPE";
}
}