com.liferay.portal.model
Interface UserGroupModel

All Superinterfaces:
BaseModel<UserGroup>, java.lang.Cloneable, java.lang.Comparable<UserGroup>, java.io.Serializable
All Known Subinterfaces:
UserGroup
All Known Implementing Classes:
UserGroupWrapper

public interface UserGroupModel
extends BaseModel<UserGroup>

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface is a model that represents the UserGroup table in the database.

Author:
Brian Wing Shun Chan
See Also:
UserGroup, UserGroupImpl, UserGroupModelImpl
Generated:

Method Summary
 java.lang.Object clone()
           
 int compareTo(UserGroup userGroup)
           
 long getCompanyId()
           
 java.lang.String getDescription()
           
 ExpandoBridge getExpandoBridge()
           
 java.lang.String getName()
           
 long getParentUserGroupId()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 long getUserGroupId()
           
 int hashCode()
           
 boolean isCachedModel()
           
 boolean isEscapedModel()
           
 boolean isNew()
           
 void setCachedModel(boolean cachedModel)
           
 void setCompanyId(long companyId)
           
 void setDescription(java.lang.String description)
           
 void setEscapedModel(boolean escapedModel)
           
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
           
 void setName(java.lang.String name)
           
 boolean setNew(boolean n)
           
 void setParentUserGroupId(long parentUserGroupId)
           
 void setPrimaryKey(long pk)
           
 void setUserGroupId(long userGroupId)
           
 UserGroup toEscapedModel()
           
 java.lang.String toString()
           
 java.lang.String toXmlString()
           
 

Method Detail

getPrimaryKey

long getPrimaryKey()

setPrimaryKey

void setPrimaryKey(long pk)

getUserGroupId

long getUserGroupId()

setUserGroupId

void setUserGroupId(long userGroupId)

getCompanyId

long getCompanyId()

setCompanyId

void setCompanyId(long companyId)

getParentUserGroupId

long getParentUserGroupId()

setParentUserGroupId

void setParentUserGroupId(long parentUserGroupId)

getName

@AutoEscape
java.lang.String getName()

setName

void setName(java.lang.String name)

getDescription

@AutoEscape
java.lang.String getDescription()

setDescription

void setDescription(java.lang.String description)

isNew

boolean isNew()
Specified by:
isNew in interface BaseModel<UserGroup>

setNew

boolean setNew(boolean n)
Specified by:
setNew in interface BaseModel<UserGroup>

isCachedModel

boolean isCachedModel()
Specified by:
isCachedModel in interface BaseModel<UserGroup>

setCachedModel

void setCachedModel(boolean cachedModel)
Specified by:
setCachedModel in interface BaseModel<UserGroup>

isEscapedModel

boolean isEscapedModel()
Specified by:
isEscapedModel in interface BaseModel<UserGroup>

setEscapedModel

void setEscapedModel(boolean escapedModel)
Specified by:
setEscapedModel in interface BaseModel<UserGroup>

getPrimaryKeyObj

java.io.Serializable getPrimaryKeyObj()
Specified by:
getPrimaryKeyObj in interface BaseModel<UserGroup>

getExpandoBridge

ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface BaseModel<UserGroup>

setExpandoBridgeAttributes

void setExpandoBridgeAttributes(ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<UserGroup>

clone

java.lang.Object clone()
Specified by:
clone in interface BaseModel<UserGroup>

compareTo

int compareTo(UserGroup userGroup)
Specified by:
compareTo in interface java.lang.Comparable<UserGroup>

hashCode

int hashCode()
Overrides:
hashCode in class java.lang.Object

toEscapedModel

UserGroup toEscapedModel()
Specified by:
toEscapedModel in interface BaseModel<UserGroup>

toString

java.lang.String toString()
Overrides:
toString in class java.lang.Object

toXmlString

java.lang.String toXmlString()
Specified by:
toXmlString in interface BaseModel<UserGroup>