Liferay 6.1.2-ce-ga3

com.liferay.portal.model.impl
Class GroupModelImpl

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

@JSON(strict=true)
public class GroupModelImpl
extends BaseModelImpl<Group>
implements 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
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

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_PERMISSIONS
           
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 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_PERMISSIONS_COLUMNS
           
static String MAPPING_TABLE_GROUPS_PERMISSIONS_NAME
           
static String MAPPING_TABLE_GROUPS_PERMISSIONS_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 String SESSION_FACTORY
           
static Object[][] TABLE_COLUMNS
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static String TX_MANAGER
           
static long TYPE_COLUMN_BITMASK
           
 
Constructor Summary
GroupModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(Group group)
           
 boolean equals(Object obj)
           
 boolean getActive()
          Returns the active of this group.
 String getClassName()
          Returns the fully qualified class name of this group.
 long getClassNameId()
          Returns the class name ID of this group.
 long getClassPK()
          Returns the class p k of this group.
 long getColumnBitmask()
           
 long getCompanyId()
          Returns the company ID of this group.
 long getCreatorUserId()
          Returns the creator user ID of this group.
 String getCreatorUserUuid()
          Returns the creator user uuid of this group.
 String getDescription()
          Returns the description of this group.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 String getFriendlyURL()
          Returns the friendly u r l of this group.
 long getGroupId()
          Returns the group ID of this group.
 long getLiveGroupId()
          Returns the live group ID of this group.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 String getName()
          Returns the name of this group.
 boolean getOriginalActive()
           
 long getOriginalClassNameId()
           
 long getOriginalClassPK()
           
 long getOriginalCompanyId()
           
 String getOriginalFriendlyURL()
           
 long getOriginalLiveGroupId()
           
 String getOriginalName()
           
 int getOriginalType()
           
 long getParentGroupId()
          Returns the parent group ID of this group.
 long getPrimaryKey()
          Returns the primary key of this group.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 boolean getSite()
          Returns the site of this group.
 int getType()
          Returns the type of this group.
 String getTypeSettings()
          Returns the type settings of this group.
 int hashCode()
           
 boolean isActive()
          Returns true if this group is active.
 boolean isSite()
          Returns true if this group is site.
 void resetOriginalValues()
          Reset all original fields to current values.
 void setActive(boolean active)
          Sets whether this group is active.
 void setClassName(String className)
           
 void setClassNameId(long classNameId)
          Sets the class name ID of this group.
 void setClassPK(long classPK)
          Sets the class p k of this group.
 void setCompanyId(long companyId)
          Sets the company ID of this group.
 void setCreatorUserId(long creatorUserId)
          Sets the creator user ID of this group.
 void setCreatorUserUuid(String creatorUserUuid)
          Sets the creator user uuid of this group.
 void setDescription(String description)
          Sets the description of this group.
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setFriendlyURL(String friendlyURL)
          Sets the friendly u r l of this group.
 void setGroupId(long groupId)
          Sets the group ID of this group.
 void setLiveGroupId(long liveGroupId)
          Sets the live group ID of this group.
 void setModelAttributes(Map<String,Object> attributes)
           
 void setName(String name)
          Sets the name of this group.
 void setParentGroupId(long parentGroupId)
          Sets the parent group ID of this group.
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this group.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setSite(boolean site)
          Sets whether this group is site.
 void setType(int type)
          Sets the type of this group.
 void setTypeSettings(String typeSettings)
          Sets the type settings of this group.
 CacheModel<Group> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 Group toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
static Group toModel(GroupSoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<Group> toModels(GroupSoap[] soapModels)
          Converts the soap model instances into normal model instances.
 String toString()
           
 Group toUnescapedModel()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.model.GroupModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

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 long ACTIVE_COLUMN_BITMASK

CLASSNAMEID_COLUMN_BITMASK

public static long CLASSNAMEID_COLUMN_BITMASK

CLASSPK_COLUMN_BITMASK

public static long CLASSPK_COLUMN_BITMASK

COMPANYID_COLUMN_BITMASK

public static long COMPANYID_COLUMN_BITMASK

FRIENDLYURL_COLUMN_BITMASK

public static long FRIENDLYURL_COLUMN_BITMASK

LIVEGROUPID_COLUMN_BITMASK

public static long LIVEGROUPID_COLUMN_BITMASK

NAME_COLUMN_BITMASK

public static long NAME_COLUMN_BITMASK

TYPE_COLUMN_BITMASK

public static long TYPE_COLUMN_BITMASK

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_PERMISSIONS_NAME

public static final String MAPPING_TABLE_GROUPS_PERMISSIONS_NAME
See Also:
Constant Field Values

MAPPING_TABLE_GROUPS_PERMISSIONS_COLUMNS

public static final Object[][] MAPPING_TABLE_GROUPS_PERMISSIONS_COLUMNS

MAPPING_TABLE_GROUPS_PERMISSIONS_SQL_CREATE

public static final String MAPPING_TABLE_GROUPS_PERMISSIONS_SQL_CREATE
See Also:
Constant Field Values

FINDER_CACHE_ENABLED_GROUPS_PERMISSIONS

public static final boolean FINDER_CACHE_ENABLED_GROUPS_PERMISSIONS

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 Group toModel(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<Group> toModels(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()
Description copied from interface: GroupModel
Returns the primary key of this group.

Specified by:
getPrimaryKey in interface GroupModel
Returns:
the primary key of this group

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Description copied from interface: GroupModel
Sets the primary key of this group.

Specified by:
setPrimaryKey in interface GroupModel
Parameters:
primaryKey - the primary key of this group

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Returns the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<Group>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface GroupModel
Returns:
the primary key of this model instance

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<Group>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface GroupModel
Parameters:
primaryKeyObj - the primary key of this model instance

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<Group>
Overrides:
getModelAttributes in class BaseModelImpl<Group>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<Group>
Overrides:
setModelAttributes in class BaseModelImpl<Group>

getGroupId

@JSON
public long getGroupId()
Description copied from interface: GroupModel
Returns the group ID of this group.

Specified by:
getGroupId in interface GroupModel
Returns:
the group ID of this group

setGroupId

public void setGroupId(long groupId)
Description copied from interface: GroupModel
Sets the group ID of this group.

Specified by:
setGroupId in interface GroupModel
Parameters:
groupId - the group ID of this group

getCompanyId

@JSON
public long getCompanyId()
Description copied from interface: GroupModel
Returns the company ID of this group.

Specified by:
getCompanyId in interface GroupModel
Returns:
the company ID of this group

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: GroupModel
Sets the company ID of this group.

Specified by:
setCompanyId in interface GroupModel
Parameters:
companyId - the company ID of this group

getOriginalCompanyId

public long getOriginalCompanyId()

getCreatorUserId

@JSON
public long getCreatorUserId()
Description copied from interface: GroupModel
Returns the creator user ID of this group.

Specified by:
getCreatorUserId in interface GroupModel
Returns:
the creator user ID of this group

setCreatorUserId

public void setCreatorUserId(long creatorUserId)
Description copied from interface: GroupModel
Sets the creator user ID of this group.

Specified by:
setCreatorUserId in interface GroupModel
Parameters:
creatorUserId - the creator user ID of this group

getCreatorUserUuid

public String getCreatorUserUuid()
                          throws SystemException
Description copied from interface: GroupModel
Returns the creator user uuid of this group.

Specified by:
getCreatorUserUuid in interface GroupModel
Returns:
the creator user uuid of this group
Throws:
SystemException - if a system exception occurred

setCreatorUserUuid

public void setCreatorUserUuid(String creatorUserUuid)
Description copied from interface: GroupModel
Sets the creator user uuid of this group.

Specified by:
setCreatorUserUuid in interface GroupModel
Parameters:
creatorUserUuid - the creator user uuid of this group

getClassName

public String getClassName()
Description copied from interface: GroupModel
Returns the fully qualified class name of this group.

Specified by:
getClassName in interface AttachedModel
Specified by:
getClassName in interface GroupModel
Returns:
the fully qualified class name of this group

setClassName

public void setClassName(String className)
Specified by:
setClassName in interface GroupModel

getClassNameId

@JSON
public long getClassNameId()
Description copied from interface: GroupModel
Returns the class name ID of this group.

Specified by:
getClassNameId in interface AttachedModel
Specified by:
getClassNameId in interface GroupModel
Returns:
the class name ID of this group

setClassNameId

public void setClassNameId(long classNameId)
Description copied from interface: GroupModel
Sets the class name ID of this group.

Specified by:
setClassNameId in interface AttachedModel
Specified by:
setClassNameId in interface GroupModel
Parameters:
classNameId - the class name ID of this group

getOriginalClassNameId

public long getOriginalClassNameId()

getClassPK

@JSON
public long getClassPK()
Description copied from interface: GroupModel
Returns the class p k of this group.

Specified by:
getClassPK in interface AttachedModel
Specified by:
getClassPK in interface GroupModel
Returns:
the class p k of this group

setClassPK

public void setClassPK(long classPK)
Description copied from interface: GroupModel
Sets the class p k of this group.

Specified by:
setClassPK in interface AttachedModel
Specified by:
setClassPK in interface GroupModel
Parameters:
classPK - the class p k of this group

getOriginalClassPK

public long getOriginalClassPK()

getParentGroupId

@JSON
public long getParentGroupId()
Description copied from interface: GroupModel
Returns the parent group ID of this group.

Specified by:
getParentGroupId in interface GroupModel
Returns:
the parent group ID of this group

setParentGroupId

public void setParentGroupId(long parentGroupId)
Description copied from interface: GroupModel
Sets the parent group ID of this group.

Specified by:
setParentGroupId in interface GroupModel
Parameters:
parentGroupId - the parent group ID of this group

getLiveGroupId

@JSON
public long getLiveGroupId()
Description copied from interface: GroupModel
Returns the live group ID of this group.

Specified by:
getLiveGroupId in interface GroupModel
Returns:
the live group ID of this group

setLiveGroupId

public void setLiveGroupId(long liveGroupId)
Description copied from interface: GroupModel
Sets the live group ID of this group.

Specified by:
setLiveGroupId in interface GroupModel
Parameters:
liveGroupId - the live group ID of this group

getOriginalLiveGroupId

public long getOriginalLiveGroupId()

getName

@JSON
public String getName()
Description copied from interface: GroupModel
Returns the name of this group.

Specified by:
getName in interface GroupModel
Returns:
the name of this group

setName

public void setName(String name)
Description copied from interface: GroupModel
Sets the name of this group.

Specified by:
setName in interface GroupModel
Parameters:
name - the name of this group

getOriginalName

public String getOriginalName()

getDescription

@JSON
public String getDescription()
Description copied from interface: GroupModel
Returns the description of this group.

Specified by:
getDescription in interface GroupModel
Returns:
the description of this group

setDescription

public void setDescription(String description)
Description copied from interface: GroupModel
Sets the description of this group.

Specified by:
setDescription in interface GroupModel
Parameters:
description - the description of this group

getType

@JSON
public int getType()
Description copied from interface: GroupModel
Returns the type of this group.

Specified by:
getType in interface GroupModel
Returns:
the type of this group

setType

public void setType(int type)
Description copied from interface: GroupModel
Sets the type of this group.

Specified by:
setType in interface GroupModel
Parameters:
type - the type of this group

getOriginalType

public int getOriginalType()

getTypeSettings

@JSON
public String getTypeSettings()
Description copied from interface: GroupModel
Returns the type settings of this group.

Specified by:
getTypeSettings in interface GroupModel
Returns:
the type settings of this group

setTypeSettings

public void setTypeSettings(String typeSettings)
Description copied from interface: GroupModel
Sets the type settings of this group.

Specified by:
setTypeSettings in interface GroupModel
Parameters:
typeSettings - the type settings of this group

getFriendlyURL

@JSON
public String getFriendlyURL()
Description copied from interface: GroupModel
Returns the friendly u r l of this group.

Specified by:
getFriendlyURL in interface GroupModel
Returns:
the friendly u r l of this group

setFriendlyURL

public void setFriendlyURL(String friendlyURL)
Description copied from interface: GroupModel
Sets the friendly u r l of this group.

Specified by:
setFriendlyURL in interface GroupModel
Parameters:
friendlyURL - the friendly u r l of this group

getOriginalFriendlyURL

public String getOriginalFriendlyURL()

getSite

@JSON
public boolean getSite()
Description copied from interface: GroupModel
Returns the site of this group.

Specified by:
getSite in interface GroupModel
Returns:
the site of this group

isSite

public boolean isSite()
Description copied from interface: GroupModel
Returns true if this group is site.

Specified by:
isSite in interface GroupModel
Returns:
true if this group is site; false otherwise

setSite

public void setSite(boolean site)
Description copied from interface: GroupModel
Sets whether this group is site.

Specified by:
setSite in interface GroupModel
Parameters:
site - the site of this group

getActive

@JSON
public boolean getActive()
Description copied from interface: GroupModel
Returns the active of this group.

Specified by:
getActive in interface GroupModel
Returns:
the active of this group

isActive

public boolean isActive()
Description copied from interface: GroupModel
Returns true if this group is active.

Specified by:
isActive in interface GroupModel
Returns:
true if this group is active; false otherwise

setActive

public void setActive(boolean active)
Description copied from interface: GroupModel
Sets whether this group is active.

Specified by:
setActive in interface GroupModel
Parameters:
active - the active of this group

getOriginalActive

public boolean getOriginalActive()

getColumnBitmask

public long getColumnBitmask()

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Returns the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<Group>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface GroupModel
Overrides:
getExpandoBridge in class BaseModelImpl<Group>
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<Group>
Specified by:
setExpandoBridgeAttributes in interface GroupModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<Group>
Parameters:
serviceContext - the service context
See Also:
ServiceContext.getExpandoBridgeAttributes( )

toEscapedModel

public Group toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<Group>
Specified by:
toEscapedModel in interface GroupModel
Overrides:
toEscapedModel in class BaseModelImpl<Group>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public Group toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<Group>
Specified by:
toUnescapedModel in interface GroupModel
Overrides:
toUnescapedModel in class BaseModelImpl<Group>

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<Group>
Specified by:
clone in interface GroupModel
Specified by:
clone in class BaseModelImpl<Group>
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(Group group)
Specified by:
compareTo in interface GroupModel
Specified by:
compareTo in interface Comparable<Group>

equals

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

hashCode

public int hashCode()
Specified by:
hashCode in interface GroupModel
Overrides:
hashCode in class Object

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<Group>
Overrides:
resetOriginalValues in class BaseModelImpl<Group>

toCacheModel

public CacheModel<Group> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<Group>
Specified by:
toCacheModel in interface GroupModel
Overrides:
toCacheModel in class BaseModelImpl<Group>
Returns:
the cache model object

toString

public String toString()
Specified by:
toString in interface GroupModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Returns the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<Group>
Specified by:
toXmlString in interface GroupModel
Returns:
the XML representation of this model instance

Liferay 6.1.2-ce-ga3