Interface ServicesConfig
- All Known Implementing Classes:
ServicesConfigImpl
public interface ServicesConfig
This class provides the repository configuration information
- Author:
- hyanghee
-
Method Summary
Modifier and TypeMethodDescriptiongetAdminEmailAddress
(String siteId) Get configured admin email address for notification emails for given sitegetAssetPatterns
(String site) get asset item URI patternsgetAuthoringUrl
(String siteId) Get configured authoring url for given sitegetComponentPatterns
(String site) get component item URI patternsGet configuration item URI patternsgetContentTypeConfig
(String site, String name) get DM content type configuration by the given site and namegetCopyDependencyPatterns
(String site, String contentType) get the copy dependencies pattern for a content typegetDefaultTimezone
(String site) get the default timezone valuegetDeleteDependencyPatterns
(String site, String contentType) get the delete dependencies related to a content typeget a list of paths to display in widgetsgetDocumentPatterns
(String site) get document item URI patternsReturns the search facets configuration for the given sitegetFolders
(String site) get a list of folder configuration.getLevelDescriptorName
(String site) get the name of level descriptorget level descriptor item URI patternsgetLiveEnvironment
(String site) getLiveUrl
(String siteId) Get configured live url for given sitegetPagePatterns
(String site) get page item URI patternsgetPluginFolderPattern
(String site) Get the pattern for the plugin folder in the given sitegetProtectedFolderPatterns
(String siteId) Get configured protected folder patterns for siteget rendering template item URI patternsgetRootPrefix
(String site) get the root prefix of site. the root prefix represents the folder name pattern of the corporate and the geo site file locations e.g. if corporate files are under /site and the geo site files are under /site_geo then the root prefix should be "/site"getSandboxBranchName
(String site) Get sandbox branch name for given sitegetScriptsPatterns
(String site) get scripts item URI patternsgetSearchFields
(String site) Returns the search field configuration for the given sitegetStagingEnvironment
(String site) getStagingUrl
(String siteId) Get configure staging url for given sitegetWemProject
(String site) get the name of the web project for the given siteboolean
isRequirePeerReview
(String siteId) Check if it is configured to require peer reviewboolean
-
Method Details
-
getRootPrefix
get the root prefix of site. the root prefix represents the folder name pattern of the corporate and the geo site file locations e.g. if corporate files are under /site and the geo site files are under /site_geo then the root prefix should be "/site"- Parameters:
site
-- Returns:
- root prefix
-
getWemProject
get the name of the web project for the given site- Parameters:
site
-- Returns:
- web project name
-
getFolders
get a list of folder configuration. The top folders are used to as the top categories when services return a collection of items such as get-go-live-items call- Parameters:
site
-- Returns:
- a list of folder configuration
-
getContentTypeConfig
get DM content type configuration by the given site and name- Parameters:
site
-name
-- Returns:
- content type
-
getComponentPatterns
get component item URI patterns- Returns:
- component item URI patterns
-
getAssetPatterns
get asset item URI patterns- Returns:
- asset item URI patterns
-
getPagePatterns
get page item URI patterns- Returns:
- page item URI patterns
-
getDocumentPatterns
get document item URI patterns- Returns:
- document item URI patterns
-
getRenderingTemplatePatterns
get rendering template item URI patterns- Returns:
- rendering template item URI patterns
-
getScriptsPatterns
get scripts item URI patterns- Returns:
- scripts item URI patterns
-
getConfigurationPatterns
Get configuration item URI patterns- Parameters:
site
- site identifier- Returns:
- configuration items
-
getLevelDescriptorPatterns
get level descriptor item URI patterns- Returns:
- level descriptor item URI patterns
-
getLevelDescriptorName
get the name of level descriptor- Parameters:
site
-- Returns:
- level descriptor name
-
getDeleteDependencyPatterns
get the delete dependencies related to a content type- Parameters:
site
-- Returns:
- delete dependencys patterns
-
getCopyDependencyPatterns
get the copy dependencies pattern for a content type- Parameters:
site
-contentType
-- Returns:
- copy dependencies patterns
-
getDisplayInWidgetPathPatterns
get a list of paths to display in widgets- Parameters:
site
-- Returns:
- a list of paths to display in widgets
-
getDefaultTimezone
get the default timezone value- Parameters:
site
-- Returns:
- default timezone
-
getPreviewableMimetypesPaterns
-
getPluginFolderPattern
Get the pattern for the plugin folder in the given site -
getSandboxBranchName
Get sandbox branch name for given site- Parameters:
site
-- Returns:
- Sandbox branch name
-
getStagingEnvironment
-
getLiveEnvironment
-
isStagingEnvironmentEnabled
-
getSearchFields
Returns the search field configuration for the given site- Parameters:
site
- the site- Returns:
- the search fields
-
getFacets
Returns the search facets configuration for the given site- Parameters:
site
- the site- Returns:
- the facets
-
getAuthoringUrl
Get configured authoring url for given site- Parameters:
siteId
- site identifier- Returns:
- authoring url
-
getStagingUrl
Get configure staging url for given site- Parameters:
siteId
- site identifier- Returns:
- staging url
-
getLiveUrl
Get configured live url for given site- Parameters:
siteId
- site identifier- Returns:
- live url
-
getAdminEmailAddress
Get configured admin email address for notification emails for given site- Parameters:
siteId
- site identifier- Returns:
- admin email address
-
isRequirePeerReview
Check if it is configured to require peer review- Parameters:
siteId
- site identifier- Returns:
- true if require peer review is configured for site
-
getProtectedFolderPatterns
Get configured protected folder patterns for site- Parameters:
siteId
- site identifier- Returns:
- list of configured protected folders patterns
-