Example usage for com.liferay.portal.kernel.model GroupConstants TYPE_SITE_PRIVATE_LABEL

List of usage examples for com.liferay.portal.kernel.model GroupConstants TYPE_SITE_PRIVATE_LABEL

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.model GroupConstants TYPE_SITE_PRIVATE_LABEL.

Prototype

String TYPE_SITE_PRIVATE_LABEL

To view the source code for com.liferay.portal.kernel.model GroupConstants TYPE_SITE_PRIVATE_LABEL.

Click Source Link

Usage

From source file:com.liferay.tool.datamanipulator.handler.portal.SiteHandler.java

License:Open Source License

private List<KeyValuePair> _getSiteTypes() throws SystemException {
    List<KeyValuePair> siteTypes = new ArrayList<KeyValuePair>();

    siteTypes.add(new KeyValuePair(GroupConstants.TYPE_SITE_OPEN_LABEL,
            String.valueOf(GroupConstants.TYPE_SITE_OPEN)));

    siteTypes.add(new KeyValuePair(GroupConstants.TYPE_SITE_PRIVATE_LABEL,
            String.valueOf(GroupConstants.TYPE_SITE_PRIVATE)));

    siteTypes.add(new KeyValuePair(GroupConstants.TYPE_SITE_RESTRICTED_LABEL,
            String.valueOf(GroupConstants.TYPE_SITE_RESTRICTED)));

    return siteTypes;
}