@Stateless
@LocalBean
public class MYPLUGINCRMBOContactInformationBean extends CRMBase implements CRMBOHook{
public MYPLUGINCRMBOContactInformationBean() {
// TODO Auto-generated constructor stub
}
@Override
public CRMDO afterConstruct(CRMDO dto) throws Exception {
CRMDOContactInformation contactInformation = (CRMDOContactInformation) dto;
return dto;
}
@Override
public CRMDO beforeSave(CRMDO dto) throws Exception {
return dto;
}
@Override
public CRMDO afterSave(CRMDO dto) throws Exception {
return dto;
}
@Override
public CRMDO beforeValidateOnSave(CRMDO dto) throws Exception {
return dto;
}
@Override
public CRMDO afterValidateOnSave(CRMDO dto) throws Exception {
return dto;
}
@Override
public CRMDO beforeValidateOnDelete(CRMDO dto) throws Exception {
return dto;
}
@Override
public CRMDO afterValidateOnDelete(CRMDO dto) throws Exception {
return dto;
}
@Override
public CRMDO beforeDelete(CRMDO dto) throws Exception {
return dto;
}
@Override
public CRMDO afterDelete(CRMDO dto) throws Exception {
return dto;
}
@Override
public CRMDO afterLoad(CRMDO dto) throws Exception {
return dto;
} |