com.liferay.portal.model.impl
Class RoleModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl
      extended by com.liferay.portal.model.impl.RoleModelImpl
All Implemented Interfaces:
com.liferay.portal.model.BaseModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable
Direct Known Subclasses:
RoleImpl

public class RoleModelImpl
extends BaseModelImpl

View Source

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

This class is a model that represents the Role table in the database.

Author:
Brian Wing Shun Chan
See Also:
com.liferay.portal.service.model.Role, com.liferay.portal.service.model.RoleModel, com.liferay.portal.service.model.impl.RoleImpl, Serialized Form

Field Summary
static boolean CACHE_ENABLED
           
static boolean CACHE_ENABLED_GROUPS_ROLES
           
static boolean CACHE_ENABLED_ROLES_PERMISSIONS
           
static boolean CACHE_ENABLED_USERS_ROLES
           
static long LOCK_EXPIRATION_TIME
           
static java.lang.Object[][] TABLE_COLUMNS
           
static java.lang.String TABLE_NAME
           
static java.lang.String TABLE_SQL_CREATE
           
static java.lang.String TABLE_SQL_DROP
           
 
Constructor Summary
RoleModelImpl()
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(java.lang.Object obj)
           
 boolean equals(java.lang.Object obj)
           
 java.lang.String getClassName()
           
 long getClassNameId()
           
 long getClassPK()
           
 long getCompanyId()
           
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 long getRoleId()
           
 int getType()
           
 int hashCode()
           
 void setClassNameId(long classNameId)
           
 void setClassPK(long classPK)
           
 void setCompanyId(long companyId)
           
 void setDescription(java.lang.String description)
           
 void setName(java.lang.String name)
           
 void setPrimaryKey(long pk)
           
 void setRoleId(long roleId)
           
 void setType(int type)
           
 com.liferay.portal.model.Role toEscapedModel()
           
static com.liferay.portal.model.Role toModel(com.liferay.portal.model.RoleSoap soapModel)
           
static java.util.List<com.liferay.portal.model.Role> toModels(com.liferay.portal.model.RoleSoap[] soapModels)
           
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isEscapedModel, isNew, setEscapedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TABLE_NAME

public static final java.lang.String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final java.lang.Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final java.lang.String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final java.lang.String TABLE_SQL_DROP
See Also:
Constant Field Values

CACHE_ENABLED

public static final boolean CACHE_ENABLED

CACHE_ENABLED_GROUPS_ROLES

public static final boolean CACHE_ENABLED_GROUPS_ROLES

CACHE_ENABLED_ROLES_PERMISSIONS

public static final boolean CACHE_ENABLED_ROLES_PERMISSIONS

CACHE_ENABLED_USERS_ROLES

public static final boolean CACHE_ENABLED_USERS_ROLES

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

RoleModelImpl

public RoleModelImpl()
Method Detail

toModel

public static com.liferay.portal.model.Role toModel(com.liferay.portal.model.RoleSoap soapModel)

toModels

public static java.util.List<com.liferay.portal.model.Role> toModels(com.liferay.portal.model.RoleSoap[] soapModels)

getPrimaryKey

public long getPrimaryKey()

setPrimaryKey

public void setPrimaryKey(long pk)

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()

getRoleId

public long getRoleId()

setRoleId

public void setRoleId(long roleId)

getCompanyId

public long getCompanyId()

setCompanyId

public void setCompanyId(long companyId)

getClassName

public java.lang.String getClassName()

getClassNameId

public long getClassNameId()

setClassNameId

public void setClassNameId(long classNameId)

getClassPK

public long getClassPK()

setClassPK

public void setClassPK(long classPK)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getType

public int getType()

setType

public void setType(int type)

toEscapedModel

public com.liferay.portal.model.Role toEscapedModel()

clone

public java.lang.Object clone()
Specified by:
clone in interface com.liferay.portal.model.BaseModel
Specified by:
clone in class BaseModelImpl

compareTo

public int compareTo(java.lang.Object obj)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

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