com.liferay.portal.model.impl
Class GroupImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl<Group>
com.liferay.portal.model.impl.GroupModelImpl
com.liferay.portal.model.impl.GroupImpl
- All Implemented Interfaces:
- BaseModel<Group>, Group, GroupModel, Serializable, Cloneable, Comparable<Group>
public class GroupImpl
- extends GroupModelImpl
- implements Group
- See Also:
- Serialized Form
Fields inherited from class com.liferay.portal.model.impl.GroupModelImpl |
DATA_SOURCE, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, FINDER_CACHE_ENABLED_GROUPS_ORGS, FINDER_CACHE_ENABLED_GROUPS_PERMISSIONS, FINDER_CACHE_ENABLED_GROUPS_ROLES, FINDER_CACHE_ENABLED_GROUPS_USERGROUPS, FINDER_CACHE_ENABLED_USERS_GROUPS, LOCK_EXPIRATION_TIME, MAPPING_TABLE_GROUPS_ORGS_COLUMNS, MAPPING_TABLE_GROUPS_ORGS_NAME, MAPPING_TABLE_GROUPS_ORGS_SQL_CREATE, MAPPING_TABLE_GROUPS_PERMISSIONS_COLUMNS, MAPPING_TABLE_GROUPS_PERMISSIONS_NAME, MAPPING_TABLE_GROUPS_PERMISSIONS_SQL_CREATE, MAPPING_TABLE_GROUPS_ROLES_COLUMNS, MAPPING_TABLE_GROUPS_ROLES_NAME, MAPPING_TABLE_GROUPS_ROLES_SQL_CREATE, MAPPING_TABLE_GROUPS_USERGROUPS_COLUMNS, MAPPING_TABLE_GROUPS_USERGROUPS_NAME, MAPPING_TABLE_GROUPS_USERGROUPS_SQL_CREATE, MAPPING_TABLE_USERS_GROUPS_NAME, ORDER_BY_JPQL, ORDER_BY_SQL, SESSION_FACTORY, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER |
Methods inherited from class com.liferay.portal.model.impl.GroupModelImpl |
clone, compareTo, equals, getActive, getClassName, getClassNameId, getClassPK, getCompanyId, getCreatorUserId, getCreatorUserUuid, getDescription, getExpandoBridge, getFriendlyURL, getGroupId, getLiveGroupId, getName, getOriginalClassNameId, getOriginalClassPK, getOriginalCompanyId, getOriginalFriendlyURL, getOriginalLiveGroupId, getOriginalName, getParentGroupId, getPrimaryKey, getPrimaryKeyObj, getType, hashCode, isActive, setActive, setClassNameId, setClassPK, setCompanyId, setCreatorUserId, setCreatorUserUuid, setDescription, setExpandoBridgeAttributes, setFriendlyURL, setGroupId, setLiveGroupId, setName, setParentGroupId, setPrimaryKey, setType, toEscapedModel, toModel, toModels, toString, toXmlString |
Methods inherited from interface com.liferay.portal.model.GroupModel |
clone, compareTo, getActive, getClassName, getClassNameId, getClassPK, getCompanyId, getCreatorUserId, getCreatorUserUuid, getDescription, getExpandoBridge, getFriendlyURL, getGroupId, getLiveGroupId, getName, getParentGroupId, getPrimaryKey, getPrimaryKeyObj, getType, hashCode, isActive, isCachedModel, isEscapedModel, isNew, setActive, setCachedModel, setClassNameId, setClassPK, setCompanyId, setCreatorUserId, setCreatorUserUuid, setDescription, setEscapedModel, setExpandoBridgeAttributes, setFriendlyURL, setGroupId, setLiveGroupId, setName, setNew, setParentGroupId, setPrimaryKey, setType, toEscapedModel, toString, toXmlString |
GroupImpl
public GroupImpl()
getDefaultPrivatePlid
public long getDefaultPrivatePlid()
- Specified by:
getDefaultPrivatePlid
in interface Group
getDefaultPublicPlid
public long getDefaultPublicPlid()
- Specified by:
getDefaultPublicPlid
in interface Group
getDescriptiveName
public String getDescriptiveName()
throws PortalException,
SystemException
- Specified by:
getDescriptiveName
in interface Group
- Throws:
PortalException
SystemException
getLiveGroup
public Group getLiveGroup()
- Specified by:
getLiveGroup
in interface Group
getOrganizationId
public long getOrganizationId()
- Specified by:
getOrganizationId
in interface Group
getPathFriendlyURL
public String getPathFriendlyURL(boolean privateLayout,
ThemeDisplay themeDisplay)
- Specified by:
getPathFriendlyURL
in interface Group
getPrivateLayoutSet
public LayoutSet getPrivateLayoutSet()
- Specified by:
getPrivateLayoutSet
in interface Group
getPrivateLayoutsPageCount
public int getPrivateLayoutsPageCount()
- Specified by:
getPrivateLayoutsPageCount
in interface Group
getPublicLayoutSet
public LayoutSet getPublicLayoutSet()
- Specified by:
getPublicLayoutSet
in interface Group
getPublicLayoutsPageCount
public int getPublicLayoutsPageCount()
- Specified by:
getPublicLayoutsPageCount
in interface Group
getStagingGroup
public Group getStagingGroup()
- Specified by:
getStagingGroup
in interface Group
getTypeLabel
public String getTypeLabel()
- Specified by:
getTypeLabel
in interface Group
getTypeSettings
public String getTypeSettings()
- Description copied from interface:
GroupModel
- Gets the type settings of this group.
- Specified by:
getTypeSettings
in interface Group
- Specified by:
getTypeSettings
in interface GroupModel
- Overrides:
getTypeSettings
in class GroupModelImpl
- Returns:
- the type settings of this group
getTypeSettingsProperties
public UnicodeProperties getTypeSettingsProperties()
- Specified by:
getTypeSettingsProperties
in interface Group
getTypeSettingsProperty
public String getTypeSettingsProperty(String key)
- Specified by:
getTypeSettingsProperty
in interface Group
getWorkflowRoleNames
public String getWorkflowRoleNames()
- Specified by:
getWorkflowRoleNames
in interface Group
getWorkflowStages
public int getWorkflowStages()
- Specified by:
getWorkflowStages
in interface Group
hasPrivateLayouts
public boolean hasPrivateLayouts()
- Specified by:
hasPrivateLayouts
in interface Group
hasPublicLayouts
public boolean hasPublicLayouts()
- Specified by:
hasPublicLayouts
in interface Group
hasStagingGroup
public boolean hasStagingGroup()
- Specified by:
hasStagingGroup
in interface Group
isCommunity
public boolean isCommunity()
- Specified by:
isCommunity
in interface Group
isCompany
public boolean isCompany()
- Specified by:
isCompany
in interface Group
isControlPanel
public boolean isControlPanel()
- Specified by:
isControlPanel
in interface Group
isLayout
public boolean isLayout()
- Specified by:
isLayout
in interface Group
isLayoutPrototype
public boolean isLayoutPrototype()
- Specified by:
isLayoutPrototype
in interface Group
isLayoutSetPrototype
public boolean isLayoutSetPrototype()
- Specified by:
isLayoutSetPrototype
in interface Group
isOrganization
public boolean isOrganization()
- Specified by:
isOrganization
in interface Group
isStaged
public boolean isStaged()
- Specified by:
isStaged
in interface Group
isStagedPortlet
public boolean isStagedPortlet(String portletId)
- Specified by:
isStagedPortlet
in interface Group
isStagedRemotely
public boolean isStagedRemotely()
- Specified by:
isStagedRemotely
in interface Group
isStagingGroup
public boolean isStagingGroup()
- Specified by:
isStagingGroup
in interface Group
isUser
public boolean isUser()
- Specified by:
isUser
in interface Group
isUserGroup
public boolean isUserGroup()
- Specified by:
isUserGroup
in interface Group
isWorkflowEnabled
public boolean isWorkflowEnabled()
- Specified by:
isWorkflowEnabled
in interface Group
setTypeSettings
public void setTypeSettings(String typeSettings)
- Description copied from interface:
GroupModel
- Sets the type settings of this group.
- Specified by:
setTypeSettings
in interface Group
- Specified by:
setTypeSettings
in interface GroupModel
- Overrides:
setTypeSettings
in class GroupModelImpl
- Parameters:
typeSettings
- the type settings of this group
setTypeSettingsProperties
public void setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
- Specified by:
setTypeSettingsProperties
in interface Group
getDefaultPlid
protected long getDefaultPlid(boolean privateLayout)
hasClassName
protected boolean hasClassName(Class<?> classObj)