|
Liferay 6.1.2-ce-ga3 | |||||||||
| 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) 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 String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
GROUPID_COLUMN_BITMASK
|
static long |
LOCK_EXPIRATION_TIME
|
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 |
getOriginalGroupId()
|
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. |
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()
|
Repository |
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.RepositoryModel |
|---|
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 UUID_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 String getUuid()
RepositoryModel
getUuid in interface RepositoryModelpublic void setUuid(String uuid)
RepositoryModel
setUuid in interface RepositoryModeluuid - 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 RepositoryModelpublic void setCompanyId(long companyId)
RepositoryModel
setCompanyId in interface AuditedModelsetCompanyId in interface RepositoryModelcompanyId - the company ID of this repository@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 repository
public String getUserUuid()
throws SystemException
RepositoryModel
getUserUuid in interface AuditedModelgetUserUuid in interface RepositoryModelSystemException - if a system exception occurredpublic 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 RepositoryModelpublic void setCreateDate(Date createDate)
RepositoryModel
setCreateDate in interface AuditedModelsetCreateDate in interface RepositoryModelcreateDate - the create date of this repository@JSON public Date getModifiedDate()
RepositoryModel
getModifiedDate in interface AuditedModelgetModifiedDate in interface RepositoryModelpublic void setModifiedDate(Date modifiedDate)
RepositoryModel
setModifiedDate in interface AuditedModelsetModifiedDate in interface RepositoryModelmodifiedDate - the modified date of this repositorypublic String getClassName()
RepositoryModel
getClassName in interface RepositoryModelpublic void setClassName(String className)
setClassName in interface RepositoryModel@JSON public long getClassNameId()
RepositoryModel
getClassNameId in interface RepositoryModelpublic void setClassNameId(long classNameId)
RepositoryModel
setClassNameId in interface RepositoryModelclassNameId - 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 repository@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 repository@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 repositorypublic 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 contextServiceContext.getExpandoBridgeAttributes(
)public Repository toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<Repository>toEscapedModel in interface RepositoryModeltoEscapedModel in class BaseModelImpl<Repository>AutoEscapeBeanHandlerpublic Repository toUnescapedModel()
toUnescapedModel in interface BaseModel<Repository>toUnescapedModel in interface RepositoryModeltoUnescapedModel in class BaseModelImpl<Repository>public Object clone()
BaseModel
clone in interface BaseModel<Repository>clone in interface RepositoryModelclone 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 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 6.1.2-ce-ga3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||