com.liferay.portal.model.impl
Class GroupImpl

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

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

View Source

Author:
Brian Wing Shun Chan
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, 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()
           
 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 getTypeLabel()
           
 java.lang.String getTypeSettings()
           
 com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties()
           
 java.lang.String getTypeSettingsProperty(java.lang.String key)
           
 java.lang.String getWorkflowRoleNames()
           
 int getWorkflowStages()
           
protected  boolean hasClassName(java.lang.Class<?> classObj)
           
 boolean hasPrivateLayouts()
           
 boolean hasPublicLayouts()
           
 boolean hasStagingGroup()
           
 boolean isCommunity()
           
 boolean isLayout()
           
 boolean isOrganization()
           
 boolean isStagingGroup()
           
 boolean isUser()
           
 boolean isUserGroup()
           
 boolean isWorkflowEnabled()
           
 void setTypeSettings(java.lang.String typeSettings)
           
 void setTypeSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties)
           
 
Methods inherited from class com.liferay.portal.model.impl.GroupModelImpl
clone, compareTo, equals, getActive, getClassName, getClassNameId, getClassPK, getCompanyId, getCreatorUserId, getDescription, getExpandoBridge, getFriendlyURL, getGroupId, getLiveGroupId, getName, getOriginalClassNameId, getOriginalClassPK, getOriginalCompanyId, getOriginalFriendlyURL, getOriginalLiveGroupId, getOriginalName, getParentGroupId, getPrimaryKey, getPrimaryKeyObj, getType, hashCode, isActive, setActive, setClassNameId, setClassPK, setCompanyId, setCreatorUserId, setDescription, 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
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, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew, toXmlString
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

GroupImpl

public GroupImpl()
Method Detail

isCommunity

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

isLayout

public boolean isLayout()
Specified by:
isLayout 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

isUserGroup

public boolean isUserGroup()
Specified by:
isUserGroup 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 com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties()
Specified by:
getTypeSettingsProperties in interface com.liferay.portal.model.Group

setTypeSettingsProperties

public void setTypeSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties 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)

hasClassName

protected boolean hasClassName(java.lang.Class<?> classObj)