com.liferay.portal.model.impl
Class RoleModelImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Role>
com.liferay.portal.model.impl.RoleModelImpl
- All Implemented Interfaces:
- com.liferay.portal.model.BaseModel<com.liferay.portal.model.Role>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<com.liferay.portal.model.Role>
- Direct Known Subclasses:
- RoleImpl
public class RoleModelImpl
- extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Role>
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:
Role
,
RoleModel
,
RoleImpl
,
Serialized Form
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 |
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
DATA_SOURCE
public static final java.lang.String DATA_SOURCE
- See Also:
- Constant Field Values
SESSION_FACTORY
public static final java.lang.String SESSION_FACTORY
- See Also:
- Constant Field Values
TX_MANAGER
public static final java.lang.String TX_MANAGER
- See Also:
- Constant Field Values
ENTITY_CACHE_ENABLED
public static final boolean ENTITY_CACHE_ENABLED
FINDER_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
FINDER_CACHE_ENABLED_GROUPS_ROLES
public static final boolean FINDER_CACHE_ENABLED_GROUPS_ROLES
FINDER_CACHE_ENABLED_ROLES_PERMISSIONS
public static final boolean FINDER_CACHE_ENABLED_ROLES_PERMISSIONS
FINDER_CACHE_ENABLED_USERS_ROLES
public static final boolean FINDER_CACHE_ENABLED_USERS_ROLES
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
RoleModelImpl
public RoleModelImpl()
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)
getOriginalCompanyId
public long getOriginalCompanyId()
getClassName
public java.lang.String getClassName()
getClassNameId
public long getClassNameId()
setClassNameId
public void setClassNameId(long classNameId)
getOriginalClassNameId
public long getOriginalClassNameId()
getClassPK
public long getClassPK()
setClassPK
public void setClassPK(long classPK)
getOriginalClassPK
public long getOriginalClassPK()
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getOriginalName
public java.lang.String getOriginalName()
getTitle
public java.lang.String getTitle()
setTitle
public void setTitle(java.lang.String title)
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String description)
getType
public int getType()
setType
public void setType(int type)
getSubtype
public java.lang.String getSubtype()
setSubtype
public void setSubtype(java.lang.String subtype)
toEscapedModel
public com.liferay.portal.model.Role toEscapedModel()
getExpandoBridge
public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge
in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Role>
- Overrides:
getExpandoBridge
in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Role>
clone
public java.lang.Object clone()
- Specified by:
clone
in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.Role>
- Specified by:
clone
in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.Role>
compareTo
public int compareTo(com.liferay.portal.model.Role role)
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
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toXmlString
public java.lang.String toXmlString()