com.liferay.portal.model
Interface ResourceModel
- All Superinterfaces:
- BaseModel<Resource>, java.lang.Cloneable, java.lang.Comparable<Resource>, java.io.Serializable
- All Known Subinterfaces:
- Resource
- All Known Implementing Classes:
- ResourceWrapper
public interface ResourceModel
- extends BaseModel<Resource>
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface is a model that represents the Resource_ table in the
database.
- Author:
- Brian Wing Shun Chan
- See Also:
Resource
,
ResourceImpl
,
ResourceModelImpl
- Generated:
getPrimaryKey
long getPrimaryKey()
setPrimaryKey
void setPrimaryKey(long pk)
getResourceId
long getResourceId()
setResourceId
void setResourceId(long resourceId)
getCodeId
long getCodeId()
setCodeId
void setCodeId(long codeId)
getPrimKey
@AutoEscape
java.lang.String getPrimKey()
setPrimKey
void setPrimKey(java.lang.String primKey)
isNew
boolean isNew()
- Specified by:
isNew
in interface BaseModel<Resource>
setNew
boolean setNew(boolean n)
- Specified by:
setNew
in interface BaseModel<Resource>
isCachedModel
boolean isCachedModel()
- Specified by:
isCachedModel
in interface BaseModel<Resource>
setCachedModel
void setCachedModel(boolean cachedModel)
- Specified by:
setCachedModel
in interface BaseModel<Resource>
isEscapedModel
boolean isEscapedModel()
- Specified by:
isEscapedModel
in interface BaseModel<Resource>
setEscapedModel
void setEscapedModel(boolean escapedModel)
- Specified by:
setEscapedModel
in interface BaseModel<Resource>
getPrimaryKeyObj
java.io.Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj
in interface BaseModel<Resource>
getExpandoBridge
ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge
in interface BaseModel<Resource>
setExpandoBridgeAttributes
void setExpandoBridgeAttributes(ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes
in interface BaseModel<Resource>
clone
java.lang.Object clone()
- Specified by:
clone
in interface BaseModel<Resource>
compareTo
int compareTo(Resource resource)
- Specified by:
compareTo
in interface java.lang.Comparable<Resource>
hashCode
int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toEscapedModel
Resource toEscapedModel()
- Specified by:
toEscapedModel
in interface BaseModel<Resource>
toString
java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toXmlString
java.lang.String toXmlString()
- Specified by:
toXmlString
in interface BaseModel<Resource>