|
Liferay 6.2-ce-ga5 | |||||||||
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<Repository> com.liferay.portal.model.impl.RepositoryModelImpl
@JSON(strict=true) 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 FormField 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 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. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date 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()
|
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 |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date 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 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 long COMPANYID_COLUMN_BITMASK
public static long GROUPID_COLUMN_BITMASK
public static long NAME_COLUMN_BITMASK
public static long PORTLETID_COLUMN_BITMASK
public static long UUID_COLUMN_BITMASK
public static 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 RepositoryModel
public void setPrimaryKey(long primaryKey)
RepositoryModel
setPrimaryKey
in interface RepositoryModel
primaryKey
- the primary key of this repositorypublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Repository>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface RepositoryModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<Repository>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface RepositoryModel
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<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 String getUuid()
RepositoryModel
getUuid
in interface RepositoryModel
getUuid
in interface StagedModel
public void setUuid(String uuid)
RepositoryModel
setUuid
in interface RepositoryModel
setUuid
in interface StagedModel
uuid
- the uuid of this repositorypublic String getOriginalUuid()
@JSON public long getRepositoryId()
RepositoryModel
getRepositoryId
in interface RepositoryModel
public void setRepositoryId(long repositoryId)
RepositoryModel
setRepositoryId
in interface RepositoryModel
repositoryId
- the repository ID of this repository@JSON public long getGroupId()
RepositoryModel
getGroupId
in interface GroupedModel
getGroupId
in interface RepositoryModel
public void setGroupId(long groupId)
RepositoryModel
setGroupId
in interface GroupedModel
setGroupId
in interface RepositoryModel
groupId
- the group ID of this repositorypublic long getOriginalGroupId()
@JSON public long getCompanyId()
RepositoryModel
getCompanyId
in interface AuditedModel
getCompanyId
in interface RepositoryModel
getCompanyId
in interface StagedModel
public void setCompanyId(long companyId)
RepositoryModel
setCompanyId
in interface AuditedModel
setCompanyId
in interface RepositoryModel
setCompanyId
in interface StagedModel
companyId
- the company ID of this repositorypublic long getOriginalCompanyId()
@JSON public long getUserId()
RepositoryModel
getUserId
in interface AuditedModel
getUserId
in interface RepositoryModel
public void setUserId(long userId)
RepositoryModel
setUserId
in interface AuditedModel
setUserId
in interface RepositoryModel
userId
- the user ID of this repositorypublic String getUserUuid() throws SystemException
RepositoryModel
getUserUuid
in interface AuditedModel
getUserUuid
in interface RepositoryModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
RepositoryModel
setUserUuid
in interface AuditedModel
setUserUuid
in interface RepositoryModel
userUuid
- the user uuid of this repository@JSON public String getUserName()
RepositoryModel
getUserName
in interface AuditedModel
getUserName
in interface RepositoryModel
public void setUserName(String userName)
RepositoryModel
setUserName
in interface AuditedModel
setUserName
in interface RepositoryModel
userName
- the user name of this repository@JSON public Date getCreateDate()
RepositoryModel
getCreateDate
in interface AuditedModel
getCreateDate
in interface RepositoryModel
getCreateDate
in interface StagedModel
public void setCreateDate(Date createDate)
RepositoryModel
setCreateDate
in interface AuditedModel
setCreateDate
in interface RepositoryModel
setCreateDate
in interface StagedModel
createDate
- the create date of this repository@JSON public Date getModifiedDate()
RepositoryModel
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface RepositoryModel
getModifiedDate
in interface StagedModel
public void setModifiedDate(Date modifiedDate)
RepositoryModel
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface RepositoryModel
setModifiedDate
in interface StagedModel
modifiedDate
- the modified date of this repositorypublic String getClassName()
RepositoryModel
getClassName
in interface RepositoryModel
getClassName
in interface TypedModel
public void setClassName(String className)
setClassName
in interface RepositoryModel
@JSON public long getClassNameId()
RepositoryModel
getClassNameId
in interface RepositoryModel
getClassNameId
in interface TypedModel
public void setClassNameId(long classNameId)
RepositoryModel
setClassNameId
in interface RepositoryModel
setClassNameId
in interface TypedModel
classNameId
- the class name ID of this repository@JSON public String getName()
RepositoryModel
getName
in interface RepositoryModel
public void setName(String name)
RepositoryModel
setName
in interface RepositoryModel
name
- the name of this repositorypublic String getOriginalName()
@JSON public String getDescription()
RepositoryModel
getDescription
in interface RepositoryModel
public void setDescription(String description)
RepositoryModel
setDescription
in interface RepositoryModel
description
- the description of this repository@JSON public String getPortletId()
RepositoryModel
getPortletId
in interface RepositoryModel
public void setPortletId(String portletId)
RepositoryModel
setPortletId
in interface RepositoryModel
portletId
- the portlet ID of this repositorypublic String getOriginalPortletId()
@JSON public String getTypeSettings()
RepositoryModel
getTypeSettings
in interface RepositoryModel
public void setTypeSettings(String typeSettings)
RepositoryModel
setTypeSettings
in interface RepositoryModel
typeSettings
- the type settings of this repository@JSON public long getDlFolderId()
RepositoryModel
getDlFolderId
in interface RepositoryModel
public void setDlFolderId(long dlFolderId)
RepositoryModel
setDlFolderId
in interface RepositoryModel
dlFolderId
- the dl folder ID of this repositorypublic StagedModelType getStagedModelType()
getStagedModelType
in interface StagedModel
public long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Repository>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface RepositoryModel
getExpandoBridge
in class BaseModelImpl<Repository>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Repository>
setExpandoBridgeAttributes
in interface RepositoryModel
setExpandoBridgeAttributes
in class BaseModelImpl<Repository>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
public Repository toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<Repository>
toEscapedModel
in interface RepositoryModel
toEscapedModel
in class BaseModelImpl<Repository>
AutoEscapeBeanHandler
public Object clone()
BaseModel
clone
in interface BaseModel<Repository>
clone
in interface RepositoryModel
clone
in interface StagedModel
clone
in class BaseModelImpl<Repository>
public int compareTo(Repository repository)
compareTo
in interface RepositoryModel
compareTo
in interface Comparable<Repository>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface RepositoryModel
hashCode
in class Object
public 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 RepositoryModel
toCacheModel
in class BaseModelImpl<Repository>
public String toString()
toString
in interface RepositoryModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<Repository>
toXmlString
in interface RepositoryModel
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |