public class AdminMiscPriceMgr extends AdminBaseMgr implements AdminMiscPriceMgrIf
AdminBaseMgr.StaticData
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log
the log
|
adminEng, baseMgrMutex, baseStaticDataHM, cDataEnd, cDataStart, debugStackTraceExclusions, kkAdminPropsFilePath, kkConf, kkInstanceId, mgrFactory, STORE_ID, templateBaseDir
Constructor and Description |
---|
AdminMiscPriceMgr(KKAdminIf eng)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
addMiscPriceOrderBy(com.konakart.db.KKCriteria c,
AdminMiscPriceSearch search) |
protected int |
addMiscPriceSearchCriteria(com.konakart.db.KKCriteria c,
AdminMiscPriceSearch search) |
void |
deleteMiscPrices(AdminMiscPriceSearch miscPriceSearch)
Delete the AdminMiscPrice objects that match the specified AdminMiscPriceSearch object
|
AdminMiscPrice[] |
getMiscPrices(AdminMiscPriceSearch miscPriceSearch)
Retrieves the AdminMiscPrice objects that match the specified AdminMiscPriceSearch object
|
AdminMiscPrice[] |
getMiscPrices(AdminMiscPriceSearch miscPriceSearch,
java.sql.Connection con)
Retrieves the AdminMiscPrice objects that match the specified AdminMiscPriceSearch object
|
int |
insertMiscPrice(AdminMiscPrice miscPrice,
java.sql.Connection con)
Insert a new MiscPrice object.
|
int |
insertMiscPrices(AdminMiscPrice[] miscPrices)
Insert the AdminMiscPrice objects in the specified array
|
void |
refreshConfigs()
Refresh the configuration of the Manager
|
protected void |
rollback(java.sql.Connection con) |
void |
updateMiscPrice(AdminMiscPrice miscPrice,
java.sql.Connection con)
Update the AdminMiscPrice object
|
void |
updateMiscPrices(AdminMiscPrice[] miscPrices)
Update the AdminMiscPrice objects in the specified array
|
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
public AdminMiscPriceMgr(KKAdminIf eng) throws java.lang.Exception
eng
- the engjava.lang.Exception
- an unexpected exceptionpublic int insertMiscPrices(AdminMiscPrice[] miscPrices) throws KKAdminException, org.apache.torque.TorqueException
insertMiscPrices
in interface AdminMiscPriceMgrIf
miscPrices
- the prices to insertKKAdminException
- unexpected exception in the KonaKart Admin Engineorg.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)public int insertMiscPrice(AdminMiscPrice miscPrice, java.sql.Connection con) throws KKAdminException, org.apache.torque.TorqueException
insertMiscPrice
in interface AdminMiscPriceMgrIf
miscPrice
- the new AdminMiscPrice object to insert - do not fill out the Id as this will be
created.con
- the conKKAdminException
- unexpected exception in the KonaKart Admin Engineorg.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)public void deleteMiscPrices(AdminMiscPriceSearch miscPriceSearch) throws KKAdminException, org.apache.torque.TorqueException
deleteMiscPrices
in interface AdminMiscPriceMgrIf
miscPriceSearch
- defines the AdminMiscPrice records to deleteKKAdminException
- unexpected exception in the KonaKart Admin Engineorg.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)protected void rollback(java.sql.Connection con)
public AdminMiscPrice[] getMiscPrices(AdminMiscPriceSearch miscPriceSearch) throws KKAdminException, org.apache.torque.TorqueException, com.workingdogs.village.DataSetException
getMiscPrices
in interface AdminMiscPriceMgrIf
miscPriceSearch
- defines the AdminMiscPrice records to retrieve from the databaseKKAdminException
- unexpected exception in the KonaKart Admin Enginecom.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)org.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)public AdminMiscPrice[] getMiscPrices(AdminMiscPriceSearch miscPriceSearch, java.sql.Connection con) throws KKAdminException, org.apache.torque.TorqueException, com.workingdogs.village.DataSetException
getMiscPrices
in interface AdminMiscPriceMgrIf
miscPriceSearch
- defines the AdminMiscPrice records to retrieve from the databasecon
- Connection for transactionKKAdminException
- unexpected exception in the KonaKart Admin Enginecom.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)org.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)public void updateMiscPrices(AdminMiscPrice[] miscPrices) throws KKAdminException, org.apache.torque.TorqueException
updateMiscPrices
in interface AdminMiscPriceMgrIf
miscPrices
- the prices to updateKKAdminException
- unexpected exception in the KonaKart Admin Engineorg.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)public void updateMiscPrice(AdminMiscPrice miscPrice, java.sql.Connection con) throws KKAdminException, org.apache.torque.TorqueException
updateMiscPrice
in interface AdminMiscPriceMgrIf
miscPrice
- the price to updatecon
- Transaction ConnectionKKAdminException
- unexpected exception in the KonaKart Admin Engineorg.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)protected int addMiscPriceSearchCriteria(com.konakart.db.KKCriteria c, AdminMiscPriceSearch search) throws KKAdminException
KKAdminException
protected void addMiscPriceOrderBy(com.konakart.db.KKCriteria c, AdminMiscPriceSearch search)
public void refreshConfigs() throws java.lang.Exception
refreshConfigs
in interface AdminMiscPriceMgrIf
refreshConfigs
in class AdminBaseMgr
java.lang.Exception
- an unexpected exceptionCopyright © 2018 DS Data Systems UK Ltd.