Liferay 7.0-ga1 portal-impl

com.liferay.portal.model.impl
Class GroupModelImpl

java.lang.Object
  extended by com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Group>
      extended by com.liferay.portal.model.impl.GroupModelImpl
All Implemented Interfaces:
com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Group>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.GroupModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.TypedModel, Serializable, Cloneable, Comparable<com.liferay.portal.kernel.model.Group>
Direct Known Subclasses:
GroupBaseImpl

@JSON(strict=true)
@ProviderType
public class GroupModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Group>
implements com.liferay.portal.kernel.model.GroupModel

The base model implementation for the Group service. Represents a row in the "Group_" database table, with each column mapped to a property of this class.

This implementation and its corresponding interface GroupModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in GroupImpl.

See Also:
GroupImpl, Group, GroupModel, Serialized Form
{$generated.description}

Field Summary
static long ACTIVE_COLUMN_BITMASK
           
static long CLASSNAMEID_COLUMN_BITMASK
           
static long CLASSPK_COLUMN_BITMASK
           
static boolean COLUMN_BITMASK_ENABLED
           
static long COMPANYID_COLUMN_BITMASK
           
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED_GROUPS_ORGS
           
static boolean FINDER_CACHE_ENABLED_GROUPS_ROLES
           
static boolean FINDER_CACHE_ENABLED_GROUPS_USERGROUPS
           
static boolean FINDER_CACHE_ENABLED_USERS_GROUPS
           
static long FRIENDLYURL_COLUMN_BITMASK
           
static long GROUPID_COLUMN_BITMASK
           
static long GROUPKEY_COLUMN_BITMASK
           
static long INHERITCONTENT_COLUMN_BITMASK
           
static long LIVEGROUPID_COLUMN_BITMASK
           
static long LOCK_EXPIRATION_TIME
           
static Object[][] MAPPING_TABLE_GROUPS_ORGS_COLUMNS
           
static String MAPPING_TABLE_GROUPS_ORGS_NAME
           
static String MAPPING_TABLE_GROUPS_ORGS_SQL_CREATE
           
static Object[][] MAPPING_TABLE_GROUPS_ROLES_COLUMNS
           
static String MAPPING_TABLE_GROUPS_ROLES_NAME
           
static String MAPPING_TABLE_GROUPS_ROLES_SQL_CREATE
           
static Object[][] MAPPING_TABLE_GROUPS_USERGROUPS_COLUMNS
           
static String MAPPING_TABLE_GROUPS_USERGROUPS_NAME
           
static String MAPPING_TABLE_GROUPS_USERGROUPS_SQL_CREATE
           
static Object[][] MAPPING_TABLE_USERS_GROUPS_COLUMNS
           
static String MAPPING_TABLE_USERS_GROUPS_NAME
           
static String MAPPING_TABLE_USERS_GROUPS_SQL_CREATE
           
static long NAME_COLUMN_BITMASK
           
static String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
static long PARENTGROUPID_COLUMN_BITMASK
           
static String SESSION_FACTORY
           
static long SITE_COLUMN_BITMASK
           
static Object[][] TABLE_COLUMNS
           
static Map<String,Integer> TABLE_COLUMNS_MAP
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static String TX_MANAGER
           
static long TYPE_COLUMN_BITMASK
           
static long UUID_COLUMN_BITMASK
           
 
Constructor Summary
GroupModelImpl()
           
 
Method Summary
 Object clone()
           
 int compareTo(com.liferay.portal.kernel.model.Group group)
           
 boolean equals(Object obj)
           
 boolean getActive()
           
 String[] getAvailableLanguageIds()
           
 String getClassName()
           
 long getClassNameId()
           
 long getClassPK()
           
 long getColumnBitmask()
           
 long getCompanyId()
           
 long getCreatorUserId()
           
 String getCreatorUserUuid()
           
 String getDefaultLanguageId()
           
 String getDescription()
           
 String getDescription(Locale locale)
           
 String getDescription(Locale locale, boolean useDefault)
           
 String getDescription(String languageId)
           
 String getDescription(String languageId, boolean useDefault)
           
 String getDescriptionCurrentLanguageId()
           
 String getDescriptionCurrentValue()
           
 Map<Locale,String> getDescriptionMap()
           
 com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
           
 String getFriendlyURL()
           
 long getGroupId()
           
 String getGroupKey()
           
 boolean getInheritContent()
           
 long getLiveGroupId()
           
 boolean getManualMembership()
           
 int getMembershipRestriction()
           
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 long getMvccVersion()
           
 String getName()
           
 String getName(Locale locale)
           
 String getName(Locale locale, boolean useDefault)
           
 String getName(String languageId)
           
 String getName(String languageId, boolean useDefault)
           
 String getNameCurrentLanguageId()
           
 String getNameCurrentValue()
           
 Map<Locale,String> getNameMap()
           
 boolean getOriginalActive()
           
 long getOriginalClassNameId()
           
 long getOriginalClassPK()
           
 long getOriginalCompanyId()
           
 String getOriginalFriendlyURL()
           
 long getOriginalGroupId()
           
 String getOriginalGroupKey()
           
 boolean getOriginalInheritContent()
           
 long getOriginalLiveGroupId()
           
 long getOriginalParentGroupId()
           
 boolean getOriginalSite()
           
 int getOriginalType()
           
 String getOriginalUuid()
           
 long getParentGroupId()
           
 long getPrimaryKey()
           
 Serializable getPrimaryKeyObj()
           
 int getRemoteStagingGroupCount()
           
 boolean getSite()
           
 String getTreePath()
           
 int getType()
           
 String getTypeSettings()
           
 String getUuid()
           
 int hashCode()
           
 boolean isActive()
           
 boolean isEntityCacheEnabled()
           
 boolean isFinderCacheEnabled()
           
 boolean isInheritContent()
           
 boolean isManualMembership()
           
 boolean isSite()
           
 void prepareLocalizedFieldsForImport()
           
 void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
           
 void resetOriginalValues()
           
 void setActive(boolean active)
           
 void setClassName(String className)
           
 void setClassNameId(long classNameId)
           
 void setClassPK(long classPK)
           
 void setCompanyId(long companyId)
           
 void setCreatorUserId(long creatorUserId)
           
 void setCreatorUserUuid(String creatorUserUuid)
           
 void setDescription(String description)
           
 void setDescription(String description, Locale locale)
           
 void setDescription(String description, Locale locale, Locale defaultLocale)
           
 void setDescriptionCurrentLanguageId(String languageId)
           
 void setDescriptionMap(Map<Locale,String> descriptionMap)
           
 void setDescriptionMap(Map<Locale,String> descriptionMap, Locale defaultLocale)
           
 void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
           
 void setFriendlyURL(String friendlyURL)
           
 void setGroupId(long groupId)
           
 void setGroupKey(String groupKey)
           
 void setInheritContent(boolean inheritContent)
           
 void setLiveGroupId(long liveGroupId)
           
 void setManualMembership(boolean manualMembership)
           
 void setMembershipRestriction(int membershipRestriction)
           
 void setModelAttributes(Map<String,Object> attributes)
           
 void setMvccVersion(long mvccVersion)
           
 void setName(String name)
           
 void setName(String name, Locale locale)
           
 void setName(String name, Locale locale, Locale defaultLocale)
           
 void setNameCurrentLanguageId(String languageId)
           
 void setNameMap(Map<Locale,String> nameMap)
           
 void setNameMap(Map<Locale,String> nameMap, Locale defaultLocale)
           
 void setParentGroupId(long parentGroupId)
           
 void setPrimaryKey(long primaryKey)
           
 void setPrimaryKeyObj(Serializable primaryKeyObj)
           
 void setRemoteStagingGroupCount(int remoteStagingGroupCount)
           
 void setSite(boolean site)
           
 void setTreePath(String treePath)
           
 void setType(int type)
           
 void setTypeSettings(String typeSettings)
           
 void setUuid(String uuid)
           
 com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Group> toCacheModel()
           
 com.liferay.portal.kernel.model.Group toEscapedModel()
           
static com.liferay.portal.kernel.model.Group toModel(com.liferay.portal.kernel.model.GroupSoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<com.liferay.portal.kernel.model.Group> toModels(com.liferay.portal.kernel.model.GroupSoap[] soapModels)
          Converts the soap model instances into normal model instances.
 String toString()
           
 String toXmlString()
           
 
Methods inherited from class com.liferay.portal.kernel.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.kernel.model.GroupModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_COLUMNS_MAP

public static final Map<String,Integer> TABLE_COLUMNS_MAP

TABLE_SQL_CREATE

public static final String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final String TABLE_SQL_DROP
See Also:
Constant Field Values

ORDER_BY_JPQL

public static final String ORDER_BY_JPQL
See Also:
Constant Field Values

ORDER_BY_SQL

public static final String ORDER_BY_SQL
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final String TX_MANAGER
See Also:
Constant Field Values

ENTITY_CACHE_ENABLED

public static final boolean ENTITY_CACHE_ENABLED

FINDER_CACHE_ENABLED

public static final boolean FINDER_CACHE_ENABLED

COLUMN_BITMASK_ENABLED

public static final boolean COLUMN_BITMASK_ENABLED

ACTIVE_COLUMN_BITMASK

public static final long ACTIVE_COLUMN_BITMASK
See Also:
Constant Field Values

CLASSNAMEID_COLUMN_BITMASK

public static final long CLASSNAMEID_COLUMN_BITMASK
See Also:
Constant Field Values

CLASSPK_COLUMN_BITMASK

public static final long CLASSPK_COLUMN_BITMASK
See Also:
Constant Field Values

COMPANYID_COLUMN_BITMASK

public static final long COMPANYID_COLUMN_BITMASK
See Also:
Constant Field Values

FRIENDLYURL_COLUMN_BITMASK

public static final long FRIENDLYURL_COLUMN_BITMASK
See Also:
Constant Field Values

GROUPID_COLUMN_BITMASK

public static final long GROUPID_COLUMN_BITMASK
See Also:
Constant Field Values

GROUPKEY_COLUMN_BITMASK

public static final long GROUPKEY_COLUMN_BITMASK
See Also:
Constant Field Values

INHERITCONTENT_COLUMN_BITMASK

public static final long INHERITCONTENT_COLUMN_BITMASK
See Also:
Constant Field Values

LIVEGROUPID_COLUMN_BITMASK

public static final long LIVEGROUPID_COLUMN_BITMASK
See Also:
Constant Field Values

PARENTGROUPID_COLUMN_BITMASK

public static final long PARENTGROUPID_COLUMN_BITMASK
See Also:
Constant Field Values

SITE_COLUMN_BITMASK

public static final long SITE_COLUMN_BITMASK
See Also:
Constant Field Values

TYPE_COLUMN_BITMASK

public static final long TYPE_COLUMN_BITMASK
See Also:
Constant Field Values

UUID_COLUMN_BITMASK

public static final long UUID_COLUMN_BITMASK
See Also:
Constant Field Values

NAME_COLUMN_BITMASK

public static final long NAME_COLUMN_BITMASK
See Also:
Constant Field Values

MAPPING_TABLE_GROUPS_ORGS_NAME

public static final String MAPPING_TABLE_GROUPS_ORGS_NAME
See Also:
Constant Field Values

MAPPING_TABLE_GROUPS_ORGS_COLUMNS

public static final Object[][] MAPPING_TABLE_GROUPS_ORGS_COLUMNS

MAPPING_TABLE_GROUPS_ORGS_SQL_CREATE

public static final String MAPPING_TABLE_GROUPS_ORGS_SQL_CREATE
See Also:
Constant Field Values

FINDER_CACHE_ENABLED_GROUPS_ORGS

public static final boolean FINDER_CACHE_ENABLED_GROUPS_ORGS

MAPPING_TABLE_GROUPS_ROLES_NAME

public static final String MAPPING_TABLE_GROUPS_ROLES_NAME
See Also:
Constant Field Values

MAPPING_TABLE_GROUPS_ROLES_COLUMNS

public static final Object[][] MAPPING_TABLE_GROUPS_ROLES_COLUMNS

MAPPING_TABLE_GROUPS_ROLES_SQL_CREATE

public static final String MAPPING_TABLE_GROUPS_ROLES_SQL_CREATE
See Also:
Constant Field Values

FINDER_CACHE_ENABLED_GROUPS_ROLES

public static final boolean FINDER_CACHE_ENABLED_GROUPS_ROLES

MAPPING_TABLE_GROUPS_USERGROUPS_NAME

public static final String MAPPING_TABLE_GROUPS_USERGROUPS_NAME
See Also:
Constant Field Values

MAPPING_TABLE_GROUPS_USERGROUPS_COLUMNS

public static final Object[][] MAPPING_TABLE_GROUPS_USERGROUPS_COLUMNS

MAPPING_TABLE_GROUPS_USERGROUPS_SQL_CREATE

public static final String MAPPING_TABLE_GROUPS_USERGROUPS_SQL_CREATE
See Also:
Constant Field Values

FINDER_CACHE_ENABLED_GROUPS_USERGROUPS

public static final boolean FINDER_CACHE_ENABLED_GROUPS_USERGROUPS

MAPPING_TABLE_USERS_GROUPS_NAME

public static final String MAPPING_TABLE_USERS_GROUPS_NAME
See Also:
Constant Field Values

MAPPING_TABLE_USERS_GROUPS_COLUMNS

public static final Object[][] MAPPING_TABLE_USERS_GROUPS_COLUMNS

MAPPING_TABLE_USERS_GROUPS_SQL_CREATE

public static final String MAPPING_TABLE_USERS_GROUPS_SQL_CREATE
See Also:
Constant Field Values

FINDER_CACHE_ENABLED_USERS_GROUPS

public static final boolean FINDER_CACHE_ENABLED_USERS_GROUPS

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

GroupModelImpl

public GroupModelImpl()
Method Detail

toModel

public static com.liferay.portal.kernel.model.Group toModel(com.liferay.portal.kernel.model.GroupSoap soapModel)
Converts the soap model instance into a normal model instance.

Parameters:
soapModel - the soap model instance to convert
Returns:
the normal model instance

toModels

public static List<com.liferay.portal.kernel.model.Group> toModels(com.liferay.portal.kernel.model.GroupSoap[] soapModels)
Converts the soap model instances into normal model instances.

Parameters:
soapModels - the soap model instances to convert
Returns:
the normal model instances

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface com.liferay.portal.kernel.model.GroupModel

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Specified by:
setPrimaryKey in interface com.liferay.portal.kernel.model.GroupModel

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Group>
Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel
Specified by:
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.GroupModel

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Group>
Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModel
Specified by:
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.GroupModel

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface com.liferay.portal.kernel.model.ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Group>
Overrides:
getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Group>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Group>
Overrides:
setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Group>

getMvccVersion

@JSON
public long getMvccVersion()
Specified by:
getMvccVersion in interface com.liferay.portal.kernel.model.GroupModel
Specified by:
getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel

setMvccVersion

public void setMvccVersion(long mvccVersion)
Specified by:
setMvccVersion in interface com.liferay.portal.kernel.model.GroupModel
Specified by:
setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel

getUuid

@JSON
public String getUuid()
Specified by:
getUuid in interface com.liferay.portal.kernel.model.GroupModel

setUuid

public void setUuid(String uuid)
Specified by:
setUuid in interface com.liferay.portal.kernel.model.GroupModel

getOriginalUuid

public String getOriginalUuid()

getGroupId

@JSON
public long getGroupId()
Specified by:
getGroupId in interface com.liferay.portal.kernel.model.GroupModel

setGroupId

public void setGroupId(long groupId)
Specified by:
setGroupId in interface com.liferay.portal.kernel.model.GroupModel

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

@JSON
public long getCompanyId()
Specified by:
getCompanyId in interface com.liferay.portal.kernel.model.GroupModel
Specified by:
getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface com.liferay.portal.kernel.model.GroupModel
Specified by:
setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel

getOriginalCompanyId

public long getOriginalCompanyId()

getCreatorUserId

@JSON
public long getCreatorUserId()
Specified by:
getCreatorUserId in interface com.liferay.portal.kernel.model.GroupModel

setCreatorUserId

public void setCreatorUserId(long creatorUserId)
Specified by:
setCreatorUserId in interface com.liferay.portal.kernel.model.GroupModel

getCreatorUserUuid

public String getCreatorUserUuid()
Specified by:
getCreatorUserUuid in interface com.liferay.portal.kernel.model.GroupModel

setCreatorUserUuid

public void setCreatorUserUuid(String creatorUserUuid)
Specified by:
setCreatorUserUuid in interface com.liferay.portal.kernel.model.GroupModel

getClassName

public String getClassName()
Specified by:
getClassName in interface com.liferay.portal.kernel.model.GroupModel
Specified by:
getClassName in interface com.liferay.portal.kernel.model.TypedModel

setClassName

public void setClassName(String className)
Specified by:
setClassName in interface com.liferay.portal.kernel.model.GroupModel

getClassNameId

@JSON
public long getClassNameId()
Specified by:
getClassNameId in interface com.liferay.portal.kernel.model.GroupModel
Specified by:
getClassNameId in interface com.liferay.portal.kernel.model.TypedModel

setClassNameId

public void setClassNameId(long classNameId)
Specified by:
setClassNameId in interface com.liferay.portal.kernel.model.GroupModel
Specified by:
setClassNameId in interface com.liferay.portal.kernel.model.TypedModel

getOriginalClassNameId

public long getOriginalClassNameId()

getClassPK

@JSON
public long getClassPK()
Specified by:
getClassPK in interface com.liferay.portal.kernel.model.AttachedModel
Specified by:
getClassPK in interface com.liferay.portal.kernel.model.GroupModel

setClassPK

public void setClassPK(long classPK)
Specified by:
setClassPK in interface com.liferay.portal.kernel.model.AttachedModel
Specified by:
setClassPK in interface com.liferay.portal.kernel.model.GroupModel

getOriginalClassPK

public long getOriginalClassPK()

getParentGroupId

@JSON
public long getParentGroupId()
Specified by:
getParentGroupId in interface com.liferay.portal.kernel.model.GroupModel

setParentGroupId

public void setParentGroupId(long parentGroupId)
Specified by:
setParentGroupId in interface com.liferay.portal.kernel.model.GroupModel

getOriginalParentGroupId

public long getOriginalParentGroupId()

getLiveGroupId

@JSON
public long getLiveGroupId()
Specified by:
getLiveGroupId in interface com.liferay.portal.kernel.model.GroupModel

setLiveGroupId

public void setLiveGroupId(long liveGroupId)
Specified by:
setLiveGroupId in interface com.liferay.portal.kernel.model.GroupModel

getOriginalLiveGroupId

public long getOriginalLiveGroupId()

getTreePath

@JSON
public String getTreePath()
Specified by:
getTreePath in interface com.liferay.portal.kernel.model.GroupModel

setTreePath

public void setTreePath(String treePath)
Specified by:
setTreePath in interface com.liferay.portal.kernel.model.GroupModel

getGroupKey

@JSON
public String getGroupKey()
Specified by:
getGroupKey in interface com.liferay.portal.kernel.model.GroupModel

setGroupKey

public void setGroupKey(String groupKey)
Specified by:
setGroupKey in interface com.liferay.portal.kernel.model.GroupModel

getOriginalGroupKey

public String getOriginalGroupKey()

getName

@JSON
public String getName()
Specified by:
getName in interface com.liferay.portal.kernel.model.GroupModel

getName

public String getName(Locale locale)
Specified by:
getName in interface com.liferay.portal.kernel.model.GroupModel

getName

public String getName(Locale locale,
                      boolean useDefault)
Specified by:
getName in interface com.liferay.portal.kernel.model.GroupModel

getName

public String getName(String languageId)
Specified by:
getName in interface com.liferay.portal.kernel.model.GroupModel

getName

public String getName(String languageId,
                      boolean useDefault)
Specified by:
getName in interface com.liferay.portal.kernel.model.GroupModel

getNameCurrentLanguageId

public String getNameCurrentLanguageId()
Specified by:
getNameCurrentLanguageId in interface com.liferay.portal.kernel.model.GroupModel

getNameCurrentValue

@JSON
public String getNameCurrentValue()
Specified by:
getNameCurrentValue in interface com.liferay.portal.kernel.model.GroupModel

getNameMap

public Map<Locale,String> getNameMap()
Specified by:
getNameMap in interface com.liferay.portal.kernel.model.GroupModel

setName

public void setName(String name)
Specified by:
setName in interface com.liferay.portal.kernel.model.GroupModel

setName

public void setName(String name,
                    Locale locale)
Specified by:
setName in interface com.liferay.portal.kernel.model.GroupModel

setName

public void setName(String name,
                    Locale locale,
                    Locale defaultLocale)
Specified by:
setName in interface com.liferay.portal.kernel.model.GroupModel

setNameCurrentLanguageId

public void setNameCurrentLanguageId(String languageId)
Specified by:
setNameCurrentLanguageId in interface com.liferay.portal.kernel.model.GroupModel

setNameMap

public void setNameMap(Map<Locale,String> nameMap)
Specified by:
setNameMap in interface com.liferay.portal.kernel.model.GroupModel

setNameMap

public void setNameMap(Map<Locale,String> nameMap,
                       Locale defaultLocale)
Specified by:
setNameMap in interface com.liferay.portal.kernel.model.GroupModel

getDescription

@JSON
public String getDescription()
Specified by:
getDescription in interface com.liferay.portal.kernel.model.GroupModel

getDescription

public String getDescription(Locale locale)
Specified by:
getDescription in interface com.liferay.portal.kernel.model.GroupModel

getDescription

public String getDescription(Locale locale,
                             boolean useDefault)
Specified by:
getDescription in interface com.liferay.portal.kernel.model.GroupModel

getDescription

public String getDescription(String languageId)
Specified by:
getDescription in interface com.liferay.portal.kernel.model.GroupModel

getDescription

public String getDescription(String languageId,
                             boolean useDefault)
Specified by:
getDescription in interface com.liferay.portal.kernel.model.GroupModel

getDescriptionCurrentLanguageId

public String getDescriptionCurrentLanguageId()
Specified by:
getDescriptionCurrentLanguageId in interface com.liferay.portal.kernel.model.GroupModel

getDescriptionCurrentValue

@JSON
public String getDescriptionCurrentValue()
Specified by:
getDescriptionCurrentValue in interface com.liferay.portal.kernel.model.GroupModel

getDescriptionMap

public Map<Locale,String> getDescriptionMap()
Specified by:
getDescriptionMap in interface com.liferay.portal.kernel.model.GroupModel

setDescription

public void setDescription(String description)
Specified by:
setDescription in interface com.liferay.portal.kernel.model.GroupModel

setDescription

public void setDescription(String description,
                           Locale locale)
Specified by:
setDescription in interface com.liferay.portal.kernel.model.GroupModel

setDescription

public void setDescription(String description,
                           Locale locale,
                           Locale defaultLocale)
Specified by:
setDescription in interface com.liferay.portal.kernel.model.GroupModel

setDescriptionCurrentLanguageId

public void setDescriptionCurrentLanguageId(String languageId)
Specified by:
setDescriptionCurrentLanguageId in interface com.liferay.portal.kernel.model.GroupModel

setDescriptionMap

public void setDescriptionMap(Map<Locale,String> descriptionMap)
Specified by:
setDescriptionMap in interface com.liferay.portal.kernel.model.GroupModel

setDescriptionMap

public void setDescriptionMap(Map<Locale,String> descriptionMap,
                              Locale defaultLocale)
Specified by:
setDescriptionMap in interface com.liferay.portal.kernel.model.GroupModel

getType

@JSON
public int getType()
Specified by:
getType in interface com.liferay.portal.kernel.model.GroupModel

setType

public void setType(int type)
Specified by:
setType in interface com.liferay.portal.kernel.model.GroupModel

getOriginalType

public int getOriginalType()

getTypeSettings

@JSON
public String getTypeSettings()
Specified by:
getTypeSettings in interface com.liferay.portal.kernel.model.GroupModel

setTypeSettings

public void setTypeSettings(String typeSettings)
Specified by:
setTypeSettings in interface com.liferay.portal.kernel.model.GroupModel

getManualMembership

@JSON
public boolean getManualMembership()
Specified by:
getManualMembership in interface com.liferay.portal.kernel.model.GroupModel

isManualMembership

public boolean isManualMembership()
Specified by:
isManualMembership in interface com.liferay.portal.kernel.model.GroupModel

setManualMembership

public void setManualMembership(boolean manualMembership)
Specified by:
setManualMembership in interface com.liferay.portal.kernel.model.GroupModel

getMembershipRestriction

@JSON
public int getMembershipRestriction()
Specified by:
getMembershipRestriction in interface com.liferay.portal.kernel.model.GroupModel

setMembershipRestriction

public void setMembershipRestriction(int membershipRestriction)
Specified by:
setMembershipRestriction in interface com.liferay.portal.kernel.model.GroupModel

getFriendlyURL

@JSON
public String getFriendlyURL()
Specified by:
getFriendlyURL in interface com.liferay.portal.kernel.model.GroupModel

setFriendlyURL

public void setFriendlyURL(String friendlyURL)
Specified by:
setFriendlyURL in interface com.liferay.portal.kernel.model.GroupModel

getOriginalFriendlyURL

public String getOriginalFriendlyURL()

getSite

@JSON
public boolean getSite()
Specified by:
getSite in interface com.liferay.portal.kernel.model.GroupModel

isSite

public boolean isSite()
Specified by:
isSite in interface com.liferay.portal.kernel.model.GroupModel

setSite

public void setSite(boolean site)
Specified by:
setSite in interface com.liferay.portal.kernel.model.GroupModel

getOriginalSite

public boolean getOriginalSite()

getRemoteStagingGroupCount

@JSON
public int getRemoteStagingGroupCount()
Specified by:
getRemoteStagingGroupCount in interface com.liferay.portal.kernel.model.GroupModel

setRemoteStagingGroupCount

public void setRemoteStagingGroupCount(int remoteStagingGroupCount)
Specified by:
setRemoteStagingGroupCount in interface com.liferay.portal.kernel.model.GroupModel

getInheritContent

@JSON
public boolean getInheritContent()
Specified by:
getInheritContent in interface com.liferay.portal.kernel.model.GroupModel

isInheritContent

public boolean isInheritContent()
Specified by:
isInheritContent in interface com.liferay.portal.kernel.model.GroupModel

setInheritContent

public void setInheritContent(boolean inheritContent)
Specified by:
setInheritContent in interface com.liferay.portal.kernel.model.GroupModel

getOriginalInheritContent

public boolean getOriginalInheritContent()

getActive

@JSON
public boolean getActive()
Specified by:
getActive in interface com.liferay.portal.kernel.model.GroupModel

isActive

public boolean isActive()
Specified by:
isActive in interface com.liferay.portal.kernel.model.GroupModel

setActive

public void setActive(boolean active)
Specified by:
setActive in interface com.liferay.portal.kernel.model.GroupModel

getOriginalActive

public boolean getOriginalActive()

getColumnBitmask

public long getColumnBitmask()

getExpandoBridge

public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Group>
Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModel
Specified by:
getExpandoBridge in interface com.liferay.portal.kernel.model.GroupModel
Overrides:
getExpandoBridge in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Group>

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Group>
Specified by:
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.GroupModel
Overrides:
setExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Group>

getAvailableLanguageIds

public String[] getAvailableLanguageIds()
Specified by:
getAvailableLanguageIds in interface com.liferay.portal.kernel.model.GroupModel
Specified by:
getAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModel

getDefaultLanguageId

public String getDefaultLanguageId()
Specified by:
getDefaultLanguageId in interface com.liferay.portal.kernel.model.GroupModel
Specified by:
getDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModel

prepareLocalizedFieldsForImport

public void prepareLocalizedFieldsForImport()
                                     throws com.liferay.portal.kernel.exception.LocaleException
Specified by:
prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.GroupModel
Specified by:
prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModel
Throws:
com.liferay.portal.kernel.exception.LocaleException

prepareLocalizedFieldsForImport

public void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
                                     throws com.liferay.portal.kernel.exception.LocaleException
Specified by:
prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.GroupModel
Specified by:
prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModel
Throws:
com.liferay.portal.kernel.exception.LocaleException

toEscapedModel

public com.liferay.portal.kernel.model.Group toEscapedModel()
Specified by:
toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Group>
Specified by:
toEscapedModel in interface com.liferay.portal.kernel.model.GroupModel
Overrides:
toEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Group>

clone

public Object clone()
Specified by:
clone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Group>
Specified by:
clone in interface com.liferay.portal.kernel.model.GroupModel
Specified by:
clone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Group>

compareTo

public int compareTo(com.liferay.portal.kernel.model.Group group)
Specified by:
compareTo in interface com.liferay.portal.kernel.model.GroupModel
Specified by:
compareTo in interface Comparable<com.liferay.portal.kernel.model.Group>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface com.liferay.portal.kernel.model.GroupModel
Overrides:
hashCode in class Object

isEntityCacheEnabled

public boolean isEntityCacheEnabled()
Specified by:
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Group>

isFinderCacheEnabled

public boolean isFinderCacheEnabled()
Specified by:
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Group>

resetOriginalValues

public void resetOriginalValues()
Specified by:
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Group>
Overrides:
resetOriginalValues in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Group>

toCacheModel

public com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Group> toCacheModel()
Specified by:
toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Group>
Specified by:
toCacheModel in interface com.liferay.portal.kernel.model.GroupModel
Overrides:
toCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Group>

toString

public String toString()
Specified by:
toString in interface com.liferay.portal.kernel.model.GroupModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Specified by:
toXmlString in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Group>
Specified by:
toXmlString in interface com.liferay.portal.kernel.model.GroupModel

Liferay 7.0-ga1 portal-impl