|
Liferay 6.0-ee | |||||||||
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
.
Never modify or reference this class directly. All methods that expect a resource code model instance should use the ResourceCode
interface instead.
ResourceCodeImpl
,
ResourceCode
,
ResourceCodeModel
,
Serialized FormField Summary | |
---|---|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
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()
Gets the code id of this resource code. |
long |
getCompanyId()
Gets the company id of this resource code. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getName()
Gets the name of this resource code. |
long |
getOriginalCompanyId()
|
String |
getOriginalName()
|
int |
getOriginalScope()
|
long |
getPrimaryKey()
Gets the primary key of this resource code. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
int |
getScope()
Gets the scope of this resource code. |
int |
hashCode()
|
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 pk)
Sets the primary key of this resource code |
void |
setScope(int scope)
Sets the scope of this resource code. |
ResourceCode |
toEscapedModel()
Gets a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
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 |
Methods inherited from interface com.liferay.portal.model.ResourceCodeModel |
---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, 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 long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public ResourceCodeModelImpl()
Method Detail |
---|
public long getPrimaryKey()
ResourceCodeModel
getPrimaryKey
in interface ResourceCodeModel
public void setPrimaryKey(long pk)
ResourceCodeModel
setPrimaryKey
in interface ResourceCodeModel
pk
- the primary key of this resource codepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<ResourceCode>
getPrimaryKeyObj
in interface ResourceCodeModel
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 ResourceCode toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<ResourceCode>
toEscapedModel
in interface ResourceCodeModel
toEscapedModel
in class BaseModelImpl<ResourceCode>
AutoEscapeBeanHandler
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<ResourceCode>
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 context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
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 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.0-ee | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |