public class AdminContentMgr extends AdminBaseMgr implements AdminContentMgrIf
AdminBaseMgr.StaticData
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log
the log
|
protected static java.lang.String |
mutex |
adminEng, baseMgrMutex, baseStaticDataHM, cDataEnd, cDataStart, debugStackTraceExclusions, kkAdminPropsFilePath, kkConf, kkInstanceId, mgrFactory, STORE_ID, templateBaseDir
Constructor and Description |
---|
AdminContentMgr(KKAdminIf eng)
Constructor
|
Modifier and Type | Method and Description |
---|---|
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 referenced by the contentId.
|
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 Base 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 org.apache.commons.logging.Log log
protected static java.lang.String mutex
public AdminContentMgr(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
inSearch
- an AdminContentSearch objectdataDesc
- an AdminDataDescriptor objectKKAdminException
- an unexpected exception in the KonaKart Admin enginepublic AdminContent getContent(int contentId) throws KKAdminException
AdminContentMgrIf
getContent
in interface AdminContentMgrIf
contentId
- the id of the ContentKKAdminException
- an unexpected exception in the KonaKart Admin enginepublic void deleteContent(int contentId) throws KKAdminException
AdminContentMgrIf
deleteContent
in interface AdminContentMgrIf
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
content
- an AdminContent objectKKAdminException
- an unexpected exception in the KonaKart Admin enginepublic void updateContent(AdminContent content) throws KKAdminException
AdminContentMgrIf
updateContent
in interface AdminContentMgrIf
content
- an AdminContent objectKKAdminException
- an unexpected exception in the KonaKart Admin enginepublic AdminContentTypeSearchResult getContentTypes(AdminContentTypeSearch inSearch, AdminDataDescriptor dataDesc) throws KKAdminException
AdminContentMgrIf
getContentTypes
in interface AdminContentMgrIf
inSearch
- an AdminContentTypeSearch objectdataDesc
- an AdminDataDescriptor objectKKAdminException
- an unexpected exception in the KonaKart Admin enginepublic AdminContentType getContentType(int contentTypeId) throws KKAdminException
AdminContentMgrIf
getContentType
in interface AdminContentMgrIf
contentTypeId
- the contentTypeId of the AdminContentTypeKKAdminException
- an unexpected exception in the KonaKart Admin enginepublic void deleteContentType(int contentTypeId) throws KKAdminException
AdminContentMgrIf
deleteContentType
in interface AdminContentMgrIf
contentTypeId
- the contentTypeId of the AdminContentType record to deleteKKAdminException
- an unexpected exception in the KonaKart Admin enginepublic int insertContentType(AdminContentType contentType) throws KKAdminException
AdminContentMgrIf
insertContentType
in interface AdminContentMgrIf
contentType
- an AdminContentType objectKKAdminException
- an unexpected exception in the KonaKart Admin enginepublic void updateContentType(AdminContentType contentType) throws KKAdminException
AdminContentMgrIf
updateContentType
in interface AdminContentMgrIf
contentType
- an AdminContentType objectKKAdminException
- an unexpected exception in the KonaKart Admin enginepublic int insertContentTypeDescription(AdminContentTypeDescription ctDesc) throws KKAdminException
AdminContentMgrIf
insertContentTypeDescription
in interface AdminContentMgrIf
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
ctDesc
- the AdminContentDescription record to insertKKAdminException
- an unexpected exception in the KonaKart Admin enginepublic void refreshConfigs() throws java.lang.Exception
AdminBaseMgr
refreshConfigs
in interface AdminContentMgrIf
refreshConfigs
in class AdminBaseMgr
java.lang.Exception
- an unexpected exceptionCopyright © 2018 DS Data Systems UK Ltd.