|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AdminMiscItemMgrIf
AdminMiscItemMgrIf
Method Summary | |
---|---|
void |
deleteMiscItem(int miTypeId)
Delete an AdminMiscItem. |
void |
deleteMiscItemType(int miTypeId,
boolean deleteChildren)
Delete an AdminMiscItemType. |
AdminMiscItemSearchResult |
getMiscItems(AdminSearch search,
int offset,
int size)
Return the AdminMiscItem objects defined by the search criteria. |
AdminMiscItem[] |
getMiscItemsPerProduct(int productId)
A method for returning the misc items of a product. |
AdminMiscItemType[] |
getMiscItemTypes(AdminSearch search,
int offset,
int size)
Return the AdminMiscItemType objects defined by the search criteria. |
int |
insertMiscItems(AdminMiscItem[] mItems)
Insert an array of AdminMiscItem objects |
int |
insertMiscItemType(AdminMiscItemType[] miTypes)
Insert an array of AdminMiscItemType objects |
void |
refreshConfigs()
Refresh the configuration of the Manager |
void |
updateMiscItems(AdminMiscItem[] mItems)
Update an array of AdminMiscItem objects. |
void |
updateMiscItemType(AdminMiscItemType[] miTypes)
Update an array of AdminMiscItemType objects. |
Method Detail |
---|
AdminMiscItemType[] getMiscItemTypes(AdminSearch search, int offset, int size) throws KKAdminException, java.lang.Exception
search
- the generic Admin search object that defines the objects to search for. If null we
use the default AdminSearch object. If you specify the LanguageId in the search
object, only the MiscItemType for that specified language will be returned. If you
specify AdminLanguage.ALL_LANGUAGES for the languageId the search will be made on
the default language, and if MiscItemTypes are found, MiscItemTypes with these
MiscItemTypeIds for all of the languages are returned.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
KKAdminException
java.lang.Exception
int insertMiscItemType(AdminMiscItemType[] miTypes) throws KKAdminException, java.lang.Exception
miTypes
- An array of AdminMiscItemType objects to insert. Typically you would insert one
AdminMiscItemType record for each language to maintain data integrity.
KKAdminException
java.lang.Exception
void updateMiscItemType(AdminMiscItemType[] miTypes) throws KKAdminException, org.apache.torque.TorqueException
miTypes
- An array of AdminMiscItemType objects to update.
KKAdminException
org.apache.torque.TorqueException
void deleteMiscItemType(int miTypeId, boolean deleteChildren) throws KKAdminException, org.apache.torque.TorqueException, java.lang.Exception
miTypeId
- the id of the miscellaneous item type object to deletedeleteChildren
- if true all children (miscellaneous items with this miscellaneous item type) will
also be deleted.
KKAdminException
org.apache.torque.TorqueException
java.lang.Exception
int insertMiscItems(AdminMiscItem[] mItems) throws KKAdminException, java.lang.Exception
mItems
- An array of AdminMiscItem objects to insert.
KKAdminException
java.lang.Exception
void updateMiscItems(AdminMiscItem[] mItems) throws KKAdminException, org.apache.torque.TorqueException
mItems
- An array of AdminMiscItem objects to update.
KKAdminException
org.apache.torque.TorqueException
void deleteMiscItem(int miTypeId) throws KKAdminException, org.apache.torque.TorqueException
miTypeId
- the id of the miscellaneous item object to delete
KKAdminException
org.apache.torque.TorqueException
AdminMiscItemSearchResult getMiscItems(AdminSearch search, int offset, int size) throws KKAdminException, org.apache.torque.TorqueException, com.workingdogs.village.DataSetException
search
- the generic Admin search object that defines the objects to search for. If null we
use the default AdminSearch object.
AdminSearch criteria usage:
AdminSearch order by options:
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
KKAdminException
org.apache.torque.TorqueException
com.workingdogs.village.DataSetException
void refreshConfigs() throws java.lang.Exception
java.lang.Exception
AdminMiscItem[] getMiscItemsPerProduct(int productId) throws KKAdminException, org.apache.torque.TorqueException, com.workingdogs.village.DataSetException
productId
-
KKAdminException
org.apache.torque.TorqueException
com.workingdogs.village.DataSetException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |