001
014
015 package com.liferay.portal.model;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.util.Accessor;
020
021
030 @ProviderType
031 public interface UserGroup extends UserGroupModel, PersistedModel {
032
037 public static final Accessor<UserGroup, String> NAME_ACCESSOR = new Accessor<UserGroup, String>() {
038 @Override
039 public String get(UserGroup userGroup) {
040 return userGroup.getName();
041 }
042 };
043
044 public com.liferay.portal.model.Group getGroup()
045 throws com.liferay.portal.kernel.exception.PortalException,
046 com.liferay.portal.kernel.exception.SystemException;
047
048 public long getGroupId()
049 throws com.liferay.portal.kernel.exception.PortalException,
050 com.liferay.portal.kernel.exception.SystemException;
051
052 public int getPrivateLayoutsPageCount()
053 throws com.liferay.portal.kernel.exception.PortalException,
054 com.liferay.portal.kernel.exception.SystemException;
055
056 public int getPublicLayoutsPageCount()
057 throws com.liferay.portal.kernel.exception.PortalException,
058 com.liferay.portal.kernel.exception.SystemException;
059
060 public boolean hasPrivateLayouts()
061 throws com.liferay.portal.kernel.exception.PortalException,
062 com.liferay.portal.kernel.exception.SystemException;
063
064 public boolean hasPublicLayouts()
065 throws com.liferay.portal.kernel.exception.PortalException,
066 com.liferay.portal.kernel.exception.SystemException;
067 }