public class ContentMgrEE extends ContentMgr implements ContentMgrIf
| Modifier and Type | Class and Description |
|---|---|
protected class |
ContentMgrEE.StaticData
Used to store the static data of this manager
|
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
log
the log
|
protected static java.lang.String |
mutex |
protected static java.util.Map<java.lang.String,ContentMgrEE.StaticData> |
staticDataHM
Hash Map that contains the static data
|
templateBaseDir| Constructor and Description |
|---|
ContentMgrEE(KKEngIf eng)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addContentDescriptionAttributes(KKCriteria c) |
protected void |
addContentOrderBy(KKCriteria c,
DataDescriptorIf search) |
protected void |
addContentSearchCriteria(KKCriteria c,
ContentSearchIf search,
java.util.Date timeNow) |
protected void |
addContentTypeDescriptionAttributes(KKCriteria c) |
protected void |
addContentTypeOrderBy(KKCriteria c,
DataDescriptorIf search) |
protected void |
addSearchCriteria(KKCriteria c,
DataDescriptorIf dataDesc) |
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 inSearch,
DataDescriptorIf inDataDesc)
Retrieve Content records using the specified search criteria
|
ContentTypeIf |
getContentType(int contentTypeId,
int languageId)
Returns the ContentType referenced by the contentTypeId and languageId.
|
ContentTypeIf[] |
getContentTypes(int languageId)
Return all the ContentTypes for the specified language
|
void |
refreshConfigs()
Refresh the configuration of the Content Manager
|
acquireLock, addInsertAttr, addInsertAttr, addStringRuleConstraint, addStringRuleConstraint, checkRequired, escapeHTML, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, getAdminEngMgr, getBasketMgr, getBillingMgr, getBookableProductMgr, getCacheMgr, getCatMgr, getConfigMgr, getCookieMgr, getCurrMgr, getCustMgr, getCustomerIdFromSession, getCustomerStatsMgr, getCustomerTagMgr, getEmailMgr, getEng, getEventMgr, getExportMgr, getHTMLEscaper, getKonaKartConfig, getKonaKartConfig, getKonaKartConfig, getLangMgr, getManuMgr, getMiscItemMgr, getMiscPriceMgr, getMode, getModeString, getMqMgr, getMultiStoreMgr, getNewCriteria, getNewCriteria, getOrderIntegrationMgr, getOrderMgr, getOrderTotalMgr, getPaymentMgr, getProdMgr, getProductsToCategoresCriteria, getPromMgr, getPunchOutMgr, getRewardPointMgr, getSecMgr, getShippingMgr, getSolrMgr, getStoreId, getStoreMgr, getStoreTime, getSuggestionMgr, getTaxMgr, getTemplate, getTemplateRoot, getVelocityContextMgr, getWishListMgr, init, insertKKEvent, insertKKEvent, isBusiness, isBusinessOrEnterprise, isClassPresent, isCommunity, isDeadlockException, isEnterprise, isMultiStoreShareCategories, isMultiStoreShareCustomers, isMultiStoreShareCustomersOrProducts, isMultiStoreSharedDb, isMultiStoreShareProducts, isMultiVendor, isUnix, manageThrowable, releaseLock, updateStaticVariablesNowprotected static org.apache.commons.logging.Log log
protected static java.lang.String mutex
protected static java.util.Map<java.lang.String,ContentMgrEE.StaticData> staticDataHM
public ContentMgrEE(KKEngIf eng) throws java.lang.Exception
eng - the engjava.lang.Exception - an unexpected exceptionpublic ContentIf getContent(int contentId, int languageId) throws com.konakart.app.KKException
ContentMgrIfgetContent in interface ContentMgrIfgetContent in class ContentMgrcontentId - 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 exceptionpublic ContentSearchResultIf getContents(java.lang.String sessionId, ContentSearchIf inSearch, DataDescriptorIf inDataDesc) throws com.konakart.app.KKException
ContentMgrIfgetContents in interface ContentMgrIfgetContents in class ContentMgrsessionId - 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.inSearch - the content search criteriainDataDesc - the data descriptor objectcom.konakart.app.KKException - an unexpected KKException exceptionprotected void addContentDescriptionAttributes(KKCriteria c)
protected void addSearchCriteria(KKCriteria c, DataDescriptorIf dataDesc)
protected void addContentSearchCriteria(KKCriteria c, ContentSearchIf search, java.util.Date timeNow) throws com.konakart.app.KKException
com.konakart.app.KKExceptionprotected void addContentOrderBy(KKCriteria c, DataDescriptorIf search)
protected void addContentTypeOrderBy(KKCriteria c, DataDescriptorIf search)
public ContentTypeIf getContentType(int contentTypeId, int languageId) throws com.konakart.app.KKException
getContentType in interface ContentMgrIfgetContentType in class ContentMgrcontentTypeId - the contentTypeId of the ContentTypelanguageId - the languageId of the ContentTypecom.konakart.app.KKException - an unexpected KKException exceptionpublic ContentTypeIf[] getContentTypes(int languageId) throws com.konakart.app.KKException
ContentMgrIfgetContentTypes in interface ContentMgrIfgetContentTypes in class ContentMgrlanguageId - 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 exceptionprotected void addContentTypeDescriptionAttributes(KKCriteria c)
public void refreshConfigs()
throws java.lang.Exception
refreshConfigs in interface ContentMgrIfrefreshConfigs in class ContentMgrjava.lang.Exception - an unexpected exceptionCopyright © 2018 DS Data Systems UK Ltd.