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