|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AdminStoreMgrIf
AdminStoreMgrIf
| Method Summary | |
|---|---|
void |
cloneStore(AdminNewStoreOptions options,
java.lang.String storeToCloneId,
AdminStore newStore,
int userId)
Insert a new store into the mall by cloning a specified store. |
void |
deleteStoreDB(java.lang.String storeId)
Delete a Store from the Database |
boolean |
doesStoreExistDB(java.lang.String storeId)
Return true if the store exists. |
com.konakart.bl.KKCriteria |
getNewCriteria()
Gets a new KKCriteria object from the super class ten takes off the storeId as we never want to add a where storeId= constraint when looking up these stores. |
AdminStore |
getStoreDBById(java.lang.String storeId)
Return the AdminStore object from the database with the specified storeId |
AdminStore[] |
getStores(org.apache.commons.configuration.Configuration kkConfig)
Get the stores supported by the server. |
AdminStore[] |
getStores(java.lang.String configFile)
Get the stores supported by the server. |
AdminStoreSearchResult |
getStoresDB(AdminStoreSearch search,
int offset,
int size)
Return the AdminStore objects defined by the search criteria. |
AdminStore |
getStoreStatusById(java.lang.String storeId)
Return the status elements of the AdminStore object from the database with the specified storeId |
java.lang.String |
insertStore(AdminStore insertObj,
int userId)
Insert an AdminStore object |
void |
updateStoreDB(AdminStore updateObj)
Update an AdminStore object |
| Method Detail |
|---|
AdminStore[] getStores(java.lang.String configFile)
throws KKAdminException
configFile - the name of the properties file
KKAdminException - thrown when there are problems reading the properties file
AdminStore[] getStores(org.apache.commons.configuration.Configuration kkConfig)
throws KKAdminException
kkConfig - A configuration that has already been read
KKAdminException
AdminStoreSearchResult getStoresDB(AdminStoreSearch search,
int offset,
int size)
throws KKAdminException
search - the generic Admin search object that defines the AdminStore objects to search for.
If null we use the default AdminSearch object.offset - starting offset in database - so that you can page through resultssize - size of the group that will be returned - the maximum number of records returned.
If this is set to -1 (KonakartAdminConstants.NOT_SET) no limit is imposed.
KKAdminException
AdminStore getStoreStatusById(java.lang.String storeId)
throws KKAdminException
storeId - the storeId of the AdminStore object to retrieve.
KKAdminException
AdminStore getStoreDBById(java.lang.String storeId)
throws KKAdminException
storeId - the storeId of the AdminStore object to retrieve.
KKAdminException
void deleteStoreDB(java.lang.String storeId)
throws KKAdminException
storeId - A Store id
KKAdminException
boolean doesStoreExistDB(java.lang.String storeId)
throws KKAdminException,
org.apache.torque.TorqueException
storeId - store id
KKAdminException
org.apache.torque.TorqueException
java.lang.String insertStore(AdminStore insertObj,
int userId)
throws org.apache.torque.TorqueException,
KKAdminException,
java.lang.Exception
insertObj - An AdminStore objectuserId - the user inserting the store
org.apache.torque.TorqueException
KKAdminException
java.lang.Exception
void cloneStore(AdminNewStoreOptions options,
java.lang.String storeToCloneId,
AdminStore newStore,
int userId)
throws KKAdminException,
org.apache.torque.TorqueException,
java.lang.Exception
options - Some options for defining how to execute the clonestoreToCloneId - the store the will be cloned to make the new storenewStore - the new storeuserId - the user inserting the store
java.lang.Exception
org.apache.torque.TorqueException
KKAdminException
void updateStoreDB(AdminStore updateObj)
throws KKAdminException
updateObj - An AdminStore object
KKAdminExceptioncom.konakart.bl.KKCriteria getNewCriteria()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||