org.orange.kicsa.service.skill
Class SkillServiceImpl


public class SkillServiceImpl
implements SkillService, SkillServiceRemote

Author:
Jérôme Beau pour Orange (c) 2002
Version: $Revision 1.5$
Stereotype business delegate
testcase test.org.orange.kicsa.service.skill.TestSkillServiceImpl

Method Summary
 voidaddOwner(SkillKey someSkillKey, String someType, SkillKey someDestinationSkillKey)
          Crée une relation enter deux compétences
 Skillcreate(Skill someSkill, Collection someRelationships, Collection someOwners)
          Crée une nouvelle compétence
 RelationshipTypecreateRelationshipType(RelationshipType someRelationshipType)
           
 SkillcreateRoot(Skill someRootSkill)
           
 MapfindAll()
           
 SkillfindByPrimaryKey(SkillKey someSkillKey)
           
 CollectionfindChilds(Skill someParent)
           
 CollectionfindDestinations(Skill someSkill)
           
 CollectionfindDestinations(Skill someSkill, String someRelationshipType)
           
 CollectionfindParents(Skill someChild)
           
 MapfindRelationshipTypes()
           
 CollectionfindSources(Skill someSkill, String someRelationshipType)
           
 static SkillServiceImplgetInstance()
           
 voidlink(Skill someSourceSkill, String relationshipType, SkillKey someDestinationSkill)
          Crée une relation enter deux compétences
 intremove(SkillKey someSkillKey)
          Supprime une compétence
 voidremoveRelationshipType(String someNewRelationshipType)
           
 Skillupdate(Skill someSkill, Collection someRelationships, Collection someOwners)
          Met à jour une compétence

Method Detail

addOwner

public void addOwner(SkillKey someSkillKey, String someType, SkillKey someDestinationSkillKey)
Crée une relation enter deux compétences

create

public Skill create(Skill someSkill, Collection someRelationships, Collection someOwners)
Crée une nouvelle compétence
Parameters:
someComments Commentaires divers pour cette compétence
levelDescriptions Descriptions des niveaux pour cette compétence
linkTypes Types des relations de cette nouvelle compétence
linkDests Destinations des relations de cette nouvelle compétence
newOwner Responsable de cette compétence

createRelationshipType

public RelationshipType createRelationshipType(RelationshipType someRelationshipType)

createRoot

public Skill createRoot(Skill someRootSkill)

findAll

public Map findAll()

findByPrimaryKey

public Skill findByPrimaryKey(SkillKey someSkillKey)
throws org.orange.kicsa.SkillNotFoundException

findChilds

public Collection findChilds(Skill someParent)
throws org.orange.kicsa.SkillNotFoundException
Returns: Les compétences filles de la compétence mère

findDestinations

public Collection findDestinations(Skill someSkill)
throws org.orange.kicsa.SkillNotFoundException

findDestinations

public Collection findDestinations(Skill someSkill, String someRelationshipType)
throws org.orange.kicsa.SkillNotFoundException

findParents

public Collection findParents(Skill someChild)
throws org.orange.kicsa.SkillNotFoundException

findRelationshipTypes

public Map findRelationshipTypes()

findSources

public Collection findSources(Skill someSkill, String someRelationshipType)
throws org.orange.kicsa.SkillNotFoundException

getInstance

public static SkillServiceImpl getInstance()

link

public void link(Skill someSourceSkill, String relationshipType, SkillKey someDestinationSkill)
Crée une relation enter deux compétences

remove

public int remove(SkillKey someSkillKey)
Supprime une compétence

removeRelationshipType

public void removeRelationshipType(String someNewRelationshipType)

update

public Skill update(Skill someSkill, Collection someRelationships, Collection someOwners)
Met à jour une compétence

Association Links

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

Supplier Role tree

to Class org.orange.kicsa.service.skill.SkillServiceImpl

to Class org.orange.kicsa.integration.skill.SkillDAO

Supplier Qualifier skillDAO

to Class org.orange.kicsa.integration.skill.RelationshipTypeDAO

Dependency Links

to Class test.org.orange.kicsa.service.skill.TestSkillServiceImpl

to Class org.orange.kicsa.service.skill.SkillService

to Class org.orange.kicsa.service.skill.SkillServiceRemote

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

to Class org.orange.kicsa.Application

to Class org.orange.util.Assert

to Class org.orange.kicsa.integration.AbstractDAOFactory

to Class org.orange.kicsa.service.ServiceException

to Class java.lang.Throwable

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

to Class java.util.Collection

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

to Class org.orange.kicsa.SkillNotFoundException

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

to Class org.orange.util.integration.DAOException

to Class java.util.Iterator

to Class javax.transaction.UserTransaction

to Class javax.naming.InitialContext

to Class org.orange.util.J2EEConstants

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

to Class javax.naming.NamingException

to Class java.lang.Exception

to Class java.lang.Class

to Class java.lang.String

to Class org.orange.util.NotImplementedException

to Class java.util.Map

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

to Class org.orange.kicsa.integration.skill.SkillDAO

to Class org.orange.kicsa.integration.skill.RelationshipTypeDAO

to Class Diagram test.org.orange.kicsa.service.skill

to Class Diagram test.org.orange.kicsa.service

to Class Diagram test.org.orange.kicsa

to Class Diagram test.org.orange

to Class Diagram test.org

to Class Diagram test

to Class Diagram <default>

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

to Class Diagram org.orange.kicsa.service

to Class Diagram org.orange.kicsa

to Class Diagram org.orange

to Class Diagram org

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

to Class Diagram org.orange.kicsa.business

to Class Diagram org.orange.util

to Class Diagram org.orange.kicsa.integration

to Class Diagram org.orange.util.integration

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