Class ContentRepositoryModel

java.lang.Object
com.gentics.contentnode.rest.model.AbstractModel
com.gentics.contentnode.rest.model.ContentRepositoryModel
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ContentRepositoryInPackage

public class ContentRepositoryModel extends AbstractModel implements Serializable
ContentRepository
See Also:
  • Field Details

  • Constructor Details

    • ContentRepositoryModel

      public ContentRepositoryModel()
      Create empty instance
  • Method Details

    • getId

      public Integer getId()
      Internal ID
      Returns:
      id
    • setId

      public void setId(Integer id)
      Set the internal ID
      Parameters:
      id - id
    • getName

      public String getName()
      Name of the ContentRepository
      Returns:
      name
    • setName

      public void setName(String name)
      Set the name
      Parameters:
      name - name
    • getCrType

      public ContentRepositoryModel.Type getCrType()
      Type of the ContentRepository
      Returns:
      type
    • setCrType

      public void setCrType(ContentRepositoryModel.Type crType)
      Set the CR type
      Parameters:
      crType - type
    • getDbType

      public String getDbType()
      DB Type of the ContentRepository
      Returns:
      db type
    • setDbType

      public void setDbType(String dbType)
      Set the db type
      Parameters:
      dbType - db type
    • getUsername

      public String getUsername()
      Username for accessing the ContentRepository.
      Returns:
      username
    • setUsername

      public void setUsername(String username)
      Set the username
      Parameters:
      username - username
    • getUsernameProperty

      public String getUsernameProperty()
      Username property for accessing the ContentRepository. This can be set to a system property or environment variable in the format ${sys:property} or ${env:variable}.
      Returns:
      username property
    • setUsernameProperty

      public void setUsernameProperty(String usernameProperty)
      Set the username property
      Parameters:
      usernameProperty - username property
    • getPassword

      public String getPassword()
      Password for accessing the ContentRepository.
      Returns:
      password
    • setPassword

      public void setPassword(String password)
      Set the password
      Parameters:
      password - password
    • getPasswordProperty

      public String getPasswordProperty()
      Property, which will resolve to the password. This can be set to a system property or environment variable in the format ${sys:property} or ${env:variable}.
      Returns:
    • setPasswordProperty

      public void setPasswordProperty(String passwordProperty)
      Set the password property
      Parameters:
      passwordProperty -
    • getHttp2

      public Boolean getHttp2()
      True when a HTTP/2 is used
      Returns:
      true for HTTP/2
    • setHttp2

      public void setHttp2(Boolean http2)
      Set whether HTTP/2 version should be used
      Parameters:
      http2 - true for HTTP/2
    • getPasswordType

      public ContentRepositoryModel.PasswordType getPasswordType()
      URL for accessing the ContentRepository Type of password
      Returns:
      password type
    • setPasswordType

      public void setPasswordType(ContentRepositoryModel.PasswordType passwordType)
      Set the type of how the password is set
      Parameters:
      passwordType - type if the password
    • getUrl

      public String getUrl()
      URL for accessing the ContentRepository.
      Returns:
      url
    • setUrl

      public void setUrl(String url)
      Set the URL
      Parameters:
      url - url
    • getUrlProperty

      public String getUrlProperty()
      URL property for accessing the ContentRepository. This can be set to a system property or environment variable in the format ${sys:property} or ${env:variable}.
      Returns:
      url property
    • setUrlProperty

      public void setUrlProperty(String urlProperty)
      Set the URL property
      Parameters:
      urlProperty - url property
    • getBasepath

      public String getBasepath()
      Basepath for filesystem attributes.
      Returns:
      basepath
    • setBasepath

      public void setBasepath(String basepath)
      Set the basepath
      Parameters:
      basepath - basepath
    • getBasepathProperty

      public String getBasepathProperty()
      Basepath property for filesystem attributes. This can be set to a system property or environment variable in the format ${sys:property} or ${env:variable}.
      Returns:
      basepath property
    • setBasepathProperty

      public void setBasepathProperty(String basepathProperty)
      Set the basepath property
      Parameters:
      basepathProperty - basepath property
    • getInstantPublishing

      public Boolean getInstantPublishing()
      Flag for instant publishing
      Returns:
      instant publishing flag
    • setInstantPublishing

      public void setInstantPublishing(Boolean instantPublishing)
      Set the instant publishing flag
      Parameters:
      instantPublishing - instant publishing flag
    • getLanguageInformation

      public Boolean getLanguageInformation()
      Flag for publishing language information
      Returns:
      language information flag
    • setLanguageInformation

      public void setLanguageInformation(Boolean languageInformation)
      Set the language information flag
      Parameters:
      languageInformation - language information flag
    • getPermissionInformation

      public Boolean getPermissionInformation()
      Flag for publishing permission information
      Returns:
      permission information flag
    • setPermissionInformation

      public void setPermissionInformation(Boolean permissionInformation)
      Set the permission information flag
      Parameters:
      permissionInformation - permission information flag
    • getPermissionProperty

      public String getPermissionProperty()
      Property containing the permission (role) information for Mesh CRs
      Returns:
      name of the property
    • setPermissionProperty

      public void setPermissionProperty(String permissionProperty)
      Set the permission property
      Parameters:
      permissionProperty - name of the property
    • getDefaultPermission

      public String getDefaultPermission()
      Default permission (role) to be set on objects in Mesh CRs
      Returns:
      default permission
    • setDefaultPermission

      public void setDefaultPermission(String defaultPermission)
      Set the default permission
      Parameters:
      defaultPermission - default permission
    • getDiffDelete

      public Boolean getDiffDelete()
      Flag for differential deleting of superfluous objects
      Returns:
      differential delete flag
    • setDiffDelete

      public void setDiffDelete(Boolean diffDelete)
      Set flag for differential delete
      Parameters:
      diffDelete - differential delete flag
    • getElasticsearch

      public CRElasticsearchModel getElasticsearch()
      Get the elasticsearch specific configuration of a Mesh CR
      Returns:
      elasticsearch config
    • setElasticsearch

      public void setElasticsearch(CRElasticsearchModel elasticsearch)
      Set the elasticsearch config
      Parameters:
      elasticsearch - config
    • getProjectPerNode

      public Boolean getProjectPerNode()
      Flag for publishing every node into its own project for Mesh contentrepositories
      Returns:
      true for project per node
    • setProjectPerNode

      public void setProjectPerNode(Boolean projectPerNode)
      Set flag for project per node
      Parameters:
      projectPerNode - true for project per node
    • getVersion

      public String getVersion()
      Implementation version of the Mesh ContentRepository
      Returns:
      implementation version
    • setVersion

      public void setVersion(String version)
      Set the implementation version
      Parameters:
      version - implementation version
    • getCheckDate

      public Integer getCheckDate()
      Date of last check of structure
      Returns:
      structure check date
    • setCheckDate

      public void setCheckDate(Integer checkDate)
      Set structure check date
      Parameters:
      checkDate - structure check date
    • getCheckStatus

      public ContentRepositoryModel.Status getCheckStatus()
      Status of last structure check
      Returns:
      structure check status
    • setCheckStatus

      public void setCheckStatus(ContentRepositoryModel.Status checkStatus)
      Set structure check status
      Parameters:
      checkStatus - structure check status
    • getCheckResult

      public String getCheckResult()
      Result of last structure check
      Returns:
      structure check result
    • setCheckResult

      public void setCheckResult(String checkResult)
      Set structure check result
      Parameters:
      checkResult - structure check result
    • getStatusDate

      public Integer getStatusDate()
      Date of data status (last publish process)
      Returns:
      data status date
    • setStatusDate

      public void setStatusDate(Integer statusDate)
      Set data status date
      Parameters:
      statusDate - data status date
    • getDataStatus

      public ContentRepositoryModel.Status getDataStatus()
      Status of last data check
      Returns:
      data check status
    • setDataStatus

      public void setDataStatus(ContentRepositoryModel.Status dataStatus)
      Set data check status
      Parameters:
      dataStatus - data check status
    • getDataCheckResult

      public String getDataCheckResult()
      Result of last data check
      Returns:
      data check result
    • setDataCheckResult

      public void setDataCheckResult(String dataCheckResult)
      Set data check result
      Parameters:
      dataCheckResult - data check result
    • getNoFoldersIndex

      public Boolean getNoFoldersIndex()
      Get 'exclude folders from indexing' flag.
    • setNoFoldersIndex

      public void setNoFoldersIndex(Boolean noFolderIndex)
      Set 'exclude folders from indexing' flag.
      Parameters:
      noFolderIndex -
    • getNoFilesIndex

      public Boolean getNoFilesIndex()
      Get 'exclude files from indexing' flag.
      Returns:
    • setNoFilesIndex

      public void setNoFilesIndex(Boolean noFilesIndex)
      Set 'exclude files from indexing' flag.
      Parameters:
      noFilesIndex -
    • getNoPagesIndex

      public Boolean getNoPagesIndex()
      Get 'exclude pages from indexing' flag.
      Returns:
    • setNoPagesIndex

      public void setNoPagesIndex(Boolean noPagesIndex)
      Set 'exclude pages from indexing' flag.
      Parameters:
      noPagesIndex -
    • getNoFormsIndex

      public Boolean getNoFormsIndex()
      Get 'exclude forms from indexing' flag.
      Returns:
    • setNoFormsIndex

      public void setNoFormsIndex(Boolean noFormsIndex)
      Set 'exclude forms from indexing' flag.
      Parameters:
      noFormsIndex -