|
Liferay 6.1.2-ce-ga3 | |||||||||
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 FormField 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. |
Map<String,Object> |
getModelAttributes()
|
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 |
setModelAttributes(Map<String,Object> attributes)
|
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()
|
ResourceCode |
toUnescapedModel()
|
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 ResourceCodeModel
public void setPrimaryKey(long primaryKey)
ResourceCodeModel
setPrimaryKey
in interface ResourceCodeModel
primaryKey
- the primary key of this resource codepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<ResourceCode>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface ResourceCodeModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<ResourceCode>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface ResourceCodeModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<ResourceCode>
getModelAttributes
in class BaseModelImpl<ResourceCode>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<ResourceCode>
setModelAttributes
in class BaseModelImpl<ResourceCode>
public long getCodeId()
ResourceCodeModel
getCodeId
in interface ResourceCodeModel
public void setCodeId(long codeId)
ResourceCodeModel
setCodeId
in interface ResourceCodeModel
codeId
- the code ID of this resource codepublic long getCompanyId()
ResourceCodeModel
getCompanyId
in interface ResourceCodeModel
public void setCompanyId(long companyId)
ResourceCodeModel
setCompanyId
in interface ResourceCodeModel
companyId
- the company ID of this resource codepublic long getOriginalCompanyId()
public String getName()
ResourceCodeModel
getName
in interface ResourceCodeModel
public void setName(String name)
ResourceCodeModel
setName
in interface ResourceCodeModel
name
- the name of this resource codepublic String getOriginalName()
public int getScope()
ResourceCodeModel
getScope
in interface ResourceCodeModel
public void setScope(int scope)
ResourceCodeModel
setScope
in interface ResourceCodeModel
scope
- the scope of this resource codepublic int getOriginalScope()
public long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<ResourceCode>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface ResourceCodeModel
getExpandoBridge
in class BaseModelImpl<ResourceCode>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<ResourceCode>
setExpandoBridgeAttributes
in interface ResourceCodeModel
setExpandoBridgeAttributes
in class BaseModelImpl<ResourceCode>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public ResourceCode toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<ResourceCode>
toEscapedModel
in interface ResourceCodeModel
toEscapedModel
in class BaseModelImpl<ResourceCode>
AutoEscapeBeanHandler
public ResourceCode toUnescapedModel()
toUnescapedModel
in interface BaseModel<ResourceCode>
toUnescapedModel
in interface ResourceCodeModel
toUnescapedModel
in class BaseModelImpl<ResourceCode>
public Object clone()
BaseModel
clone
in interface BaseModel<ResourceCode>
clone
in interface ResourceCodeModel
clone
in class BaseModelImpl<ResourceCode>
public int compareTo(ResourceCode resourceCode)
compareTo
in interface ResourceCodeModel
compareTo
in interface Comparable<ResourceCode>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface ResourceCodeModel
hashCode
in class Object
public 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 ResourceCodeModel
toCacheModel
in class BaseModelImpl<ResourceCode>
public String toString()
toString
in interface ResourceCodeModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<ResourceCode>
toXmlString
in interface ResourceCodeModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |