| Modifier and Type | Method and Description |
|---|---|
TemplatesBean |
fetchTemplates(Long site,
TypeBean type,
List<TemplateBean.Type> templateType,
String nameRegex,
Integer start,
Integer pageSize)
Fetches the templates in the specified editorial site as per specified
filter criteria and returns paged results.
|
TemplatesBean |
fetchTemplates(Long site,
TypeBean type,
List<TemplateBean.Type> templateType,
String nameRegex,
Integer start,
Integer pageSize,
String deviceGroupSuffix)
Fetches the templates in the specified editorial site as per specified
filter criteria and returns paged results.
|
List<ArgumentBean> |
getArguments(AssetId assetId)
Returns a list containing the arguments associated with a template for
the specified asset type.
|
List<ArgumentBean> |
getTemplateArguments(String templateName,
String assetType)
Returns a list containing the arguments associated with a template for
the specified asset type.
|
List<TemplateBean> |
getTemplates(Long site,
TypeBean type,
List<TemplateBean.Type> templateType,
String nameRegex)
Returns the templates in the specified editorial site as per specified
filter criteria.
|
getManager, getResponse, setManagerList<TemplateBean> getTemplates(Long site, TypeBean type, List<TemplateBean.Type> templateType, String nameRegex) throws ServiceException
site - the editorial site for which the templates are being retrieved.type - filter for a specific asset type and sub-type, or null for Typeless.templateType - filter for a specific template type.nameRegex - comma-separated list of regular expression to match the template name against, null for no name restriction.ServiceException - wraps any exception underlying the service call.TemplatesBean fetchTemplates(Long site, TypeBean type, List<TemplateBean.Type> templateType, String nameRegex, Integer start, Integer pageSize) throws ServiceException
site - the editorial site for which the templates are being fetched.type - filter for a specific asset type and sub-type, or null for Typeless.templateType - filter for a specific template type.nameRegex - comma-separated list of regular expression to match the template name against, null for no name restriction.start - the start index for the paged result.pageSize - the page size for the result.ServiceException - wraps any exception underlying the service call.TemplatesBean fetchTemplates(Long site, TypeBean type, List<TemplateBean.Type> templateType, String nameRegex, Integer start, Integer pageSize, String deviceGroupSuffix) throws ServiceException
site - the editorial site for which the templates are being fetched.type - filter for a specific asset type and sub-type, or null for Typeless.templateType - filter for a specific template type.nameRegex - comma-separated list of regular expression to match the template name against, null for no name restriction.start - the start index for the paged result.pageSize - the page size for the result.deviceGroupSuffix - The suffix of the selected device's device group.ServiceException - wraps any exception underlying the service call.List<ArgumentBean> getTemplateArguments(String templateName, String assetType) throws ServiceException
templateName - name of the temaplate for which the arguments need to be retrieved.assetType - the asset type for which the templates are to be retrieved.ServiceException - wraps any exception underlying the service call.List<ArgumentBean> getArguments(AssetId assetId) throws ServiceException
assetId - AssetId of template,cs element,site entry for which the arguments need to be retrieved.ServiceException - wraps any exception underlying the service call.