}
public void subscribe(EPerson e, String uuid)
{
CrisSubscription rpsub = applicationService.getSubscription(e.getID(),
uuid);
if (rpsub == null)
{
rpsub = new CrisSubscription();
rpsub.setEpersonID(e.getID());
ACrisObject aco = applicationService.getEntityByUUID(uuid);
rpsub.setTypeDef(aco.getType());
rpsub.setUuid(uuid);
applicationService.saveOrUpdate(CrisSubscription.class, rpsub);
}
}