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
ContentRepository
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Possible values for how the password is setstatic enum
Possible Check Status valuesstatic enum
Possible ContentRepository types -
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected String
protected Integer
protected String
protected ContentRepositoryModel.Status
protected ContentRepositoryModel.Type
protected String
protected ContentRepositoryModel.Status
protected String
protected String
protected Boolean
protected CRElasticsearchModel
protected Boolean
protected Integer
protected Boolean
protected Boolean
protected String
protected Boolean
protected Boolean
protected Boolean
protected Boolean
protected String
protected String
protected ContentRepositoryModel.PasswordType
protected Boolean
protected String
protected Boolean
protected Integer
protected String
protected String
protected String
protected String
protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionBasepath for filesystem attributes.Basepath property for filesystem attributes.Date of last check of structureResult of last structure checkStatus of last structure checkType of the ContentRepositoryResult of last data checkStatus of last data checkDB Type of the ContentRepositoryDefault permission (role) to be set on objects in Mesh CRsFlag for differential deleting of superfluous objectsGet the elasticsearch specific configuration of a Mesh CRgetHttp2()
True when a HTTP/2 is usedgetId()
Internal IDFlag for instant publishingFlag for publishing language informationgetName()
Name of the ContentRepositoryGet 'exclude files from indexing' flag.Get 'exclude folders from indexing' flag.Get 'exclude forms from indexing' flag.Get 'exclude pages from indexing' flag.Password for accessing the ContentRepository.Property, which will resolve to the password.URL for accessing the ContentRepository Type of passwordFlag for publishing permission informationProperty containing the permission (role) information for Mesh CRsFlag for publishing every node into its own project for Mesh contentrepositoriesDate of data status (last publish process)getUrl()
URL for accessing the ContentRepository.URL property for accessing the ContentRepository.Username for accessing the ContentRepository.Username property for accessing the ContentRepository.Implementation version of the Mesh ContentRepositoryvoid
setBasepath
(String basepath) Set the basepathvoid
setBasepathProperty
(String basepathProperty) Set the basepath propertyvoid
setCheckDate
(Integer checkDate) Set structure check datevoid
setCheckResult
(String checkResult) Set structure check resultvoid
setCheckStatus
(ContentRepositoryModel.Status checkStatus) Set structure check statusvoid
setCrType
(ContentRepositoryModel.Type crType) Set the CR typevoid
setDataCheckResult
(String dataCheckResult) Set data check resultvoid
setDataStatus
(ContentRepositoryModel.Status dataStatus) Set data check statusvoid
Set the db typevoid
setDefaultPermission
(String defaultPermission) Set the default permissionvoid
setDiffDelete
(Boolean diffDelete) Set flag for differential deletevoid
setElasticsearch
(CRElasticsearchModel elasticsearch) Set the elasticsearch configvoid
Set whether HTTP/2 version should be usedvoid
Set the internal IDvoid
setInstantPublishing
(Boolean instantPublishing) Set the instant publishing flagvoid
setLanguageInformation
(Boolean languageInformation) Set the language information flagvoid
Set the namevoid
setNoFilesIndex
(Boolean noFilesIndex) Set 'exclude files from indexing' flag.void
setNoFoldersIndex
(Boolean noFolderIndex) Set 'exclude folders from indexing' flag.void
setNoFormsIndex
(Boolean noFormsIndex) Set 'exclude forms from indexing' flag.void
setNoPagesIndex
(Boolean noPagesIndex) Set 'exclude pages from indexing' flag.void
setPassword
(String password) Set the passwordvoid
setPasswordProperty
(String passwordProperty) Set the password propertyvoid
setPasswordType
(ContentRepositoryModel.PasswordType passwordType) Set the type of how the password is setvoid
setPermissionInformation
(Boolean permissionInformation) Set the permission information flagvoid
setPermissionProperty
(String permissionProperty) Set the permission propertyvoid
setProjectPerNode
(Boolean projectPerNode) Set flag for project per nodevoid
setStatusDate
(Integer statusDate) Set data status datevoid
Set the URLvoid
setUrlProperty
(String urlProperty) Set the URL propertyvoid
setUsername
(String username) Set the usernamevoid
setUsernameProperty
(String usernameProperty) Set the username propertyvoid
setVersion
(String version) Set the implementation versionMethods inherited from class com.gentics.contentnode.rest.model.AbstractModel
getGlobalId, setGlobalId
-
Field Details
-
id
-
name
-
crType
-
dbType
-
username
-
usernameProperty
-
password
-
passwordProperty
-
passwordType
-
http2
-
url
-
urlProperty
-
basepath
-
basepathProperty
-
instantPublishing
-
languageInformation
-
permissionInformation
-
permissionProperty
-
defaultPermission
-
diffDelete
-
elasticsearch
-
projectPerNode
-
version
-
checkDate
-
checkStatus
-
checkResult
-
statusDate
-
dataStatus
-
dataCheckResult
-
noFoldersIndex
-
noFilesIndex
-
noPagesIndex
-
noFormsIndex
-
-
Constructor Details
-
ContentRepositoryModel
public ContentRepositoryModel()Create empty instance
-
-
Method Details
-
getId
Internal ID- Returns:
- id
-
setId
Set the internal ID- Parameters:
id
- id
-
getName
Name of the ContentRepository- Returns:
- name
-
setName
Set the name- Parameters:
name
- name
-
getCrType
Type of the ContentRepository- Returns:
- type
-
setCrType
Set the CR type- Parameters:
crType
- type
-
getDbType
DB Type of the ContentRepository- Returns:
- db type
-
setDbType
Set the db type- Parameters:
dbType
- db type
-
getUsername
Username for accessing the ContentRepository.- Returns:
- username
-
setUsername
Set the username- Parameters:
username
- username
-
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
Set the username property- Parameters:
usernameProperty
- username property
-
getPassword
Password for accessing the ContentRepository.- Returns:
- password
-
setPassword
Set the password- Parameters:
password
- password
-
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
Set the password property- Parameters:
passwordProperty
-
-
getHttp2
True when a HTTP/2 is used- Returns:
- true for HTTP/2
-
setHttp2
Set whether HTTP/2 version should be used- Parameters:
http2
- true for HTTP/2
-
getPasswordType
URL for accessing the ContentRepository Type of password- Returns:
- password type
-
setPasswordType
Set the type of how the password is set- Parameters:
passwordType
- type if the password
-
getUrl
URL for accessing the ContentRepository.- Returns:
- url
-
setUrl
Set the URL- Parameters:
url
- url
-
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
Set the URL property- Parameters:
urlProperty
- url property
-
getBasepath
Basepath for filesystem attributes.- Returns:
- basepath
-
setBasepath
Set the basepath- Parameters:
basepath
- basepath
-
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
Set the basepath property- Parameters:
basepathProperty
- basepath property
-
getInstantPublishing
Flag for instant publishing- Returns:
- instant publishing flag
-
setInstantPublishing
Set the instant publishing flag- Parameters:
instantPublishing
- instant publishing flag
-
getLanguageInformation
Flag for publishing language information- Returns:
- language information flag
-
setLanguageInformation
Set the language information flag- Parameters:
languageInformation
- language information flag
-
getPermissionInformation
Flag for publishing permission information- Returns:
- permission information flag
-
setPermissionInformation
Set the permission information flag- Parameters:
permissionInformation
- permission information flag
-
getPermissionProperty
Property containing the permission (role) information for Mesh CRs- Returns:
- name of the property
-
setPermissionProperty
Set the permission property- Parameters:
permissionProperty
- name of the property
-
getDefaultPermission
Default permission (role) to be set on objects in Mesh CRs- Returns:
- default permission
-
setDefaultPermission
Set the default permission- Parameters:
defaultPermission
- default permission
-
getDiffDelete
Flag for differential deleting of superfluous objects- Returns:
- differential delete flag
-
setDiffDelete
Set flag for differential delete- Parameters:
diffDelete
- differential delete flag
-
getElasticsearch
Get the elasticsearch specific configuration of a Mesh CR- Returns:
- elasticsearch config
-
setElasticsearch
Set the elasticsearch config- Parameters:
elasticsearch
- config
-
getProjectPerNode
Flag for publishing every node into its own project for Mesh contentrepositories- Returns:
- true for project per node
-
setProjectPerNode
Set flag for project per node- Parameters:
projectPerNode
- true for project per node
-
getVersion
Implementation version of the Mesh ContentRepository- Returns:
- implementation version
-
setVersion
Set the implementation version- Parameters:
version
- implementation version
-
getCheckDate
Date of last check of structure- Returns:
- structure check date
-
setCheckDate
Set structure check date- Parameters:
checkDate
- structure check date
-
getCheckStatus
Status of last structure check- Returns:
- structure check status
-
setCheckStatus
Set structure check status- Parameters:
checkStatus
- structure check status
-
getCheckResult
Result of last structure check- Returns:
- structure check result
-
setCheckResult
Set structure check result- Parameters:
checkResult
- structure check result
-
getStatusDate
Date of data status (last publish process)- Returns:
- data status date
-
setStatusDate
Set data status date- Parameters:
statusDate
- data status date
-
getDataStatus
Status of last data check- Returns:
- data check status
-
setDataStatus
Set data check status- Parameters:
dataStatus
- data check status
-
getDataCheckResult
Result of last data check- Returns:
- data check result
-
setDataCheckResult
Set data check result- Parameters:
dataCheckResult
- data check result
-
getNoFoldersIndex
Get 'exclude folders from indexing' flag. -
setNoFoldersIndex
Set 'exclude folders from indexing' flag.- Parameters:
noFolderIndex
-
-
getNoFilesIndex
Get 'exclude files from indexing' flag.- Returns:
-
setNoFilesIndex
Set 'exclude files from indexing' flag.- Parameters:
noFilesIndex
-
-
getNoPagesIndex
Get 'exclude pages from indexing' flag.- Returns:
-
setNoPagesIndex
Set 'exclude pages from indexing' flag.- Parameters:
noPagesIndex
-
-
getNoFormsIndex
Get 'exclude forms from indexing' flag.- Returns:
-
setNoFormsIndex
Set 'exclude forms from indexing' flag.- Parameters:
noFormsIndex
-
-