// Path: src/java/is/idega/block/family/business/NoChildrenFound.java
// public class NoChildrenFound extends javax.ejb.FinderException {
// 
//   public NoChildrenFound(String UserName) {
//       super("No children found for user "+UserName);
//   }
// }
// 
// Path: src/java/is/idega/block/family/business/NoCohabitantFound.java
// public class NoCohabitantFound extends javax.ejb.FinderException {
// 
//   public NoCohabitantFound(String UserName) {
//       super("No cohabitant found for user "+UserName);
//   }
// }
// 
// Path: src/java/is/idega/block/family/business/NoSpouseFound.java
// public class NoSpouseFound extends javax.ejb.FinderException {
// 
//   public NoSpouseFound(String UserName) {
//       super("No spouse found for user "+UserName);
//   }
// }


import is.idega.block.family.business.NoChildrenFound;
import is.idega.block.family.business.NoCohabitantFound;
import is.idega.block.family.business.NoSpouseFound;
import java.sql.Date;
import java.util.Collection;
import com.idega.core.contact.data.Email;
import com.idega.core.contact.data.Phone;
import com.idega.data.IDOEntity;
import com.idega.user.business.NoEmailFoundException;
import com.idega.user.business.NoPhoneFoundException;
import com.idega.user.data.User;
/*
 * $Id$
 * Created on Apr 1, 2006
 *
 * Copyright (C) 2006 Idega Software hf. All Rights Reserved.
 *
 * This software is the proprietary information of Idega hf.
 * Use is subject to license terms.
 */
package is.idega.block.family.data;





/**
 * <p>
 * TODO laddi Describe Type Custodian
 * </p>
 *  Last modified: $Date$ by $Author$
 *
 * @author <a href="mailto:laddi@idega.com">laddi</a>
 * @version $Revision$
 */
public interface Custodian extends IDOEntity, User {

	/**
	 * @see is.idega.block.family.data.CustodianBMPBean#getChildrenInCustody
	 */
	public Collection<User> getChildrenInCustody() throws NoChildrenFound;

	/**
	 * @see is.idega.block.family.data.CustodianBMPBean#isCustodianOf
	 */
	public boolean isCustodianOf(Child child);

	/**
	 * @see is.idega.block.family.data.CustodianBMPBean#getSpouse
	 */
	public User getSpouse() throws NoSpouseFound;

	/**
	 * @see is.idega.block.family.data.CustodianBMPBean#getCohabitant
	 */
// Path: src/java/is/idega/block/family/business/NoChildrenFound.java
// public class NoChildrenFound extends javax.ejb.FinderException {
// 
//   public NoChildrenFound(String UserName) {
//       super("No children found for user "+UserName);
//   }
// }
// 
// Path: src/java/is/idega/block/family/business/NoCohabitantFound.java
// public class NoCohabitantFound extends javax.ejb.FinderException {
// 
//   public NoCohabitantFound(String UserName) {
//       super("No cohabitant found for user "+UserName);
//   }
// }
// 
// Path: src/java/is/idega/block/family/business/NoSpouseFound.java
// public class NoSpouseFound extends javax.ejb.FinderException {
// 
//   public NoSpouseFound(String UserName) {
//       super("No spouse found for user "+UserName);
//   }
// }


// Path: src/java/is/idega/block/family/data/Custodian.java
import is.idega.block.family.business.NoChildrenFound;
import is.idega.block.family.business.NoCohabitantFound;
import is.idega.block.family.business.NoSpouseFound;
import java.sql.Date;
import java.util.Collection;
import com.idega.core.contact.data.Email;
import com.idega.core.contact.data.Phone;
import com.idega.data.IDOEntity;
import com.idega.user.business.NoEmailFoundException;
import com.idega.user.business.NoPhoneFoundException;
import com.idega.user.data.User;

/*
 * $Id$
 * Created on Apr 1, 2006
 *
 * Copyright (C) 2006 Idega Software hf. All Rights Reserved.
 *
 * This software is the proprietary information of Idega hf.
 * Use is subject to license terms.
 */
package is.idega.block.family.data;





/**
 * <p>
 * TODO laddi Describe Type Custodian
 * </p>
 *  Last modified: $Date$ by $Author$
 *
 * @author <a href="mailto:laddi@idega.com">laddi</a>
 * @version $Revision$
 */
public interface Custodian extends IDOEntity, User {

	/**
	 * @see is.idega.block.family.data.CustodianBMPBean#getChildrenInCustody
	 */
	public Collection<User> getChildrenInCustody() throws NoChildrenFound;

	/**
	 * @see is.idega.block.family.data.CustodianBMPBean#isCustodianOf
	 */
	public boolean isCustodianOf(Child child);

	/**
	 * @see is.idega.block.family.data.CustodianBMPBean#getSpouse
	 */
	public User getSpouse() throws NoSpouseFound;

	/**
	 * @see is.idega.block.family.data.CustodianBMPBean#getCohabitant
	 */
	public User getCohabitant() throws NoCohabitantFound;