org.orange.kicsa.integration.skill
Interface SkillDAO

All Known Implementing Classes:
SkillJDBCDAO, SkillMemoryDAO

public interface SkillDAO

Author:
Jérôme Beau pour Orange (c) 2002
Version: $Revision: 1.1.1.1 $

Method Summary
 voidclearCache()
           
 Skillcreate(Skill someSkill)
           
 MapgetAll()
           
 SkillgetByPrimaryKey(SkillKey someKey)
           
 CollectiongetChilds(Skill someParentSkill)
           
 CollectiongetDestinations(Skill someSourceSkill)
           
 CollectiongetDestinations(Skill someSourceSkill, String someRelationshipType)
           
 SortedMapgetLevels(SkillKey someSkillKey)
           
 CollectiongetParents(Skill someChildSkill)
           
 CollectiongetSources(Skill someDestinationSkill, String someRelationshipType)
           
 voidlink(Skill someSource, String type, SkillKey someDestination)
           
 intremove(SkillKey someSkillKey)
           
 voidremoveRelationship(SkillKey someSkillKey, String relationshipType, SkillKey relationshipDestination)
           
 intremoveRelationships(SkillKey someSkillKey)
           
 Skillupdate(Skill someSkill)
           
 voidupdateRelationship(SkillKey someSkillKey, String relationshipType, SkillKey relationshipDestination)
           

Method Detail

clearCache

public void clearCache()

create

public Skill create(Skill someSkill)
throws org.orange.util.integration.DAOException

getAll

public Map getAll()
throws org.orange.util.integration.DAOException

getByPrimaryKey

public Skill getByPrimaryKey(SkillKey someKey)
throws org.orange.util.integration.DAOException,
org.orange.kicsa.SkillNotFoundException

getChilds

public Collection getChilds(Skill someParentSkill)
throws org.orange.util.integration.DAOException

getDestinations

public Collection getDestinations(Skill someSourceSkill)
throws org.orange.util.integration.DAOException

getDestinations

public Collection getDestinations(Skill someSourceSkill, String someRelationshipType)
throws org.orange.util.integration.DAOException

getLevels

public SortedMap getLevels(SkillKey someSkillKey)
throws org.orange.util.integration.DAOException,
org.orange.kicsa.SkillNotFoundException

getParents

public Collection getParents(Skill someChildSkill)
throws org.orange.util.integration.DAOException

getSources

public Collection getSources(Skill someDestinationSkill, String someRelationshipType)
throws org.orange.util.integration.DAOException

link

public void link(Skill someSource, String type, SkillKey someDestination)
throws org.orange.util.integration.DAOException

remove

public int remove(SkillKey someSkillKey)
throws org.orange.util.integration.DAOException

removeRelationship

public void removeRelationship(SkillKey someSkillKey, String relationshipType, SkillKey relationshipDestination)
throws org.orange.util.integration.DAOException

removeRelationships

public int removeRelationships(SkillKey someSkillKey)
throws org.orange.util.integration.DAOException

update

public Skill update(Skill someSkill)
throws org.orange.util.integration.DAOException

updateRelationship

public void updateRelationship(SkillKey someSkillKey, String relationshipType, SkillKey relationshipDestination)
throws org.orange.util.integration.DAOException

Dependency Links

to Class org.orange.util.integration.DAOException

Stereotype throw
link dependency

to Class java.util.SortedMap

to Class org.orange.kicsa.business.skill.SkillKey

to Class org.orange.util.integration.DAOException

to Class org.orange.kicsa.SkillNotFoundException

to Class org.orange.kicsa.business.skill.Skill

to Class java.util.Collection

to Class java.lang.String

to Class java.util.Map

to Class Diagram org.orange.kicsa.business.skill

to Class Diagram org.orange.kicsa.business

to Class Diagram org.orange.kicsa

to Class Diagram org.orange

to Class Diagram org

to Class Diagram <default>

to Class Diagram org.orange.util.integration

to Class Diagram org.orange.util