public OpportunityVO getOpportunity(int userId, int opportunityId)
throws AuthorizationFailedException
{
if (!CVUtility.canPerformRecordOperation(userId, "Opportunities", opportunityId,
ModuleFieldRightMatrix.VIEW_RIGHT, this.dataSource))
throw new AuthorizationFailedException("Opportunities - getOpportunity");
OpportunityVO oVO = null;
CVDal cvdal = new CVDal(dataSource);
try {
cvdal.setSql("sale.opportunity.getopportunity");