Liferay 6.0.5

com.liferay.portal.model.impl
Class GroupImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<Group>
      extended by com.liferay.portal.model.impl.GroupModelImpl
          extended by 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

Field Summary
 
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
 
Constructor Summary
GroupImpl()
           
 
Method Summary
protected  long getDefaultPlid(boolean privateLayout)
           
 long getDefaultPrivatePlid()
           
 long getDefaultPublicPlid()
           
 String getDescriptiveName()
           
 Group getLiveGroup()
           
 long getOrganizationId()
           
 String getPathFriendlyURL(boolean privateLayout, ThemeDisplay themeDisplay)
           
 LayoutSet getPrivateLayoutSet()
           
 int getPrivateLayoutsPageCount()
           
 LayoutSet getPublicLayoutSet()
           
 int getPublicLayoutsPageCount()
           
 Group getStagingGroup()
           
 String getTypeLabel()
           
 String getTypeSettings()
          Gets the type settings of this group.
 UnicodeProperties getTypeSettingsProperties()
           
 String getTypeSettingsProperty(String key)
           
 String getWorkflowRoleNames()
           
 int getWorkflowStages()
           
protected  boolean hasClassName(Class<?> classObj)
           
 boolean hasPrivateLayouts()
           
 boolean hasPublicLayouts()
           
 boolean hasStagingGroup()
           
 boolean isCommunity()
           
 boolean isCompany()
           
 boolean isControlPanel()
           
 boolean isLayout()
           
 boolean isLayoutPrototype()
           
 boolean isLayoutSetPrototype()
           
 boolean isOrganization()
           
 boolean isStaged()
           
 boolean isStagedPortlet(String portletId)
           
 boolean isStagedRemotely()
           
 boolean isStagingGroup()
           
 boolean isUser()
           
 boolean isUserGroup()
           
 boolean isWorkflowEnabled()
           
 void setTypeSettings(String typeSettings)
          Sets the type settings of this group.
 void setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
           
 
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 class com.liferay.portal.model.impl.BaseModelImpl
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
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
 

Constructor Detail

GroupImpl

public GroupImpl()
Method Detail

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)

Liferay 6.0.5