com.liferay.portal.model.impl
Class GroupImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl
com.liferay.portal.model.impl.GroupModelImpl
com.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
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 |
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 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 |
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
GroupImpl
public GroupImpl()
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)