Code example for Session

Methods: delete

0
	} 
 
	public boolean onDelete(Session session) throws CallbackException {
		deleted=true;
		try { 
			session.delete(foo);
		} 
		catch (Exception e) {
			throw new CallbackException(e);
		} 
		//if (child!=null) session.delete(child); 
		return NO_VETO;
	} 
 
	public void onLoad(Session session, Serializable id) {
		loaded=true;
		this.session=session;
	} 
 
	public void store() { 
Connect your IDE to all the code out there  Get Codota for Java