|
Liferay 6.1.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<ResourceCode>
com.liferay.portal.model.impl.ResourceCodeModelImpl
public class ResourceCodeModelImpl
The base model implementation for the ResourceCode service. Represents a row in the "ResourceCode" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface ResourceCodeModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ResourceCodeImpl.
ResourceCodeImpl,
ResourceCode,
ResourceCodeModel,
Serialized Form| Field Summary | |
|---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static long |
COMPANYID_COLUMN_BITMASK
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static long |
NAME_COLUMN_BITMASK
|
static long |
SCOPE_COLUMN_BITMASK
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
| Constructor Summary | |
|---|---|
ResourceCodeModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ResourceCode resourceCode)
|
boolean |
equals(Object obj)
|
long |
getCodeId()
Returns the code ID of this resource code. |
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this resource code. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
String |
getName()
Returns the name of this resource code. |
long |
getOriginalCompanyId()
|
String |
getOriginalName()
|
int |
getOriginalScope()
|
long |
getPrimaryKey()
Returns the primary key of this resource code. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
int |
getScope()
Returns the scope of this resource code. |
int |
hashCode()
|
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCodeId(long codeId)
Sets the code ID of this resource code. |
void |
setCompanyId(long companyId)
Sets the company ID of this resource code. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setName(String name)
Sets the name of this resource code. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this resource code. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setScope(int scope)
Sets the scope of this resource code. |
CacheModel<ResourceCode> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
ResourceCode |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.model.ResourceCodeModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, 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 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 boolean COLUMN_BITMASK_ENABLED
public static long COMPANYID_COLUMN_BITMASK
public static long NAME_COLUMN_BITMASK
public static long SCOPE_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public ResourceCodeModelImpl()
| Method Detail |
|---|
public long getPrimaryKey()
ResourceCodeModel
getPrimaryKey in interface ResourceCodeModelpublic void setPrimaryKey(long primaryKey)
ResourceCodeModel
setPrimaryKey in interface ResourceCodeModelprimaryKey - the primary key of this resource codepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ResourceCode>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface ResourceCodeModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<ResourceCode>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface ResourceCodeModelprimaryKeyObj - the primary key of this model instancepublic Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic long getCodeId()
ResourceCodeModel
getCodeId in interface ResourceCodeModelpublic void setCodeId(long codeId)
ResourceCodeModel
setCodeId in interface ResourceCodeModelcodeId - the code ID of this resource codepublic long getCompanyId()
ResourceCodeModel
getCompanyId in interface ResourceCodeModelpublic void setCompanyId(long companyId)
ResourceCodeModel
setCompanyId in interface ResourceCodeModelcompanyId - the company ID of this resource codepublic long getOriginalCompanyId()
public String getName()
ResourceCodeModel
getName in interface ResourceCodeModelpublic void setName(String name)
ResourceCodeModel
setName in interface ResourceCodeModelname - the name of this resource codepublic String getOriginalName()
public int getScope()
ResourceCodeModel
getScope in interface ResourceCodeModelpublic void setScope(int scope)
ResourceCodeModel
setScope in interface ResourceCodeModelscope - the scope of this resource codepublic int getOriginalScope()
public long getColumnBitmask()
public ResourceCode toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<ResourceCode>toEscapedModel in interface ResourceCodeModeltoEscapedModel in class BaseModelImpl<ResourceCode>AutoEscapeBeanHandlerpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ResourceCode>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface ResourceCodeModelgetExpandoBridge in class BaseModelImpl<ResourceCode>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ResourceCode>setExpandoBridgeAttributes in interface ResourceCodeModelsetExpandoBridgeAttributes in class BaseModelImpl<ResourceCode>serviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<ResourceCode>clone in interface ResourceCodeModelclone in class BaseModelImpl<ResourceCode>public int compareTo(ResourceCode resourceCode)
compareTo in interface ResourceCodeModelcompareTo in interface Comparable<ResourceCode>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface ResourceCodeModelhashCode in class Objectpublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<ResourceCode>resetOriginalValues in class BaseModelImpl<ResourceCode>public CacheModel<ResourceCode> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<ResourceCode>toCacheModel in interface ResourceCodeModeltoCacheModel in class BaseModelImpl<ResourceCode>public String toString()
toString in interface ResourceCodeModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<ResourceCode>toXmlString in interface ResourceCodeModel
|
Liferay 6.1.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||