/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package com.liferay.social.kernel.model;
import com.liferay.social.kernel.util.SocialRelationTypesUtil;
/**
* @author Brian Wing Shun Chan
* @author Raymond Augé
*/
public class SocialRelationConstants {
public static final int TYPE_BI_CONNECTION = 12;
public static final int TYPE_BI_COWORKER = 1;
public static final int TYPE_BI_FRIEND = 2;
public static final int TYPE_BI_ROMANTIC_PARTNER = 3;
public static final int TYPE_BI_SIBLING = 4;
public static final int TYPE_BI_SPOUSE = 5;
public static final int TYPE_UNI_CHILD = 6;
public static final int TYPE_UNI_ENEMY = 9;
public static final int TYPE_UNI_FOLLOWER = 8;
public static final int TYPE_UNI_PARENT = 7;
public static final int TYPE_UNI_SUBORDINATE = 10;
public static final int TYPE_UNI_SUPERVISOR = 11;
/**
* @deprecated As of 7.0.0, replaced by {@link
* SocialRelationTypesUtil#getTypeLabel(int)}
*/
@Deprecated
public static String getTypeLabel(int type) {
return SocialRelationTypesUtil.getTypeLabel(type);
}
/**
* @deprecated As of 7.0.0, replaced by {@link
* SocialRelationTypesUtil#isTypeBi(int)}
*/
@Deprecated
public static boolean isTypeBi(int type) {
return SocialRelationTypesUtil.isTypeBi(type);
}
/**
* @deprecated As of 7.0.0, replaced by {@link
* SocialRelationTypesUtil#isTypeUni(int)}
*/
@Deprecated
public static boolean isTypeUni(int type) {
return SocialRelationTypesUtil.isTypeUni(type);
}
}