|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AdminAddressMgrIf
AdminAddressMgrIf
| Method Summary | |
|---|---|
void |
addAddressesToProduct(AdminAddress[] addresses,
int productId)
Associate an array of addresses to a product. |
void |
deleteAddress(int addressId)
Deletes an AdminAddress. |
int |
deleteAddressFormat(int id)
Delete an AddressFormat |
boolean |
doesAddressExistForId(int addrId)
Checks to see whether an address already exists with this id |
boolean |
doesAddressFormatExist(int addressFormatId)
Return true if the AddressFormat exists. |
AdminAddress |
getAddressById(int addressId)
Get Addresses defined by the search criteria |
AdminAddressSearchResult |
getAddresses(AdminAddressSearch search,
int offset,
int size)
Get Addresses defined by the search criteria |
AdminAddressFormatSearchResult |
getAddressFormats(AdminAddressFormatSearch search)
This returns an AdminAddressFormatSearchResult object. |
int |
getProductCountPerAddress(int addressId)
Returns the number of products using the address |
int |
insertAddress(AdminAddress address)
Insert an AdminAddress. |
int |
insertAddressFormat(AdminAddressFormat taxClass)
Insert an AdminAddressFormat object |
void |
refreshConfigs()
Refresh the configuration of the Admin Currency Manager |
void |
removeAddressFromProduct(int addressId,
int productId)
Remove the relationship between the address and the product. |
void |
updateAddress(AdminAddress address)
Updates an AdminAddress. |
int |
updateAddressFormat(AdminAddressFormat taxClass)
Update an AdminAddressFormat object |
| Method Detail |
|---|
AdminAddressFormatSearchResult getAddressFormats(AdminAddressFormatSearch search)
throws KKAdminException
search -
KKAdminException
int deleteAddressFormat(int id)
throws KKAdminException
id - An AddressFormat id
KKAdminException
int insertAddressFormat(AdminAddressFormat taxClass)
throws KKAdminException
taxClass - An AdminAddressFormat object
KKAdminException
int updateAddressFormat(AdminAddressFormat taxClass)
throws KKAdminException
taxClass - An AdminAddressFormat object
KKAdminException
boolean doesAddressExistForId(int addrId)
throws org.apache.torque.TorqueException,
KKAdminException
addrId -
org.apache.torque.TorqueException
KKAdminException
boolean doesAddressFormatExist(int addressFormatId)
throws org.apache.torque.TorqueException,
KKAdminException
addressFormatId -
org.apache.torque.TorqueException
KKAdminException
void refreshConfigs()
throws java.lang.Exception
java.lang.Exception
AdminAddressSearchResult getAddresses(AdminAddressSearch search,
int offset,
int size)
throws KKAdminException,
org.apache.torque.TorqueException,
com.workingdogs.village.DataSetException
search - the search criteriaoffset - the offset in the record set to start fromsize - the maximum number of records to return
KKAdminException
org.apache.torque.TorqueException
com.workingdogs.village.DataSetException
AdminAddress getAddressById(int addressId)
throws KKAdminException,
org.apache.torque.TorqueException,
com.workingdogs.village.DataSetException
addressId - the id of the address to retrieve
KKAdminException
org.apache.torque.TorqueException
com.workingdogs.village.DataSetException
int insertAddress(AdminAddress address)
throws java.lang.Exception
address - an AdminAddress object
java.lang.Exception
void updateAddress(AdminAddress address)
throws KKAdminException
address - the AdminAddress object to update
KKAdminException
void deleteAddress(int addressId)
throws KKAdminException
addressId - the id of the address to delete
KKAdminException
void addAddressesToProduct(AdminAddress[] addresses,
int productId)
throws KKAdminException,
org.apache.torque.TorqueException,
com.workingdogs.village.DataSetException
addresses - productId -
KKAdminException
org.apache.torque.TorqueException
com.workingdogs.village.DataSetException
void removeAddressFromProduct(int addressId,
int productId)
throws KKAdminException,
org.apache.torque.TorqueException,
com.workingdogs.village.DataSetException
addressId - productId -
KKAdminException
org.apache.torque.TorqueException
com.workingdogs.village.DataSetException
int getProductCountPerAddress(int addressId)
throws com.workingdogs.village.DataSetException,
KKAdminException,
org.apache.torque.TorqueException
addressId -
com.workingdogs.village.DataSetException
KKAdminException
org.apache.torque.TorqueException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||