|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AdminReviewMgrIf
AdminReviewMgrIf
Method Summary | |
---|---|
void |
deleteReview(int reviewId)
Delete the review referenced to by reviewId. |
void |
deleteReviewsPerProduct(int productId,
java.sql.Connection connection)
Delete the reviews for the product identified by productId. |
void |
editReview(AdminReview review)
Edit a review |
AdminReviews |
getAllReviews(AdminDataDescriptor dataDesc)
Calls the getReviewsPerProduct method with a negative productId value so that it is not included in the Where clause of the query |
AdminReview |
getReview(int reviewId)
Returns a review for the given reviewId |
AdminReviews |
getReviews(AdminDataDescriptor dataDesc,
AdminReviewSearch revSearch)
Returns an array of reviews for the given search criteria. |
AdminReviews |
getReviewsPerProduct(AdminDataDescriptor dataDesc,
int productId)
Returns an array of reviews for the given productId |
int |
insertReview(AdminReview review)
A new review is inserted |
Method Detail |
---|
AdminReviews getAllReviews(AdminDataDescriptor dataDesc) throws org.apache.torque.TorqueException, com.workingdogs.village.DataSetException, KKAdminException
dataDesc
-
org.apache.torque.TorqueException
com.workingdogs.village.DataSetException
KKAdminException
AdminReviews getReviewsPerProduct(AdminDataDescriptor dataDesc, int productId) throws org.apache.torque.TorqueException, com.workingdogs.village.DataSetException, KKAdminException
dataDesc
- productId
-
org.apache.torque.TorqueException
com.workingdogs.village.DataSetException
KKAdminException
AdminReviews getReviews(AdminDataDescriptor dataDesc, AdminReviewSearch revSearch) throws org.apache.torque.TorqueException, com.workingdogs.village.DataSetException, KKAdminException
dataDesc
- revSearch
-
org.apache.torque.TorqueException
com.workingdogs.village.DataSetException
KKAdminException
AdminReview getReview(int reviewId) throws org.apache.torque.TorqueException, com.workingdogs.village.DataSetException, KKAdminException
reviewId
-
org.apache.torque.TorqueException
com.workingdogs.village.DataSetException
KKAdminException
void deleteReview(int reviewId) throws java.lang.Exception
reviewId
-
java.lang.Exception
void deleteReviewsPerProduct(int productId, java.sql.Connection connection) throws java.lang.Exception
productId
- connection
-
java.lang.Exception
void editReview(AdminReview review) throws java.lang.Exception
review
-
java.lang.Exception
int insertReview(AdminReview review) throws java.lang.Exception
review
-
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |