|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<Resource>
com.liferay.portal.model.impl.ResourceModelImpl
public class ResourceModelImpl
This interface is a model that represents the Resource_ table in the database.
ResourceImpl,
Resource,
ResourceModel,
Serialized Form| Field 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 | |
|---|---|
ResourceModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Resource resource)
|
boolean |
equals(Object obj)
|
long |
getCodeId()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getOriginalCodeId()
|
String |
getOriginalPrimKey()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
String |
getPrimKey()
|
long |
getResourceId()
|
int |
hashCode()
|
void |
setCodeId(long codeId)
|
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setPrimaryKey(long pk)
|
void |
setPrimKey(String primKey)
|
void |
setResourceId(long resourceId)
|
Resource |
toEscapedModel()
|
static Resource |
toModel(ResourceSoap soapModel)
|
static List<Resource> |
toModels(ResourceSoap[] soapModels)
|
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.ResourceModel |
|---|
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 ResourceModelImpl()
| Method Detail |
|---|
public static Resource toModel(ResourceSoap soapModel)
public static List<Resource> toModels(ResourceSoap[] soapModels)
public long getPrimaryKey()
getPrimaryKey in interface ResourceModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface ResourceModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Resource>getPrimaryKeyObj in interface ResourceModelpublic long getResourceId()
getResourceId in interface ResourceModelpublic void setResourceId(long resourceId)
setResourceId in interface ResourceModelpublic long getCodeId()
getCodeId in interface ResourceModelpublic void setCodeId(long codeId)
setCodeId in interface ResourceModelpublic long getOriginalCodeId()
public String getPrimKey()
getPrimKey in interface ResourceModelpublic void setPrimKey(String primKey)
setPrimKey in interface ResourceModelpublic String getOriginalPrimKey()
public Resource toEscapedModel()
toEscapedModel in interface ResourceModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Resource>getExpandoBridge in interface ResourceModelgetExpandoBridge in class BaseModelImpl<Resource>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Resource>setExpandoBridgeAttributes in interface ResourceModelsetExpandoBridgeAttributes in class BaseModelImpl<Resource>serviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<Resource>clone in interface ResourceModelclone in class BaseModelImpl<Resource>public int compareTo(Resource resource)
compareTo in interface ResourceModelcompareTo in interface Comparable<Resource>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface ResourceModelhashCode in class Objectpublic String toString()
toString in interface ResourceModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Resource>toXmlString in interface ResourceModel
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||