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
Nested ClassesModifier and TypeClassDescriptionstatic enumPossible values for how the password is setstatic enumPossible Check Status valuesstatic enumPossible ContentRepository types -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Integerprotected Stringprotected ContentRepositoryModel.Statusprotected ContentRepositoryModel.Typeprotected Stringprotected ContentRepositoryModel.Statusprotected Stringprotected Stringprotected Booleanprotected CRElasticsearchModelprotected Booleanprotected Integerprotected Booleanprotected Booleanprotected Stringprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Stringprotected Stringprotected ContentRepositoryModel.PasswordTypeprotected Booleanprotected Stringprotected Booleanprotected Integerprotected Stringprotected Stringprotected Stringprotected Stringprotected String -
Constructor Summary
Constructors -
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 ContentRepositoryvoidsetBasepath(String basepath) Set the basepathvoidsetBasepathProperty(String basepathProperty) Set the basepath propertyvoidsetCheckDate(Integer checkDate) Set structure check datevoidsetCheckResult(String checkResult) Set structure check resultvoidsetCheckStatus(ContentRepositoryModel.Status checkStatus) Set structure check statusvoidsetCrType(ContentRepositoryModel.Type crType) Set the CR typevoidsetDataCheckResult(String dataCheckResult) Set data check resultvoidsetDataStatus(ContentRepositoryModel.Status dataStatus) Set data check statusvoidSet the db typevoidsetDefaultPermission(String defaultPermission) Set the default permissionvoidsetDiffDelete(Boolean diffDelete) Set flag for differential deletevoidsetElasticsearch(CRElasticsearchModel elasticsearch) Set the elasticsearch configvoidSet whether HTTP/2 version should be usedvoidSet the internal IDvoidsetInstantPublishing(Boolean instantPublishing) Set the instant publishing flagvoidsetLanguageInformation(Boolean languageInformation) Set the language information flagvoidSet the namevoidsetNoFilesIndex(Boolean noFilesIndex) Set 'exclude files from indexing' flag.voidsetNoFoldersIndex(Boolean noFolderIndex) Set 'exclude folders from indexing' flag.voidsetNoFormsIndex(Boolean noFormsIndex) Set 'exclude forms from indexing' flag.voidsetNoPagesIndex(Boolean noPagesIndex) Set 'exclude pages from indexing' flag.voidsetPassword(String password) Set the passwordvoidsetPasswordProperty(String passwordProperty) Set the password propertyvoidsetPasswordType(ContentRepositoryModel.PasswordType passwordType) Set the type of how the password is setvoidsetPermissionInformation(Boolean permissionInformation) Set the permission information flagvoidsetPermissionProperty(String permissionProperty) Set the permission propertyvoidsetProjectPerNode(Boolean projectPerNode) Set flag for project per nodevoidsetStatusDate(Integer statusDate) Set data status datevoidSet the URLvoidsetUrlProperty(String urlProperty) Set the URL propertyvoidsetUsername(String username) Set the usernamevoidsetUsernameProperty(String usernameProperty) Set the username propertyvoidsetVersion(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-
-