public class AdminContentMgrEE extends AdminContentMgr implements AdminContentMgrIf
Modifier and Type | Class and Description |
---|---|
protected class |
AdminContentMgrEE.StaticData
Used to store the static data of this manager
|
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
adminContentMgrEEMutex |
protected static java.util.Map<java.lang.String,AdminContentMgrEE.StaticData> |
staticDataHM
Hash Map that contains the static data
|
log, mutex
adminEng, baseMgrMutex, baseStaticDataHM, cDataEnd, cDataStart, debugStackTraceExclusions, kkAdminPropsFilePath, kkConf, kkInstanceId, mgrFactory, STORE_ID, templateBaseDir
Constructor and Description |
---|
AdminContentMgrEE(KKAdminIf eng)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
addContentDescriptionAttributes(com.konakart.db.KKCriteria c) |
protected void |
addContentOrderBy(com.konakart.db.KKCriteria c,
AdminDataDescriptor search) |
protected int |
addContentSearchCriteria(com.konakart.db.KKCriteria c,
AdminContentSearch search) |
protected void |
addContentTypeDescriptionAttributes(com.konakart.db.KKCriteria c) |
protected void |
addContentTypeOrderBy(com.konakart.db.KKCriteria c,
AdminDataDescriptor search) |
protected int |
addContentTypeSearchCriteria(com.konakart.db.KKCriteria c,
AdminContentTypeSearch search) |
protected int |
addSearchCriteria(com.konakart.db.KKCriteria c,
AdminDataDescriptor dataDesc) |
protected void |
checkContent(AdminContent content,
AdminContentMgrEE.StaticData sd) |
protected void |
checkContentType(AdminContentType contentType,
AdminContentMgrEE.StaticData sd) |
void |
deleteContent(int contentId)
Delete an AdminContent object - all associated AdminContentDescriptions are also deleted
|
void |
deleteContentType(int contentTypeId)
Delete an AdminContentType object - all associated AdminContentTypeDescriptions are also
deleted
|
AdminContent |
getContent(int contentId)
Returns the content object referenced by the content Id.
|
AdminContentSearchResult |
getContents(AdminContentSearch inSearch,
AdminDataDescriptor dataDesc)
Returns an array of content records matching the search criteria.
|
AdminContentType |
getContentType(int contentTypeId)
Returns the AdminContentType referenced by the contentTypeId.
|
AdminContentTypeSearchResult |
getContentTypes(AdminContentTypeSearch inSearch,
AdminDataDescriptor dataDesc)
Returns an array of AdminContentType records matching the search criteria.
|
int |
insertContent(AdminContent content)
Insert an AdminContent object.
|
int |
insertContentDescription(AdminContentDescription ctDesc)
Insert a single AdminContentDescription record.
|
int |
insertContentType(AdminContentType contentType)
Insert an AdminContentType object.
|
int |
insertContentTypeDescription(AdminContentTypeDescription ctDesc)
Insert a single AdminContentTypeDescription record.
|
void |
refreshConfigs()
Refresh the configuration of the Admin Content Manager
|
void |
updateContent(AdminContent content)
Update an AdminContent object
|
void |
updateContentType(AdminContentType contentType)
Update an AdminContentType object
|
addInsertAttr, addInsertAttr, addStringRuleConstraint, addStringRuleConstraint, checkAPICallEnabled, checkIntInRange, checkIntIsSet, checkRequired, executeQuery, executeQuery, getAdminAddressMgr, getAdminAuditMgr, getAdminBillingMgr, getAdminBookableProductMgr, getAdminCatMgr, getAdminConfigMgr, getAdminContentMgr, getAdminCurrMgr, getAdminCustMgr, getAdminCustPwdHistMgr, getAdminCustTagMgr, getAdminEmailMgr, getAdminEng, getAdminEngineCacheMgr, getAdminEventMgr, getAdminExecuteMgr, getAdminFileMgr, getAdminFilterMgr, getAdminHtmlMgr, getAdminImportMgr, getAdminLanguageMgr, getAdminManuMgr, getAdminMessageMgr, getAdminMiscItemMgr, getAdminMiscPriceMgr, getAdminModulesMgr, getAdminMultiStoreMgr, getAdminOrderMgr, getAdminPdfMgr, getAdminProdAttrMgr, getAdminProdMgr, getAdminPromMgr, getAdminReviewMgr, getAdminSearchRuleMgr, getAdminSecMgr, getAdminServletMgr, getAdminShipmentMgr, getAdminSolrMgr, getAdminStoreMgr, getAdminSuggestionMgr, getAdminTagMgr, getAdminTaxMgr, getAdminValidationMgr, getAdminVelocityContextMgr, getAdminWishListMgr, getBooleanFromString, getDebugStackTraceExclusions, getEmailThreadGracefulShutdownTimeout, getExportMgr, getExportMgr, getExportXMLData, getIntFromString, getKkAdminPropsFilePath, getKkConfig, getKkInstanceId, getMode, getModeString, getMqMgr, getNewCriteria, getNewCriteria, getNewCriteria, getNewCriteria, getOtherModuleByName, getPostSearchText, getPreSearchText, getProductsToCategoresCriteria, getPropertyValue, getPropertyValue, getPropertyValueAsBool, getPropertyValueAsInt, getPropertyValueAsLong, getRecordCount, getRecordCount, getRewardPointMgr, getSingleIntResult, getStoreId, getTemplate, getTemplateBase, getXml_io, init, insertKKEvent, insertKKEvent, isBusiness, isBusinessOrEnterprise, isCommunity, isConfigSet, isEnterprise, isMultiStoreLanguagesShared, isMultiStoreMode, isMultiStoreShareCategories, isMultiStoreShareCustomers, isMultiStoreShareCustomersOrProducts, isMultiStoreShareProducts, isMultiStoreSingleDBCSMode, isMultiStoreSingleDBMode, isMultiStoreSingleDBNonCSMode, isUnix, isWindows, manageException, manageThrowable, removeCData, sendMQMessages, setAdminEng, setDebugStackTraceExclusions, setKkAdminPropsFilePath, setupWildCardRules, setWildCardAfter, setWildCardBefore, shutdownGracefully, shutdownGracefully, timestampStr, updateStaticVariablesNow
protected static java.lang.String adminContentMgrEEMutex
protected static java.util.Map<java.lang.String,AdminContentMgrEE.StaticData> staticDataHM
public AdminContentMgrEE(KKAdminIf eng) throws java.lang.Exception
eng
- the engjava.lang.Exception
- an unexpected exceptionpublic AdminContentSearchResult getContents(AdminContentSearch inSearch, AdminDataDescriptor dataDesc) throws KKAdminException
AdminContentMgrIf
getContents
in interface AdminContentMgrIf
getContents
in class AdminContentMgr
inSearch
- an AdminContentSearch objectdataDesc
- an AdminDataDescriptor objectKKAdminException
- an unexpected exception in the KonaKart Admin engineprotected void addContentDescriptionAttributes(com.konakart.db.KKCriteria c)
public AdminContent getContent(int contentId) throws KKAdminException
getContent
in interface AdminContentMgrIf
getContent
in class AdminContentMgr
contentId
- the contentIdKKAdminException
- unexpected exception in the KonaKart Admin Engineprotected int addSearchCriteria(com.konakart.db.KKCriteria c, AdminDataDescriptor dataDesc)
protected int addContentSearchCriteria(com.konakart.db.KKCriteria c, AdminContentSearch search) throws KKAdminException
KKAdminException
protected int addContentTypeSearchCriteria(com.konakart.db.KKCriteria c, AdminContentTypeSearch search)
protected void addContentOrderBy(com.konakart.db.KKCriteria c, AdminDataDescriptor search)
protected void addContentTypeOrderBy(com.konakart.db.KKCriteria c, AdminDataDescriptor search)
public void deleteContent(int contentId) throws KKAdminException
AdminContentMgrIf
deleteContent
in interface AdminContentMgrIf
deleteContent
in class AdminContentMgr
contentId
- the contentId of the AdminContent record to deleteKKAdminException
- an unexpected exception in the KonaKart Admin enginepublic int insertContent(AdminContent content) throws KKAdminException
AdminContentMgrIf
insertContent
in interface AdminContentMgrIf
insertContent
in class AdminContentMgr
content
- an AdminContent objectKKAdminException
- an unexpected exception in the KonaKart Admin enginepublic void updateContent(AdminContent content) throws KKAdminException
AdminContentMgrIf
updateContent
in interface AdminContentMgrIf
updateContent
in class AdminContentMgr
content
- an AdminContent objectKKAdminException
- an unexpected exception in the KonaKart Admin engineprotected void checkContent(AdminContent content, AdminContentMgrEE.StaticData sd) throws KKAdminException
KKAdminException
public AdminContentTypeSearchResult getContentTypes(AdminContentTypeSearch inSearch, AdminDataDescriptor dataDesc) throws KKAdminException
AdminContentMgrIf
getContentTypes
in interface AdminContentMgrIf
getContentTypes
in class AdminContentMgr
inSearch
- an AdminContentTypeSearch objectdataDesc
- an AdminDataDescriptor objectKKAdminException
- an unexpected exception in the KonaKart Admin engineprotected void addContentTypeDescriptionAttributes(com.konakart.db.KKCriteria c)
public AdminContentType getContentType(int contentTypeId) throws KKAdminException
getContentType
in interface AdminContentMgrIf
getContentType
in class AdminContentMgr
contentTypeId
- the contentTypeId of the AdminContentTypeKKAdminException
- unexpected exception in the KonaKart Admin Enginepublic void deleteContentType(int contentTypeId) throws KKAdminException
deleteContentType
in interface AdminContentMgrIf
deleteContentType
in class AdminContentMgr
contentTypeId
- the contentTypeId of the AdminContentType record to deleteKKAdminException
- unexpected exception in the KonaKart Admin Enginepublic int insertContentType(AdminContentType contentType) throws KKAdminException
insertContentType
in interface AdminContentMgrIf
insertContentType
in class AdminContentMgr
contentType
- an AdminContentType objectKKAdminException
- unexpected exception in the KonaKart Admin Enginepublic void updateContentType(AdminContentType contentType) throws KKAdminException
updateContentType
in interface AdminContentMgrIf
updateContentType
in class AdminContentMgr
contentType
- an AdminContentType objectKKAdminException
- unexpected exception in the KonaKart Admin Engineprotected void checkContentType(AdminContentType contentType, AdminContentMgrEE.StaticData sd) throws KKAdminException
KKAdminException
public int insertContentTypeDescription(AdminContentTypeDescription ctDesc) throws KKAdminException
AdminContentMgrIf
insertContentTypeDescription
in interface AdminContentMgrIf
insertContentTypeDescription
in class AdminContentMgr
ctDesc
- the AdminContentTypeDescription record to insertKKAdminException
- an unexpected exception in the KonaKart Admin enginepublic int insertContentDescription(AdminContentDescription ctDesc) throws KKAdminException
AdminContentMgrIf
insertContentDescription
in interface AdminContentMgrIf
insertContentDescription
in class AdminContentMgr
ctDesc
- the AdminContentDescription record to insertKKAdminException
- an unexpected exception in the KonaKart Admin enginepublic void refreshConfigs() throws java.lang.Exception
refreshConfigs
in interface AdminContentMgrIf
refreshConfigs
in class AdminContentMgr
java.lang.Exception
- an unexpected exceptionCopyright © 2018 DS Data Systems UK Ltd.