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 public String get(UserGroup userGroup) {
036 return userGroup.getName();
037 }
038 };
039
040 public com.liferay.portal.model.Group getGroup()
041 throws com.liferay.portal.kernel.exception.PortalException,
042 com.liferay.portal.kernel.exception.SystemException;
043
044 public int getPrivateLayoutsPageCount()
045 throws com.liferay.portal.kernel.exception.PortalException,
046 com.liferay.portal.kernel.exception.SystemException;
047
048 public boolean hasPrivateLayouts()
049 throws com.liferay.portal.kernel.exception.PortalException,
050 com.liferay.portal.kernel.exception.SystemException;
051
052 public int getPublicLayoutsPageCount()
053 throws com.liferay.portal.kernel.exception.PortalException,
054 com.liferay.portal.kernel.exception.SystemException;
055
056 public boolean hasPublicLayouts()
057 throws com.liferay.portal.kernel.exception.PortalException,
058 com.liferay.portal.kernel.exception.SystemException;
059 }