|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.impl.BaseModelImpl<RepositoryEntry> com.liferay.portal.model.impl.RepositoryEntryModelImpl
public class RepositoryEntryModelImpl
The base model implementation for the RepositoryEntry service. Represents a row in the "RepositoryEntry" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface RepositoryEntryModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in RepositoryEntryImpl
.
RepositoryEntryImpl
,
RepositoryEntry
,
RepositoryEntryModel
,
Serialized FormField Summary | |
---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
GROUPID_COLUMN_BITMASK
|
static long |
LOCK_EXPIRATION_TIME
|
static long |
MAPPEDID_COLUMN_BITMASK
|
static long |
REPOSITORYID_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
|
static long |
UUID_COLUMN_BITMASK
|
Constructor Summary | |
---|---|
RepositoryEntryModelImpl()
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(RepositoryEntry repositoryEntry)
|
boolean |
equals(Object obj)
|
long |
getColumnBitmask()
|
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. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getOriginalGroupId()
|
String |
getOriginalMappedId()
|
long |
getOriginalRepositoryId()
|
String |
getOriginalUuid()
|
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()
|
void |
resetOriginalValues()
Reset all original fields to current values. |
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 |
setModelAttributes(Map<String,Object> attributes)
|
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 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.RepositoryEntryModel |
---|
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 GROUPID_COLUMN_BITMASK
public static long MAPPEDID_COLUMN_BITMASK
public static long REPOSITORYID_COLUMN_BITMASK
public static long UUID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public RepositoryEntryModelImpl()
Method Detail |
---|
public long getPrimaryKey()
RepositoryEntryModel
getPrimaryKey
in interface RepositoryEntryModel
public void setPrimaryKey(long primaryKey)
RepositoryEntryModel
setPrimaryKey
in interface RepositoryEntryModel
primaryKey
- the primary key of this repository entrypublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<RepositoryEntry>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface RepositoryEntryModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<RepositoryEntry>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface RepositoryEntryModel
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<RepositoryEntry>
getModelAttributes
in class BaseModelImpl<RepositoryEntry>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<RepositoryEntry>
setModelAttributes
in class BaseModelImpl<RepositoryEntry>
public String getUuid()
RepositoryEntryModel
getUuid
in interface RepositoryEntryModel
public void setUuid(String uuid)
RepositoryEntryModel
setUuid
in interface RepositoryEntryModel
uuid
- the uuid of this repository entrypublic String getOriginalUuid()
public long getRepositoryEntryId()
RepositoryEntryModel
getRepositoryEntryId
in interface RepositoryEntryModel
public void setRepositoryEntryId(long repositoryEntryId)
RepositoryEntryModel
setRepositoryEntryId
in interface RepositoryEntryModel
repositoryEntryId
- the repository entry ID of this repository entrypublic long getGroupId()
RepositoryEntryModel
getGroupId
in interface RepositoryEntryModel
public void setGroupId(long groupId)
RepositoryEntryModel
setGroupId
in interface RepositoryEntryModel
groupId
- the group ID of this repository entrypublic long getOriginalGroupId()
public long getRepositoryId()
RepositoryEntryModel
getRepositoryId
in interface RepositoryEntryModel
public void setRepositoryId(long repositoryId)
RepositoryEntryModel
setRepositoryId
in interface RepositoryEntryModel
repositoryId
- the repository ID of this repository entrypublic long getOriginalRepositoryId()
public String getMappedId()
RepositoryEntryModel
getMappedId
in interface RepositoryEntryModel
public void setMappedId(String mappedId)
RepositoryEntryModel
setMappedId
in interface RepositoryEntryModel
mappedId
- the mapped ID of this repository entrypublic String getOriginalMappedId()
public long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<RepositoryEntry>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface RepositoryEntryModel
getExpandoBridge
in class BaseModelImpl<RepositoryEntry>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<RepositoryEntry>
setExpandoBridgeAttributes
in interface RepositoryEntryModel
setExpandoBridgeAttributes
in class BaseModelImpl<RepositoryEntry>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public RepositoryEntry toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<RepositoryEntry>
toEscapedModel
in interface RepositoryEntryModel
toEscapedModel
in class BaseModelImpl<RepositoryEntry>
AutoEscapeBeanHandler
public RepositoryEntry toUnescapedModel()
toUnescapedModel
in interface BaseModel<RepositoryEntry>
toUnescapedModel
in interface RepositoryEntryModel
toUnescapedModel
in class BaseModelImpl<RepositoryEntry>
public Object clone()
BaseModel
clone
in interface BaseModel<RepositoryEntry>
clone
in interface RepositoryEntryModel
clone
in class BaseModelImpl<RepositoryEntry>
public int compareTo(RepositoryEntry repositoryEntry)
compareTo
in interface RepositoryEntryModel
compareTo
in interface Comparable<RepositoryEntry>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface RepositoryEntryModel
hashCode
in class Object
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<RepositoryEntry>
resetOriginalValues
in class BaseModelImpl<RepositoryEntry>
public CacheModel<RepositoryEntry> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<RepositoryEntry>
toCacheModel
in interface RepositoryEntryModel
toCacheModel
in class BaseModelImpl<RepositoryEntry>
public String toString()
toString
in interface RepositoryEntryModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<RepositoryEntry>
toXmlString
in interface RepositoryEntryModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |