public int deleteLiterature(int activityid, int individualID) throws AuthorizationFailedException
{
int result = 0;
try {
InitialContext ic = CVUtility.getInitialContext();
LiteratureLocalHome home = (LiteratureLocalHome)ic.lookup("local/Literature");
LiteratureLocal local = home.create();
local.setDataSource(this.dataSource);
result = local.deleteLiterature(activityid, individualID);
} catch (CreateException ce) {
throw new EJBException(ce);
} catch (NamingException re) {