|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.impl.BaseModelImpl<Group> com.liferay.portal.model.impl.GroupModelImpl
@JSON(strict=true) public class GroupModelImpl
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
.
GroupImpl
,
Group
,
GroupModel
,
Serialized FormConstructor 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 |
---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static long ACTIVE_COLUMN_BITMASK
public static long CLASSNAMEID_COLUMN_BITMASK
public static long CLASSPK_COLUMN_BITMASK
public static long COMPANYID_COLUMN_BITMASK
public static long FRIENDLYURL_COLUMN_BITMASK
public static long LIVEGROUPID_COLUMN_BITMASK
public static long NAME_COLUMN_BITMASK
public static long TYPE_COLUMN_BITMASK
public static final String MAPPING_TABLE_GROUPS_ORGS_NAME
public static final Object[][] MAPPING_TABLE_GROUPS_ORGS_COLUMNS
public static final String MAPPING_TABLE_GROUPS_ORGS_SQL_CREATE
public static final boolean FINDER_CACHE_ENABLED_GROUPS_ORGS
public static final String MAPPING_TABLE_GROUPS_PERMISSIONS_NAME
public static final Object[][] MAPPING_TABLE_GROUPS_PERMISSIONS_COLUMNS
public static final String MAPPING_TABLE_GROUPS_PERMISSIONS_SQL_CREATE
public static final boolean FINDER_CACHE_ENABLED_GROUPS_PERMISSIONS
public static final String MAPPING_TABLE_GROUPS_ROLES_NAME
public static final Object[][] MAPPING_TABLE_GROUPS_ROLES_COLUMNS
public static final String MAPPING_TABLE_GROUPS_ROLES_SQL_CREATE
public static final boolean FINDER_CACHE_ENABLED_GROUPS_ROLES
public static final String MAPPING_TABLE_GROUPS_USERGROUPS_NAME
public static final Object[][] MAPPING_TABLE_GROUPS_USERGROUPS_COLUMNS
public static final String MAPPING_TABLE_GROUPS_USERGROUPS_SQL_CREATE
public static final boolean FINDER_CACHE_ENABLED_GROUPS_USERGROUPS
public static final String MAPPING_TABLE_USERS_GROUPS_NAME
public static final Object[][] MAPPING_TABLE_USERS_GROUPS_COLUMNS
public static final String MAPPING_TABLE_USERS_GROUPS_SQL_CREATE
public static final boolean FINDER_CACHE_ENABLED_USERS_GROUPS
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public GroupModelImpl()
Method Detail |
---|
public static Group toModel(GroupSoap soapModel)
soapModel
- the soap model instance to convert
public static List<Group> toModels(GroupSoap[] soapModels)
soapModels
- the soap model instances to convert
public long getPrimaryKey()
GroupModel
getPrimaryKey
in interface GroupModel
public void setPrimaryKey(long primaryKey)
GroupModel
setPrimaryKey
in interface GroupModel
primaryKey
- the primary key of this grouppublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Group>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface GroupModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<Group>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface GroupModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<Group>
getModelAttributes
in class BaseModelImpl<Group>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<Group>
setModelAttributes
in class BaseModelImpl<Group>
@JSON public long getGroupId()
GroupModel
getGroupId
in interface GroupModel
public void setGroupId(long groupId)
GroupModel
setGroupId
in interface GroupModel
groupId
- the group ID of this group@JSON public long getCompanyId()
GroupModel
getCompanyId
in interface GroupModel
public void setCompanyId(long companyId)
GroupModel
setCompanyId
in interface GroupModel
companyId
- the company ID of this grouppublic long getOriginalCompanyId()
@JSON public long getCreatorUserId()
GroupModel
getCreatorUserId
in interface GroupModel
public void setCreatorUserId(long creatorUserId)
GroupModel
setCreatorUserId
in interface GroupModel
creatorUserId
- the creator user ID of this grouppublic String getCreatorUserUuid() throws SystemException
GroupModel
getCreatorUserUuid
in interface GroupModel
SystemException
- if a system exception occurredpublic void setCreatorUserUuid(String creatorUserUuid)
GroupModel
setCreatorUserUuid
in interface GroupModel
creatorUserUuid
- the creator user uuid of this grouppublic String getClassName()
GroupModel
getClassName
in interface AttachedModel
getClassName
in interface GroupModel
public void setClassName(String className)
setClassName
in interface GroupModel
@JSON public long getClassNameId()
GroupModel
getClassNameId
in interface AttachedModel
getClassNameId
in interface GroupModel
public void setClassNameId(long classNameId)
GroupModel
setClassNameId
in interface AttachedModel
setClassNameId
in interface GroupModel
classNameId
- the class name ID of this grouppublic long getOriginalClassNameId()
@JSON public long getClassPK()
GroupModel
getClassPK
in interface AttachedModel
getClassPK
in interface GroupModel
public void setClassPK(long classPK)
GroupModel
setClassPK
in interface AttachedModel
setClassPK
in interface GroupModel
classPK
- the class p k of this grouppublic long getOriginalClassPK()
@JSON public long getParentGroupId()
GroupModel
getParentGroupId
in interface GroupModel
public void setParentGroupId(long parentGroupId)
GroupModel
setParentGroupId
in interface GroupModel
parentGroupId
- the parent group ID of this group@JSON public long getLiveGroupId()
GroupModel
getLiveGroupId
in interface GroupModel
public void setLiveGroupId(long liveGroupId)
GroupModel
setLiveGroupId
in interface GroupModel
liveGroupId
- the live group ID of this grouppublic long getOriginalLiveGroupId()
@JSON public String getName()
GroupModel
getName
in interface GroupModel
public void setName(String name)
GroupModel
setName
in interface GroupModel
name
- the name of this grouppublic String getOriginalName()
@JSON public String getDescription()
GroupModel
getDescription
in interface GroupModel
public void setDescription(String description)
GroupModel
setDescription
in interface GroupModel
description
- the description of this group@JSON public int getType()
GroupModel
getType
in interface GroupModel
public void setType(int type)
GroupModel
setType
in interface GroupModel
type
- the type of this grouppublic int getOriginalType()
@JSON public String getTypeSettings()
GroupModel
getTypeSettings
in interface GroupModel
public void setTypeSettings(String typeSettings)
GroupModel
setTypeSettings
in interface GroupModel
typeSettings
- the type settings of this group@JSON public String getFriendlyURL()
GroupModel
getFriendlyURL
in interface GroupModel
public void setFriendlyURL(String friendlyURL)
GroupModel
setFriendlyURL
in interface GroupModel
friendlyURL
- the friendly u r l of this grouppublic String getOriginalFriendlyURL()
@JSON public boolean getSite()
GroupModel
getSite
in interface GroupModel
public boolean isSite()
GroupModel
true
if this group is site.
isSite
in interface GroupModel
true
if this group is site; false
otherwisepublic void setSite(boolean site)
GroupModel
setSite
in interface GroupModel
site
- the site of this group@JSON public boolean getActive()
GroupModel
getActive
in interface GroupModel
public boolean isActive()
GroupModel
true
if this group is active.
isActive
in interface GroupModel
true
if this group is active; false
otherwisepublic void setActive(boolean active)
GroupModel
setActive
in interface GroupModel
active
- the active of this grouppublic boolean getOriginalActive()
public long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Group>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface GroupModel
getExpandoBridge
in class BaseModelImpl<Group>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Group>
setExpandoBridgeAttributes
in interface GroupModel
setExpandoBridgeAttributes
in class BaseModelImpl<Group>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public Group toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<Group>
toEscapedModel
in interface GroupModel
toEscapedModel
in class BaseModelImpl<Group>
AutoEscapeBeanHandler
public Group toUnescapedModel()
toUnescapedModel
in interface BaseModel<Group>
toUnescapedModel
in interface GroupModel
toUnescapedModel
in class BaseModelImpl<Group>
public Object clone()
BaseModel
clone
in interface BaseModel<Group>
clone
in interface GroupModel
clone
in class BaseModelImpl<Group>
public int compareTo(Group group)
compareTo
in interface GroupModel
compareTo
in interface Comparable<Group>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface GroupModel
hashCode
in class Object
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<Group>
resetOriginalValues
in class BaseModelImpl<Group>
public CacheModel<Group> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<Group>
toCacheModel
in interface GroupModel
toCacheModel
in class BaseModelImpl<Group>
public String toString()
toString
in interface GroupModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<Group>
toXmlString
in interface GroupModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |