|
Liferay 6.0.5 | |||||||||
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
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
.
Never modify or reference this class directly. All methods that expect a group model instance should use the Group
interface instead.
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()
Gets the active of this group. |
String |
getClassName()
Gets the class name of the model instance this group is polymorphically associated with. |
long |
getClassNameId()
Gets the class name id of this group. |
long |
getClassPK()
Gets the class p k of this group. |
long |
getCompanyId()
Gets the company id of this group. |
long |
getCreatorUserId()
Gets the creator user id of this group. |
String |
getCreatorUserUuid()
Gets the creator user uuid of this group. |
String |
getDescription()
Gets the description of this group. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getFriendlyURL()
Gets the friendly u r l of this group. |
long |
getGroupId()
Gets the group id of this group. |
long |
getLiveGroupId()
Gets the live group id of this group. |
String |
getName()
Gets the name of this group. |
long |
getOriginalClassNameId()
|
long |
getOriginalClassPK()
|
long |
getOriginalCompanyId()
|
String |
getOriginalFriendlyURL()
|
long |
getOriginalLiveGroupId()
|
String |
getOriginalName()
|
long |
getParentGroupId()
Gets the parent group id of this group. |
long |
getPrimaryKey()
Gets the primary key of this group. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
int |
getType()
Gets the type of this group. |
String |
getTypeSettings()
Gets the type settings of this group. |
int |
hashCode()
|
boolean |
isActive()
Determines whether this group is active. |
void |
setActive(boolean active)
Sets whether this {$entity.humanName} 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 pk)
Sets the primary key of this group |
void |
setType(int type)
Sets the type of this group. |
void |
setTypeSettings(String typeSettings)
Sets the type settings of this group. |
Group |
toEscapedModel()
Gets a copy of this group 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()
Gets the XML representation of this model instance. |
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.liferay.portal.model.GroupModel |
---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, 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 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 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 pk)
GroupModel
setPrimaryKey
in interface GroupModel
pk
- the primary key of this grouppublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Group>
getPrimaryKeyObj
in interface GroupModel
public long getGroupId()
GroupModel
getGroupId
in interface GroupModel
public void setGroupId(long groupId)
GroupModel
setGroupId
in interface GroupModel
groupId
- the group id of this grouppublic 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()
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 GroupModel
public long getClassNameId()
GroupModel
getClassNameId
in interface GroupModel
public void setClassNameId(long classNameId)
GroupModel
setClassNameId
in interface GroupModel
classNameId
- the class name id of this grouppublic long getOriginalClassNameId()
public long getClassPK()
GroupModel
getClassPK
in interface GroupModel
public void setClassPK(long classPK)
GroupModel
setClassPK
in interface GroupModel
classPK
- the class p k of this grouppublic long getOriginalClassPK()
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 grouppublic 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()
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()
public String getDescription()
GroupModel
getDescription
in interface GroupModel
public void setDescription(String description)
GroupModel
setDescription
in interface GroupModel
description
- the description of this grouppublic int getType()
GroupModel
getType
in interface GroupModel
public void setType(int type)
GroupModel
setType
in interface GroupModel
type
- the type of this grouppublic String getTypeSettings()
GroupModel
getTypeSettings
in interface GroupModel
public void setTypeSettings(String typeSettings)
GroupModel
setTypeSettings
in interface GroupModel
typeSettings
- the type settings of this grouppublic 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()
public boolean getActive()
GroupModel
getActive
in interface GroupModel
public boolean isActive()
GroupModel
isActive
in interface GroupModel
public void setActive(boolean active)
GroupModel
setActive
in interface GroupModel
active
- the active of this grouppublic Group toEscapedModel()
GroupModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface GroupModel
AutoEscapeBeanHandler
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Group>
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 context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
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 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.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |