|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GroupModel
The base model interface for the Group service. Represents a row in the "Group_" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation GroupModelImpl 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 interface directly. All methods that expect a group model instance should use the Group interface instead.
Group,
GroupImpl,
GroupModelImpl| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Group group)
|
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 |
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. |
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
void |
setActive(boolean active)
Sets whether this {$entity.humanName} is active. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
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 |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
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 |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
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. |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Method Detail |
|---|
long getPrimaryKey()
void setPrimaryKey(long pk)
pk - the primary key of this grouplong getGroupId()
void setGroupId(long groupId)
groupId - the group id of this grouplong getCompanyId()
void setCompanyId(long companyId)
companyId - the company id of this grouplong getCreatorUserId()
void setCreatorUserId(long creatorUserId)
creatorUserId - the creator user id of this group
String getCreatorUserUuid()
throws SystemException
SystemException - if a system exception occurredvoid setCreatorUserUuid(String creatorUserUuid)
creatorUserUuid - the creator user uuid of this groupString getClassName()
long getClassNameId()
void setClassNameId(long classNameId)
classNameId - the class name id of this grouplong getClassPK()
void setClassPK(long classPK)
classPK - the class p k of this grouplong getParentGroupId()
void setParentGroupId(long parentGroupId)
parentGroupId - the parent group id of this grouplong getLiveGroupId()
void setLiveGroupId(long liveGroupId)
liveGroupId - the live group id of this group@AutoEscape String getName()
void setName(String name)
name - the name of this group@AutoEscape String getDescription()
void setDescription(String description)
description - the description of this groupint getType()
void setType(int type)
type - the type of this group@AutoEscape String getTypeSettings()
void setTypeSettings(String typeSettings)
typeSettings - the type settings of this group@AutoEscape String getFriendlyURL()
void setFriendlyURL(String friendlyURL)
friendlyURL - the friendly u r l of this groupboolean getActive()
boolean isActive()
void setActive(boolean active)
active - the active of this groupGroup toEscapedModel()
AutoEscapeBeanHandler.
AutoEscapeBeanHandlerboolean isNew()
BaseModel
isNew in interface BaseModel<Group>true if this model instance does not yet exist in
the database; false otherwisevoid setNew(boolean n)
BaseModel
setNew in interface BaseModel<Group>n - whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<Group>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<Group>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<Group>true if this model instance is escaped;
false otherwiseBaseModel.setEscapedModel(boolean)void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel method. For example,
UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<Group>escapedModel - whether this model instance is escapedAutoEscapeBeanHandlerSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Group>ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Group>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Group>serviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)Object clone()
BaseModel
clone in interface BaseModel<Group>int compareTo(Group group)
compareTo in interface Comparable<Group>int hashCode()
hashCode in class ObjectString toString()
toString in class ObjectString toXmlString()
BaseModel
toXmlString in interface BaseModel<Group>
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||