|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RepositoryEntryModel
The base model interface for the RepositoryEntry service. Represents a row in the "RepositoryEntry" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation RepositoryEntryModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in RepositoryEntryImpl
.
RepositoryEntry
,
RepositoryEntryImpl
,
RepositoryEntryModelImpl
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(RepositoryEntry repositoryEntry)
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this repository entry. |
String |
getMappedId()
Returns the mapped ID of this repository entry. |
long |
getPrimaryKey()
Returns the primary key of this repository entry. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getRepositoryEntryId()
Returns the repository entry ID of this repository entry. |
long |
getRepositoryId()
Returns the repository ID of this repository entry. |
String |
getUuid()
Returns the uuid of this repository entry. |
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setGroupId(long groupId)
Sets the group ID of this repository entry. |
void |
setMappedId(String mappedId)
Sets the mapped ID of this repository entry. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this repository entry. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setRepositoryEntryId(long repositoryEntryId)
Sets the repository entry ID of this repository entry. |
void |
setRepositoryId(long repositoryId)
Sets the repository ID of this repository entry. |
void |
setUuid(String uuid)
Sets the uuid of this repository entry. |
CacheModel<RepositoryEntry> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
RepositoryEntry |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
RepositoryEntry |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from interface com.liferay.portal.model.BaseModel |
---|
getModelAttributes, resetOriginalValues, setModelAttributes |
Methods inherited from interface com.liferay.portal.model.ClassedModel |
---|
getModelClass, getModelClassName |
Method Detail |
---|
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this repository entry@AutoEscape String getUuid()
void setUuid(String uuid)
uuid
- the uuid of this repository entrylong getRepositoryEntryId()
void setRepositoryEntryId(long repositoryEntryId)
repositoryEntryId
- the repository entry ID of this repository entrylong getGroupId()
void setGroupId(long groupId)
groupId
- the group ID of this repository entrylong getRepositoryId()
void setRepositoryId(long repositoryId)
repositoryId
- the repository ID of this repository entry@AutoEscape String getMappedId()
void setMappedId(String mappedId)
mappedId
- the mapped ID of this repository entryboolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<RepositoryEntry>
true
if this model instance does not yet exist in
the database; false
otherwisevoid setNew(boolean n)
BaseModel
setNew
in interface BaseModel<RepositoryEntry>
n
- whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<RepositoryEntry>
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<RepositoryEntry>
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<RepositoryEntry>
true
if this model instance is escaped;
false
otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<RepositoryEntry>
getPrimaryKeyObj
in interface ClassedModel
void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<RepositoryEntry>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<RepositoryEntry>
getExpandoBridge
in interface ClassedModel
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<RepositoryEntry>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
Object clone()
BaseModel
clone
in interface BaseModel<RepositoryEntry>
int compareTo(RepositoryEntry repositoryEntry)
compareTo
in interface Comparable<RepositoryEntry>
int hashCode()
hashCode
in class Object
CacheModel<RepositoryEntry> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<RepositoryEntry>
RepositoryEntry toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<RepositoryEntry>
AutoEscapeBeanHandler
RepositoryEntry toUnescapedModel()
toUnescapedModel
in interface BaseModel<RepositoryEntry>
String toString()
toString
in class Object
String toXmlString()
BaseModel
toXmlString
in interface BaseModel<RepositoryEntry>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |