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, com.liferay.portal.model.Group, com.liferay.portal.model.GroupModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable
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 |
CACHE_ENABLED, CACHE_ENABLED_GROUPS_ORGS, CACHE_ENABLED_GROUPS_PERMISSIONS, CACHE_ENABLED_GROUPS_ROLES, CACHE_ENABLED_GROUPS_USERGROUPS, CACHE_ENABLED_USERS_GROUPS, LOCK_EXPIRATION_TIME, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP |
Methods inherited from class com.liferay.portal.model.impl.GroupModelImpl |
clone, compareTo, equals, getActive, getClassName, 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, toEscapedModel, toModel, toModels |
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, getClassName, 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, toEscapedModel |
Methods inherited from interface com.liferay.portal.model.BaseModel |
clone, getPrimaryKeyObj, isEscapedModel, isNew, setEscapedModel, 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 int TYPE_COMMUNITY_OPEN
- See Also:
- Constant Field Values
TYPE_COMMUNITY_OPEN_LABEL
public static final java.lang.String TYPE_COMMUNITY_OPEN_LABEL
- See Also:
- Constant Field Values
TYPE_COMMUNITY_PRIVATE
public static final int TYPE_COMMUNITY_PRIVATE
- See Also:
- Constant Field Values
TYPE_COMMUNITY_PRIVATE_LABEL
public static final java.lang.String TYPE_COMMUNITY_PRIVATE_LABEL
- See Also:
- Constant Field Values
TYPE_COMMUNITY_RESTRICTED
public static final int TYPE_COMMUNITY_RESTRICTED
- See Also:
- Constant Field Values
TYPE_COMMUNITY_RESTRICTED_LABEL
public static final java.lang.String TYPE_COMMUNITY_RESTRICTED_LABEL
- See Also:
- Constant Field Values
GroupImpl
public GroupImpl()
getTypeLabel
public static java.lang.String getTypeLabel(int type)
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
getDescriptiveName
public java.lang.String getDescriptiveName()
- Specified by:
getDescriptiveName
in interface com.liferay.portal.model.Group
getTypeLabel
public java.lang.String getTypeLabel()
- Specified by:
getTypeLabel
in interface com.liferay.portal.model.Group
getTypeSettings
public java.lang.String getTypeSettings()
- Specified by:
getTypeSettings
in interface com.liferay.portal.model.Group
- Specified by:
getTypeSettings
in interface com.liferay.portal.model.GroupModel
- Overrides:
getTypeSettings
in class GroupModelImpl
setTypeSettings
public void setTypeSettings(java.lang.String typeSettings)
- Specified by:
setTypeSettings
in interface com.liferay.portal.model.Group
- Specified by:
setTypeSettings
in interface com.liferay.portal.model.GroupModel
- 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
getTypeSettingsProperty
public java.lang.String getTypeSettingsProperty(java.lang.String key)
- Specified by:
getTypeSettingsProperty
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
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
isWorkflowEnabled
public boolean isWorkflowEnabled()
- Specified by:
isWorkflowEnabled
in interface com.liferay.portal.model.Group
getWorkflowStages
public int getWorkflowStages()
- Specified by:
getWorkflowStages
in interface com.liferay.portal.model.Group
getWorkflowRoleNames
public java.lang.String getWorkflowRoleNames()
- Specified by:
getWorkflowRoleNames
in interface com.liferay.portal.model.Group
getDefaultPlid
protected long getDefaultPlid(boolean privateLayout)