com.liferay.portal.model.impl
Class GroupImpl

java.lang.Object
  extended bycom.liferay.portal.model.impl.BaseModelImpl
      extended bycom.liferay.portal.model.impl.GroupModelImpl
          extended bycom.liferay.portal.model.impl.GroupImpl
All Implemented Interfaces:
com.liferay.portal.model.BaseModel, java.lang.Cloneable, java.lang.Comparable, com.liferay.portal.model.Group, com.liferay.portal.model.GroupModel, java.io.Serializable

public class GroupImpl
extends GroupModelImpl
implements com.liferay.portal.model.Group

View Source

Author:
Brian Wing Shun Chan
See Also:
Serialized Form

Field Summary
static long DEFAULT_LIVE_GROUP_ID
           
static long DEFAULT_PARENT_GROUP_ID
           
static java.lang.String GUEST
           
static java.lang.String[] SYSTEM_GROUPS
           
static java.lang.String TYPE_COMMUNITY_CLOSED
           
static java.lang.String TYPE_COMMUNITY_OPEN
           
 
Fields inherited from class com.liferay.portal.model.impl.GroupModelImpl
LOCK_EXPIRATION_TIME, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, XSS_ALLOW_BY_MODEL, XSS_ALLOW_DESCRIPTION, XSS_ALLOW_FRIENDLYURL, XSS_ALLOW_NAME, XSS_ALLOW_TYPE, XSS_ALLOW_TYPESETTINGS
 
Fields inherited from class com.liferay.portal.model.impl.BaseModelImpl
XSS_ALLOW
 
Constructor Summary
GroupImpl()
           
 
Method Summary
 java.lang.String getDefaultFriendlyURL(boolean privateLayout)
           
protected  long getDefaultPlid(boolean privateLayout)
           
 long getDefaultPrivatePlid()
           
 long getDefaultPublicPlid()
           
 java.lang.String getDescriptiveName()
           
 com.liferay.portal.model.Group getLiveGroup()
           
 java.lang.String getPathFriendlyURL(boolean privateLayout, com.liferay.portal.theme.ThemeDisplay themeDisplay)
           
 int getPrivateLayoutsPageCount()
           
 int getPublicLayoutsPageCount()
           
 com.liferay.portal.model.Group getStagingGroup()
           
 java.lang.String getTypeSettings()
           
 java.util.Properties getTypeSettingsProperties()
           
 boolean hasPrivateLayouts()
           
 boolean hasPublicLayouts()
           
 boolean hasStagingGroup()
           
 boolean isCommunity()
           
 boolean isOrganization()
           
 boolean isStagingGroup()
           
 boolean isUser()
           
 void setTypeSettings(java.lang.String typeSettings)
           
 void setTypeSettingsProperties(java.util.Properties typeSettingsProperties)
           
 
Methods inherited from class com.liferay.portal.model.impl.GroupModelImpl
clone, compareTo, equals, getActive, getClassNameId, getClassPK, getCompanyId, getCreatorUserId, getDescription, getFriendlyURL, getGroupId, getLiveGroupId, getName, getParentGroupId, getPrimaryKey, getPrimaryKeyObj, getType, hashCode, isActive, setActive, setClassNameId, setClassPK, setCompanyId, setCreatorUserId, setDescription, setFriendlyURL, setGroupId, setLiveGroupId, setName, setParentGroupId, setPrimaryKey, setType
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isNew, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.model.GroupModel
getActive, getClassNameId, getClassPK, getCompanyId, getCreatorUserId, getDescription, getFriendlyURL, getGroupId, getLiveGroupId, getName, getParentGroupId, getPrimaryKey, getType, isActive, setActive, setClassNameId, setClassPK, setCompanyId, setCreatorUserId, setDescription, setFriendlyURL, setGroupId, setLiveGroupId, setName, setParentGroupId, setPrimaryKey, setType
 
Methods inherited from interface com.liferay.portal.model.BaseModel
clone, getPrimaryKeyObj, isNew, setNew
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

DEFAULT_PARENT_GROUP_ID

public static final long DEFAULT_PARENT_GROUP_ID
See Also:
Constant Field Values

DEFAULT_LIVE_GROUP_ID

public static final long DEFAULT_LIVE_GROUP_ID
See Also:
Constant Field Values

GUEST

public static final java.lang.String GUEST
See Also:
Constant Field Values

SYSTEM_GROUPS

public static final java.lang.String[] SYSTEM_GROUPS

TYPE_COMMUNITY_OPEN

public static final java.lang.String TYPE_COMMUNITY_OPEN
See Also:
Constant Field Values

TYPE_COMMUNITY_CLOSED

public static final java.lang.String TYPE_COMMUNITY_CLOSED
See Also:
Constant Field Values
Constructor Detail

GroupImpl

public GroupImpl()
Method Detail

getDescriptiveName

public java.lang.String getDescriptiveName()
Specified by:
getDescriptiveName in interface com.liferay.portal.model.Group

isCommunity

public boolean isCommunity()
Specified by:
isCommunity in interface com.liferay.portal.model.Group

isOrganization

public boolean isOrganization()
Specified by:
isOrganization in interface com.liferay.portal.model.Group

isUser

public boolean isUser()
Specified by:
isUser in interface com.liferay.portal.model.Group

getLiveGroup

public com.liferay.portal.model.Group getLiveGroup()
Specified by:
getLiveGroup in interface com.liferay.portal.model.Group

getStagingGroup

public com.liferay.portal.model.Group getStagingGroup()
Specified by:
getStagingGroup in interface com.liferay.portal.model.Group

hasStagingGroup

public boolean hasStagingGroup()
Specified by:
hasStagingGroup in interface com.liferay.portal.model.Group

isStagingGroup

public boolean isStagingGroup()
Specified by:
isStagingGroup in interface com.liferay.portal.model.Group

getTypeSettings

public java.lang.String getTypeSettings()
Specified by:
getTypeSettings in interface com.liferay.portal.model.Group
Overrides:
getTypeSettings in class GroupModelImpl

setTypeSettings

public void setTypeSettings(java.lang.String typeSettings)
Specified by:
setTypeSettings in interface com.liferay.portal.model.Group
Overrides:
setTypeSettings in class GroupModelImpl

getTypeSettingsProperties

public java.util.Properties getTypeSettingsProperties()
Specified by:
getTypeSettingsProperties in interface com.liferay.portal.model.Group

setTypeSettingsProperties

public void setTypeSettingsProperties(java.util.Properties typeSettingsProperties)
Specified by:
setTypeSettingsProperties in interface com.liferay.portal.model.Group

getPathFriendlyURL

public java.lang.String getPathFriendlyURL(boolean privateLayout,
                                           com.liferay.portal.theme.ThemeDisplay themeDisplay)
Specified by:
getPathFriendlyURL in interface com.liferay.portal.model.Group

getDefaultFriendlyURL

public java.lang.String getDefaultFriendlyURL(boolean privateLayout)
                                       throws com.liferay.portal.PortalException,
                                              com.liferay.portal.SystemException
Specified by:
getDefaultFriendlyURL in interface com.liferay.portal.model.Group
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getDefaultPrivatePlid

public long getDefaultPrivatePlid()
Specified by:
getDefaultPrivatePlid in interface com.liferay.portal.model.Group

getPrivateLayoutsPageCount

public int getPrivateLayoutsPageCount()
Specified by:
getPrivateLayoutsPageCount in interface com.liferay.portal.model.Group

hasPrivateLayouts

public boolean hasPrivateLayouts()
Specified by:
hasPrivateLayouts in interface com.liferay.portal.model.Group

getDefaultPublicPlid

public long getDefaultPublicPlid()
Specified by:
getDefaultPublicPlid in interface com.liferay.portal.model.Group

getPublicLayoutsPageCount

public int getPublicLayoutsPageCount()
Specified by:
getPublicLayoutsPageCount in interface com.liferay.portal.model.Group

hasPublicLayouts

public boolean hasPublicLayouts()
Specified by:
hasPublicLayouts in interface com.liferay.portal.model.Group

getDefaultPlid

protected long getDefaultPlid(boolean privateLayout)