|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<RepositoryEntry>
com.liferay.portal.model.impl.RepositoryEntryModelImpl
@ProviderType 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 Form| Field Summary | |
|---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static long |
COMPANYID_COLUMN_BITMASK
|
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 String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static long |
REPOSITORYENTRYID_COLUMN_BITMASK
|
static long |
REPOSITORYID_COLUMN_BITMASK
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static Map<String,Integer> |
TABLE_COLUMNS_MAP
|
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()
|
long |
getCompanyId()
Returns the company ID of this repository entry. |
Date |
getCreateDate()
Returns the create date of this repository entry. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this repository entry. |
Date |
getLastPublishDate()
Returns the last publish date of this repository entry. |
boolean |
getManualCheckInRequired()
Returns the manual check in required of this repository entry. |
String |
getMappedId()
Returns the mapped ID of this repository entry. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this repository entry. |
long |
getMvccVersion()
Returns the mvcc version of this repository entry. |
long |
getOriginalCompanyId()
|
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. |
StagedModelType |
getStagedModelType()
|
long |
getUserId()
Returns the user ID of this repository entry. |
String |
getUserName()
Returns the user name of this repository entry. |
String |
getUserUuid()
Returns the user uuid of this repository entry. |
String |
getUuid()
Returns the uuid of this repository entry. |
int |
hashCode()
|
boolean |
hasSetModifiedDate()
|
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
boolean |
isManualCheckInRequired()
Returns true if this repository entry is manual check in required. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCompanyId(long companyId)
Sets the company ID of this repository entry. |
void |
setCreateDate(Date createDate)
Sets the create date of this repository entry. |
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 |
setLastPublishDate(Date lastPublishDate)
Sets the last publish date of this repository entry. |
void |
setManualCheckInRequired(boolean manualCheckInRequired)
Sets whether this repository entry is manual check in required. |
void |
setMappedId(String mappedId)
Sets the mapped ID of this repository entry. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this repository entry. |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this repository entry. |
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 |
setUserId(long userId)
Sets the user ID of this repository entry. |
void |
setUserName(String userName)
Sets the user name of this repository entry. |
void |
setUserUuid(String userUuid)
Sets the user uuid 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()
|
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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| 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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final Map<String,Integer> TABLE_COLUMNS_MAP
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
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 final long COMPANYID_COLUMN_BITMASK
public static final long GROUPID_COLUMN_BITMASK
public static final long MAPPEDID_COLUMN_BITMASK
public static final long REPOSITORYID_COLUMN_BITMASK
public static final long UUID_COLUMN_BITMASK
public static final long REPOSITORYENTRYID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public RepositoryEntryModelImpl()
| Method Detail |
|---|
public long getPrimaryKey()
RepositoryEntryModel
getPrimaryKey in interface RepositoryEntryModelpublic void setPrimaryKey(long primaryKey)
RepositoryEntryModel
setPrimaryKey in interface RepositoryEntryModelprimaryKey - the primary key of this repository entrypublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<RepositoryEntry>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface RepositoryEntryModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<RepositoryEntry>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface RepositoryEntryModelprimaryKeyObj - the primary key of this model instancepublic Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic 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 long getMvccVersion()
RepositoryEntryModel
getMvccVersion in interface MVCCModelgetMvccVersion in interface RepositoryEntryModelpublic void setMvccVersion(long mvccVersion)
RepositoryEntryModel
setMvccVersion in interface MVCCModelsetMvccVersion in interface RepositoryEntryModelmvccVersion - the mvcc version of this repository entrypublic String getUuid()
RepositoryEntryModel
getUuid in interface RepositoryEntryModelgetUuid in interface StagedModelpublic void setUuid(String uuid)
RepositoryEntryModel
setUuid in interface RepositoryEntryModelsetUuid in interface StagedModeluuid - the uuid of this repository entrypublic String getOriginalUuid()
public long getRepositoryEntryId()
RepositoryEntryModel
getRepositoryEntryId in interface RepositoryEntryModelpublic void setRepositoryEntryId(long repositoryEntryId)
RepositoryEntryModel
setRepositoryEntryId in interface RepositoryEntryModelrepositoryEntryId - the repository entry ID of this repository entrypublic long getGroupId()
RepositoryEntryModel
getGroupId in interface GroupedModelgetGroupId in interface RepositoryEntryModelpublic void setGroupId(long groupId)
RepositoryEntryModel
setGroupId in interface GroupedModelsetGroupId in interface RepositoryEntryModelgroupId - the group ID of this repository entrypublic long getOriginalGroupId()
public long getCompanyId()
RepositoryEntryModel
getCompanyId in interface AuditedModelgetCompanyId in interface RepositoryEntryModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelpublic void setCompanyId(long companyId)
RepositoryEntryModel
setCompanyId in interface AuditedModelsetCompanyId in interface RepositoryEntryModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelcompanyId - the company ID of this repository entrypublic long getOriginalCompanyId()
public long getUserId()
RepositoryEntryModel
getUserId in interface AuditedModelgetUserId in interface RepositoryEntryModelpublic void setUserId(long userId)
RepositoryEntryModel
setUserId in interface AuditedModelsetUserId in interface RepositoryEntryModeluserId - the user ID of this repository entrypublic String getUserUuid()
RepositoryEntryModel
getUserUuid in interface AuditedModelgetUserUuid in interface RepositoryEntryModelpublic void setUserUuid(String userUuid)
RepositoryEntryModel
setUserUuid in interface AuditedModelsetUserUuid in interface RepositoryEntryModeluserUuid - the user uuid of this repository entrypublic String getUserName()
RepositoryEntryModel
getUserName in interface AuditedModelgetUserName in interface RepositoryEntryModelpublic void setUserName(String userName)
RepositoryEntryModel
setUserName in interface AuditedModelsetUserName in interface RepositoryEntryModeluserName - the user name of this repository entrypublic Date getCreateDate()
RepositoryEntryModel
getCreateDate in interface AuditedModelgetCreateDate in interface RepositoryEntryModelgetCreateDate in interface StagedModelpublic void setCreateDate(Date createDate)
RepositoryEntryModel
setCreateDate in interface AuditedModelsetCreateDate in interface RepositoryEntryModelsetCreateDate in interface StagedModelcreateDate - the create date of this repository entrypublic Date getModifiedDate()
RepositoryEntryModel
getModifiedDate in interface AuditedModelgetModifiedDate in interface RepositoryEntryModelgetModifiedDate in interface StagedModelpublic boolean hasSetModifiedDate()
public void setModifiedDate(Date modifiedDate)
RepositoryEntryModel
setModifiedDate in interface AuditedModelsetModifiedDate in interface RepositoryEntryModelsetModifiedDate in interface StagedModelmodifiedDate - the modified date of this repository entrypublic long getRepositoryId()
RepositoryEntryModel
getRepositoryId in interface RepositoryEntryModelpublic void setRepositoryId(long repositoryId)
RepositoryEntryModel
setRepositoryId in interface RepositoryEntryModelrepositoryId - the repository ID of this repository entrypublic long getOriginalRepositoryId()
public String getMappedId()
RepositoryEntryModel
getMappedId in interface RepositoryEntryModelpublic void setMappedId(String mappedId)
RepositoryEntryModel
setMappedId in interface RepositoryEntryModelmappedId - the mapped ID of this repository entrypublic String getOriginalMappedId()
public boolean getManualCheckInRequired()
RepositoryEntryModel
getManualCheckInRequired in interface RepositoryEntryModelpublic boolean isManualCheckInRequired()
RepositoryEntryModeltrue if this repository entry is manual check in required.
isManualCheckInRequired in interface RepositoryEntryModeltrue if this repository entry is manual check in required; false otherwisepublic void setManualCheckInRequired(boolean manualCheckInRequired)
RepositoryEntryModel
setManualCheckInRequired in interface RepositoryEntryModelmanualCheckInRequired - the manual check in required of this repository entrypublic Date getLastPublishDate()
RepositoryEntryModel
getLastPublishDate in interface RepositoryEntryModelgetLastPublishDate in interface StagedGroupedModelpublic void setLastPublishDate(Date lastPublishDate)
RepositoryEntryModel
setLastPublishDate in interface RepositoryEntryModelsetLastPublishDate in interface StagedGroupedModellastPublishDate - the last publish date of this repository entrypublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<RepositoryEntry>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface RepositoryEntryModelgetExpandoBridge in class BaseModelImpl<RepositoryEntry>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<RepositoryEntry>setExpandoBridgeAttributes in interface RepositoryEntryModelsetExpandoBridgeAttributes in class BaseModelImpl<RepositoryEntry>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public RepositoryEntry toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<RepositoryEntry>toEscapedModel in interface RepositoryEntryModeltoEscapedModel in class BaseModelImpl<RepositoryEntry>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<RepositoryEntry>clone in interface RepositoryEntryModelclone in interface StagedModelclone in class BaseModelImpl<RepositoryEntry>public int compareTo(RepositoryEntry repositoryEntry)
compareTo in interface RepositoryEntryModelcompareTo in interface Comparable<RepositoryEntry>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface RepositoryEntryModelhashCode in class Objectpublic boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<RepositoryEntry>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<RepositoryEntry>true if this model's finder cache is enabled;
false otherwisepublic 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 RepositoryEntryModeltoCacheModel in class BaseModelImpl<RepositoryEntry>public String toString()
toString in interface RepositoryEntryModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<RepositoryEntry>toXmlString in interface RepositoryEntryModel
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||