public interface ContentMgrIf
Modifier and Type | Method and Description |
---|---|
ContentIf |
getContent(int contentId,
int languageId)
Get the latest (last to be inserted) enabled Content record with the specified contentId for
the specified languageId.
|
ContentSearchResultIf |
getContents(java.lang.String sessionId,
ContentSearchIf search,
DataDescriptorIf dd)
Retrieve Content records using the specified search criteria
|
ContentTypeIf |
getContentType(int contentTypeId,
int languageId)
Return the ContentType for the specified language and contentTypeId
|
ContentTypeIf[] |
getContentTypes(int languageId)
Return all the ContentTypes for the specified language
|
void |
refreshConfigs()
Refresh the configuration of the ContentMgr
|
ContentIf getContent(int contentId, int languageId) throws com.konakart.app.KKException
contentId
- the contentIdlanguageId
- the languageId of the Content to return (Content Descriptions are
language-specific). If KKConstants.DEFAULT_LANGUAGE_ID is used the default
languageId is used).com.konakart.app.KKException
- an unexpected KKException exceptionContentSearchResultIf getContents(java.lang.String sessionId, ContentSearchIf search, DataDescriptorIf dd) throws com.konakart.app.KKException
sessionId
- the sessionId of the customer. This may be used to look up the customer in order
to evaluate expressions to determine the required content. Set to null if the
customer isn't logged in.search
- the content search criteriadd
- the data descriptor objectcom.konakart.app.KKException
- an unexpected KKException exceptionContentTypeIf getContentType(int contentTypeId, int languageId) throws com.konakart.app.KKException
contentTypeId
- the ContentTypeIdlanguageId
- the languageId of the ContentType to return (Content Type Descriptions are
language-specific). If KKConstants.DEFAULT_LANGUAGE_ID is used the default
language is used)com.konakart.app.KKException
- an unexpected KKException exceptionContentTypeIf[] getContentTypes(int languageId) throws com.konakart.app.KKException
languageId
- the languageId of the ContentTypes to return (Content Type Descriptions are
language-specific). If KKConstants.DEFAULT_LANGUAGE_ID is used the default
language is used)com.konakart.app.KKException
- an unexpected KKException exceptionvoid refreshConfigs() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionCopyright © 2018 DS Data Systems UK Ltd.