Example 8.2 Remote Interface for ResourceSession // imports ... public interface ResourceSession extends EJBObject { public ResourceVO setCurrentResource( String resourceId) throws RemoteException, ResourceException; public ResourceVO getResourceDetails() throws RemoteException, ResourceException; public void setResourceDetails(ResourceVO resource) throws RemoteException, ResourceException; public void addResource(ResourceVO resource) throws RemoteException, ResourceException; public void removeResource() throws RemoteException, ResourceException; // methods for managing blockout time by the // resource public void addBlockoutTime(Collection blockoutTime) throws RemoteException, BlockoutTimeException; public void updateBlockoutTime( Collection blockoutTime) throws RemoteException, BlockoutTimeException; public void removeBlockoutTime( Collection blockoutTime) throws RemoteException, BlockoutTimeException; public void removeAllBlockoutTime() throws RemoteException, BlockoutTimeException; // methods for resource skillsets time by the //resource public void addSkillSets(Collection skillSet) throws RemoteException, SkillSetException; public void updateSkillSets(Collection skillSet) throws RemoteException, SkillSetException; public void removeSkillSet(Collection skillSet) throws RemoteException, SkillSetException; ... }