Interface RepositoryModel

All Superinterfaces:
AuditedModel, BaseModel<Repository>, ClassedModel, Cloneable, Comparable<Repository>, CTModel<Repository>, ExternalReferenceCodeModel, GroupedModel, MVCCModel, Serializable, ShardedModel, StagedGroupedModel, StagedModel, TypedModel
All Known Subinterfaces:
Repository
All Known Implementing Classes:
RepositoryWrapper

The base model interface for the Repository service. Represents a row in the "Repository" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation com.liferay.portal.model.impl.RepositoryModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portal.model.impl.RepositoryImpl.

Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Method Details

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this repository.
      Specified by:
      getPrimaryKey in interface CTModel<Repository>
      Returns:
      the primary key of this repository
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this repository.
      Specified by:
      setPrimaryKey in interface CTModel<Repository>
      Parameters:
      primaryKey - the primary key of this repository
    • getMvccVersion

      long getMvccVersion()
      Returns the mvcc version of this repository.
      Specified by:
      getMvccVersion in interface MVCCModel
      Returns:
      the mvcc version of this repository
    • setMvccVersion

      void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this repository.
      Specified by:
      setMvccVersion in interface MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this repository
    • getCtCollectionId

      long getCtCollectionId()
      Returns the ct collection ID of this repository.
      Specified by:
      getCtCollectionId in interface CTModel<Repository>
      Returns:
      the ct collection ID of this repository
    • setCtCollectionId

      void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this repository.
      Specified by:
      setCtCollectionId in interface CTModel<Repository>
      Parameters:
      ctCollectionId - the ct collection ID of this repository
    • getUuid

      @AutoEscape String getUuid()
      Returns the uuid of this repository.
      Specified by:
      getUuid in interface StagedModel
      Returns:
      the uuid of this repository
    • setUuid

      void setUuid(String uuid)
      Sets the uuid of this repository.
      Specified by:
      setUuid in interface StagedModel
      Parameters:
      uuid - the uuid of this repository
    • getExternalReferenceCode

      @AutoEscape String getExternalReferenceCode()
      Returns the external reference code of this repository.
      Specified by:
      getExternalReferenceCode in interface ExternalReferenceCodeModel
      Returns:
      the external reference code of this repository
    • setExternalReferenceCode

      void setExternalReferenceCode(String externalReferenceCode)
      Sets the external reference code of this repository.
      Specified by:
      setExternalReferenceCode in interface ExternalReferenceCodeModel
      Parameters:
      externalReferenceCode - the external reference code of this repository
    • getRepositoryId

      long getRepositoryId()
      Returns the repository ID of this repository.
      Returns:
      the repository ID of this repository
    • setRepositoryId

      void setRepositoryId(long repositoryId)
      Sets the repository ID of this repository.
      Parameters:
      repositoryId - the repository ID of this repository
    • getGroupId

      long getGroupId()
      Returns the group ID of this repository.
      Specified by:
      getGroupId in interface GroupedModel
      Returns:
      the group ID of this repository
    • setGroupId

      void setGroupId(long groupId)
      Sets the group ID of this repository.
      Specified by:
      setGroupId in interface GroupedModel
      Parameters:
      groupId - the group ID of this repository
    • getCompanyId

      long getCompanyId()
      Returns the company ID of this repository.
      Specified by:
      getCompanyId in interface AuditedModel
      Specified by:
      getCompanyId in interface ShardedModel
      Specified by:
      getCompanyId in interface StagedModel
      Returns:
      the company ID of this repository
    • setCompanyId

      void setCompanyId(long companyId)
      Sets the company ID of this repository.
      Specified by:
      setCompanyId in interface AuditedModel
      Specified by:
      setCompanyId in interface ShardedModel
      Specified by:
      setCompanyId in interface StagedModel
      Parameters:
      companyId - the company ID of this repository
    • getUserId

      long getUserId()
      Returns the user ID of this repository.
      Specified by:
      getUserId in interface AuditedModel
      Returns:
      the user ID of this repository
    • setUserId

      void setUserId(long userId)
      Sets the user ID of this repository.
      Specified by:
      setUserId in interface AuditedModel
      Parameters:
      userId - the user ID of this repository
    • getUserUuid

      String getUserUuid()
      Returns the user uuid of this repository.
      Specified by:
      getUserUuid in interface AuditedModel
      Returns:
      the user uuid of this repository
    • setUserUuid

      void setUserUuid(String userUuid)
      Sets the user uuid of this repository.
      Specified by:
      setUserUuid in interface AuditedModel
      Parameters:
      userUuid - the user uuid of this repository
    • getUserName

      @AutoEscape String getUserName()
      Returns the user name of this repository.
      Specified by:
      getUserName in interface AuditedModel
      Returns:
      the user name of this repository
    • setUserName

      void setUserName(String userName)
      Sets the user name of this repository.
      Specified by:
      setUserName in interface AuditedModel
      Parameters:
      userName - the user name of this repository
    • getCreateDate

      Date getCreateDate()
      Returns the create date of this repository.
      Specified by:
      getCreateDate in interface AuditedModel
      Specified by:
      getCreateDate in interface StagedModel
      Returns:
      the create date of this repository
    • setCreateDate

      void setCreateDate(Date createDate)
      Sets the create date of this repository.
      Specified by:
      setCreateDate in interface AuditedModel
      Specified by:
      setCreateDate in interface StagedModel
      Parameters:
      createDate - the create date of this repository
    • getModifiedDate

      Date getModifiedDate()
      Returns the modified date of this repository.
      Specified by:
      getModifiedDate in interface AuditedModel
      Specified by:
      getModifiedDate in interface StagedModel
      Returns:
      the modified date of this repository
    • setModifiedDate

      void setModifiedDate(Date modifiedDate)
      Sets the modified date of this repository.
      Specified by:
      setModifiedDate in interface AuditedModel
      Specified by:
      setModifiedDate in interface StagedModel
      Parameters:
      modifiedDate - the modified date of this repository
    • getClassName

      String getClassName()
      Returns the fully qualified class name of this repository.
      Specified by:
      getClassName in interface TypedModel
      Returns:
      the fully qualified class name of this repository
    • setClassName

      void setClassName(String className)
    • getClassNameId

      long getClassNameId()
      Returns the class name ID of this repository.
      Specified by:
      getClassNameId in interface TypedModel
      Returns:
      the class name ID of this repository
    • setClassNameId

      void setClassNameId(long classNameId)
      Sets the class name ID of this repository.
      Specified by:
      setClassNameId in interface TypedModel
      Parameters:
      classNameId - the class name ID of this repository
    • getName

      @AutoEscape String getName()
      Returns the name of this repository.
      Returns:
      the name of this repository
    • setName

      void setName(String name)
      Sets the name of this repository.
      Parameters:
      name - the name of this repository
    • getDescription

      @AutoEscape String getDescription()
      Returns the description of this repository.
      Returns:
      the description of this repository
    • setDescription

      void setDescription(String description)
      Sets the description of this repository.
      Parameters:
      description - the description of this repository
    • getPortletId

      @AutoEscape String getPortletId()
      Returns the portlet ID of this repository.
      Returns:
      the portlet ID of this repository
    • setPortletId

      void setPortletId(String portletId)
      Sets the portlet ID of this repository.
      Parameters:
      portletId - the portlet ID of this repository
    • getTypeSettings

      @AutoEscape String getTypeSettings()
      Returns the type settings of this repository.
      Returns:
      the type settings of this repository
    • setTypeSettings

      void setTypeSettings(String typeSettings)
      Sets the type settings of this repository.
      Parameters:
      typeSettings - the type settings of this repository
    • getDlFolderId

      long getDlFolderId()
      Returns the dl folder ID of this repository.
      Returns:
      the dl folder ID of this repository
    • setDlFolderId

      void setDlFolderId(long dlFolderId)
      Sets the dl folder ID of this repository.
      Parameters:
      dlFolderId - the dl folder ID of this repository
    • getLastPublishDate

      Date getLastPublishDate()
      Returns the last publish date of this repository.
      Specified by:
      getLastPublishDate in interface StagedGroupedModel
      Returns:
      the last publish date of this repository
    • setLastPublishDate

      void setLastPublishDate(Date lastPublishDate)
      Sets the last publish date of this repository.
      Specified by:
      setLastPublishDate in interface StagedGroupedModel
      Parameters:
      lastPublishDate - the last publish date of this repository
    • cloneWithOriginalValues

      Repository cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface BaseModel<Repository>
    • toXmlString

      default String toXmlString()