|
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<Repository>
com.liferay.portal.model.impl.RepositoryModelImpl
@JSON(strict=true) @ProviderType public class RepositoryModelImpl
The base model implementation for the Repository service. Represents a row in the "Repository" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface RepositoryModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in RepositoryImpl.
RepositoryImpl,
Repository,
RepositoryModel,
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 |
NAME_COLUMN_BITMASK
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static long |
PORTLETID_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 | |
|---|---|
RepositoryModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Repository repository)
|
boolean |
equals(Object obj)
|
String |
getClassName()
Returns the fully qualified class name of this repository. |
long |
getClassNameId()
Returns the class name ID of this repository. |
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this repository. |
Date |
getCreateDate()
Returns the create date of this repository. |
String |
getDescription()
Returns the description of this repository. |
long |
getDlFolderId()
Returns the dl folder ID of this repository. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this repository. |
Date |
getLastPublishDate()
Returns the last publish date of this repository. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this repository. |
long |
getMvccVersion()
Returns the mvcc version of this repository. |
String |
getName()
Returns the name of this repository. |
long |
getOriginalCompanyId()
|
long |
getOriginalGroupId()
|
String |
getOriginalName()
|
String |
getOriginalPortletId()
|
String |
getOriginalUuid()
|
String |
getPortletId()
Returns the portlet ID of this repository. |
long |
getPrimaryKey()
Returns the primary key of this repository. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getRepositoryId()
Returns the repository ID of this repository. |
StagedModelType |
getStagedModelType()
|
String |
getTypeSettings()
Returns the type settings of this repository. |
long |
getUserId()
Returns the user ID of this repository. |
String |
getUserName()
Returns the user name of this repository. |
String |
getUserUuid()
Returns the user uuid of this repository. |
String |
getUuid()
Returns the uuid of this repository. |
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. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setClassName(String className)
|
void |
setClassNameId(long classNameId)
Sets the class name ID of this repository. |
void |
setCompanyId(long companyId)
Sets the company ID of this repository. |
void |
setCreateDate(Date createDate)
Sets the create date of this repository. |
void |
setDescription(String description)
Sets the description of this repository. |
void |
setDlFolderId(long dlFolderId)
Sets the dl folder ID of this repository. |
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. |
void |
setLastPublishDate(Date lastPublishDate)
Sets the last publish date of this repository. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this repository. |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this repository. |
void |
setName(String name)
Sets the name of this repository. |
void |
setPortletId(String portletId)
Sets the portlet ID of this repository. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this repository. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setRepositoryId(long repositoryId)
Sets the repository ID of this repository. |
void |
setTypeSettings(String typeSettings)
Sets the type settings of this repository. |
void |
setUserId(long userId)
Sets the user ID of this repository. |
void |
setUserName(String userName)
Sets the user name of this repository. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this repository. |
void |
setUuid(String uuid)
Sets the uuid of this repository. |
CacheModel<Repository> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
Repository |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
static Repository |
toModel(RepositorySoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<Repository> |
toModels(RepositorySoap[] soapModels)
Converts the soap model instances into normal model instances. |
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.RepositoryModel |
|---|
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 NAME_COLUMN_BITMASK
public static final long PORTLETID_COLUMN_BITMASK
public static final long UUID_COLUMN_BITMASK
public static final long REPOSITORYID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public RepositoryModelImpl()
| Method Detail |
|---|
public static Repository toModel(RepositorySoap soapModel)
soapModel - the soap model instance to convert
public static List<Repository> toModels(RepositorySoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
RepositoryModel
getPrimaryKey in interface RepositoryModelpublic void setPrimaryKey(long primaryKey)
RepositoryModel
setPrimaryKey in interface RepositoryModelprimaryKey - the primary key of this repositorypublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Repository>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface RepositoryModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<Repository>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface RepositoryModelprimaryKeyObj - 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<Repository>getModelAttributes in class BaseModelImpl<Repository>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<Repository>setModelAttributes in class BaseModelImpl<Repository>@JSON public long getMvccVersion()
RepositoryModel
getMvccVersion in interface MVCCModelgetMvccVersion in interface RepositoryModelpublic void setMvccVersion(long mvccVersion)
RepositoryModel
setMvccVersion in interface MVCCModelsetMvccVersion in interface RepositoryModelmvccVersion - the mvcc version of this repository@JSON public String getUuid()
RepositoryModel
getUuid in interface RepositoryModelgetUuid in interface StagedModelpublic void setUuid(String uuid)
RepositoryModel
setUuid in interface RepositoryModelsetUuid in interface StagedModeluuid - the uuid of this repositorypublic String getOriginalUuid()
@JSON public long getRepositoryId()
RepositoryModel
getRepositoryId in interface RepositoryModelpublic void setRepositoryId(long repositoryId)
RepositoryModel
setRepositoryId in interface RepositoryModelrepositoryId - the repository ID of this repository@JSON public long getGroupId()
RepositoryModel
getGroupId in interface GroupedModelgetGroupId in interface RepositoryModelpublic void setGroupId(long groupId)
RepositoryModel
setGroupId in interface GroupedModelsetGroupId in interface RepositoryModelgroupId - the group ID of this repositorypublic long getOriginalGroupId()
@JSON public long getCompanyId()
RepositoryModel
getCompanyId in interface AuditedModelgetCompanyId in interface RepositoryModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelpublic void setCompanyId(long companyId)
RepositoryModel
setCompanyId in interface AuditedModelsetCompanyId in interface RepositoryModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelcompanyId - the company ID of this repositorypublic long getOriginalCompanyId()
@JSON public long getUserId()
RepositoryModel
getUserId in interface AuditedModelgetUserId in interface RepositoryModelpublic void setUserId(long userId)
RepositoryModel
setUserId in interface AuditedModelsetUserId in interface RepositoryModeluserId - the user ID of this repositorypublic String getUserUuid()
RepositoryModel
getUserUuid in interface AuditedModelgetUserUuid in interface RepositoryModelpublic void setUserUuid(String userUuid)
RepositoryModel
setUserUuid in interface AuditedModelsetUserUuid in interface RepositoryModeluserUuid - the user uuid of this repository@JSON public String getUserName()
RepositoryModel
getUserName in interface AuditedModelgetUserName in interface RepositoryModelpublic void setUserName(String userName)
RepositoryModel
setUserName in interface AuditedModelsetUserName in interface RepositoryModeluserName - the user name of this repository@JSON public Date getCreateDate()
RepositoryModel
getCreateDate in interface AuditedModelgetCreateDate in interface RepositoryModelgetCreateDate in interface StagedModelpublic void setCreateDate(Date createDate)
RepositoryModel
setCreateDate in interface AuditedModelsetCreateDate in interface RepositoryModelsetCreateDate in interface StagedModelcreateDate - the create date of this repository@JSON public Date getModifiedDate()
RepositoryModel
getModifiedDate in interface AuditedModelgetModifiedDate in interface RepositoryModelgetModifiedDate in interface StagedModelpublic boolean hasSetModifiedDate()
public void setModifiedDate(Date modifiedDate)
RepositoryModel
setModifiedDate in interface AuditedModelsetModifiedDate in interface RepositoryModelsetModifiedDate in interface StagedModelmodifiedDate - the modified date of this repositorypublic String getClassName()
RepositoryModel
getClassName in interface RepositoryModelgetClassName in interface TypedModelpublic void setClassName(String className)
setClassName in interface RepositoryModel@JSON public long getClassNameId()
RepositoryModel
getClassNameId in interface RepositoryModelgetClassNameId in interface TypedModelpublic void setClassNameId(long classNameId)
RepositoryModel
setClassNameId in interface RepositoryModelsetClassNameId in interface TypedModelclassNameId - the class name ID of this repository@JSON public String getName()
RepositoryModel
getName in interface RepositoryModelpublic void setName(String name)
RepositoryModel
setName in interface RepositoryModelname - the name of this repositorypublic String getOriginalName()
@JSON public String getDescription()
RepositoryModel
getDescription in interface RepositoryModelpublic void setDescription(String description)
RepositoryModel
setDescription in interface RepositoryModeldescription - the description of this repository@JSON public String getPortletId()
RepositoryModel
getPortletId in interface RepositoryModelpublic void setPortletId(String portletId)
RepositoryModel
setPortletId in interface RepositoryModelportletId - the portlet ID of this repositorypublic String getOriginalPortletId()
@JSON public String getTypeSettings()
RepositoryModel
getTypeSettings in interface RepositoryModelpublic void setTypeSettings(String typeSettings)
RepositoryModel
setTypeSettings in interface RepositoryModeltypeSettings - the type settings of this repository@JSON public long getDlFolderId()
RepositoryModel
getDlFolderId in interface RepositoryModelpublic void setDlFolderId(long dlFolderId)
RepositoryModel
setDlFolderId in interface RepositoryModeldlFolderId - the dl folder ID of this repository@JSON public Date getLastPublishDate()
RepositoryModel
getLastPublishDate in interface RepositoryModelgetLastPublishDate in interface StagedGroupedModelpublic void setLastPublishDate(Date lastPublishDate)
RepositoryModel
setLastPublishDate in interface RepositoryModelsetLastPublishDate in interface StagedGroupedModellastPublishDate - the last publish date of this repositorypublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Repository>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface RepositoryModelgetExpandoBridge in class BaseModelImpl<Repository>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Repository>setExpandoBridgeAttributes in interface RepositoryModelsetExpandoBridgeAttributes in class BaseModelImpl<Repository>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public Repository toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<Repository>toEscapedModel in interface RepositoryModeltoEscapedModel in class BaseModelImpl<Repository>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<Repository>clone in interface RepositoryModelclone in interface StagedModelclone in class BaseModelImpl<Repository>public int compareTo(Repository repository)
compareTo in interface RepositoryModelcompareTo in interface Comparable<Repository>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface RepositoryModelhashCode in class Objectpublic boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<Repository>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<Repository>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<Repository>resetOriginalValues in class BaseModelImpl<Repository>public CacheModel<Repository> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<Repository>toCacheModel in interface RepositoryModeltoCacheModel in class BaseModelImpl<Repository>public String toString()
toString in interface RepositoryModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Repository>toXmlString in interface RepositoryModel
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||