|
Liferay 6.1.0-ce-ga1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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 Form| 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. |
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 |
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 |
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()
|
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 GroupModelpublic void setPrimaryKey(long primaryKey)
GroupModel
setPrimaryKey in interface GroupModelprimaryKey - the primary key of this grouppublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Group>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface GroupModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<Group>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface GroupModelprimaryKeyObj - the primary key of this model instancepublic Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModel@JSON public long getGroupId()
GroupModel
getGroupId in interface GroupModelpublic void setGroupId(long groupId)
GroupModel
setGroupId in interface GroupModelgroupId - the group ID of this group@JSON public long getCompanyId()
GroupModel
getCompanyId in interface GroupModelpublic void setCompanyId(long companyId)
GroupModel
setCompanyId in interface GroupModelcompanyId - the company ID of this grouppublic long getOriginalCompanyId()
@JSON public long getCreatorUserId()
GroupModel
getCreatorUserId in interface GroupModelpublic void setCreatorUserId(long creatorUserId)
GroupModel
setCreatorUserId in interface GroupModelcreatorUserId - the creator user ID of this group
public String getCreatorUserUuid()
throws SystemException
GroupModel
getCreatorUserUuid in interface GroupModelSystemException - if a system exception occurredpublic void setCreatorUserUuid(String creatorUserUuid)
GroupModel
setCreatorUserUuid in interface GroupModelcreatorUserUuid - the creator user uuid of this grouppublic String getClassName()
GroupModel
getClassName in interface AttachedModelgetClassName in interface GroupModel@JSON public long getClassNameId()
GroupModel
getClassNameId in interface AttachedModelgetClassNameId in interface GroupModelpublic void setClassNameId(long classNameId)
GroupModel
setClassNameId in interface AttachedModelsetClassNameId in interface GroupModelclassNameId - the class name ID of this grouppublic long getOriginalClassNameId()
@JSON public long getClassPK()
GroupModel
getClassPK in interface AttachedModelgetClassPK in interface GroupModelpublic void setClassPK(long classPK)
GroupModel
setClassPK in interface AttachedModelsetClassPK in interface GroupModelclassPK - the class p k of this grouppublic long getOriginalClassPK()
@JSON public long getParentGroupId()
GroupModel
getParentGroupId in interface GroupModelpublic void setParentGroupId(long parentGroupId)
GroupModel
setParentGroupId in interface GroupModelparentGroupId - the parent group ID of this group@JSON public long getLiveGroupId()
GroupModel
getLiveGroupId in interface GroupModelpublic void setLiveGroupId(long liveGroupId)
GroupModel
setLiveGroupId in interface GroupModelliveGroupId - the live group ID of this grouppublic long getOriginalLiveGroupId()
@JSON public String getName()
GroupModel
getName in interface GroupModelpublic void setName(String name)
GroupModel
setName in interface GroupModelname - the name of this grouppublic String getOriginalName()
@JSON public String getDescription()
GroupModel
getDescription in interface GroupModelpublic void setDescription(String description)
GroupModel
setDescription in interface GroupModeldescription - the description of this group@JSON public int getType()
GroupModel
getType in interface GroupModelpublic void setType(int type)
GroupModel
setType in interface GroupModeltype - the type of this grouppublic int getOriginalType()
@JSON public String getTypeSettings()
GroupModel
getTypeSettings in interface GroupModelpublic void setTypeSettings(String typeSettings)
GroupModel
setTypeSettings in interface GroupModeltypeSettings - the type settings of this group@JSON public String getFriendlyURL()
GroupModel
getFriendlyURL in interface GroupModelpublic void setFriendlyURL(String friendlyURL)
GroupModel
setFriendlyURL in interface GroupModelfriendlyURL - the friendly u r l of this grouppublic String getOriginalFriendlyURL()
@JSON public boolean getSite()
GroupModel
getSite in interface GroupModelpublic boolean isSite()
GroupModeltrue if this group is site.
isSite in interface GroupModeltrue if this group is site; false otherwisepublic void setSite(boolean site)
GroupModel
setSite in interface GroupModelsite - the site of this group@JSON public boolean getActive()
GroupModel
getActive in interface GroupModelpublic boolean isActive()
GroupModeltrue if this group is active.
isActive in interface GroupModeltrue if this group is active; false otherwisepublic void setActive(boolean active)
GroupModel
setActive in interface GroupModelactive - the active of this grouppublic boolean getOriginalActive()
public long getColumnBitmask()
public Group toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<Group>toEscapedModel in interface GroupModeltoEscapedModel in class BaseModelImpl<Group>AutoEscapeBeanHandlerpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Group>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface GroupModelgetExpandoBridge in class BaseModelImpl<Group>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Group>setExpandoBridgeAttributes in interface GroupModelsetExpandoBridgeAttributes in class BaseModelImpl<Group>serviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<Group>clone in interface GroupModelclone in class BaseModelImpl<Group>public int compareTo(Group group)
compareTo in interface GroupModelcompareTo in interface Comparable<Group>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface GroupModelhashCode in class Objectpublic 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 GroupModeltoCacheModel in class BaseModelImpl<Group>public String toString()
toString in interface GroupModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Group>toXmlString in interface GroupModel
|
Liferay 6.1.0-ce-ga1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||