com.silverpeas.interestCenter.ejb
Class InterestCenterBmEJB

java.lang.Object
  extended by com.silverpeas.interestCenter.ejb.InterestCenterBmEJB
All Implemented Interfaces:
InterestCenterBm

public class InterestCenterBmEJB
extends Object
implements InterestCenterBm

InterestCenterBm EJB implementation for detailed comments for each method see remote interface class

See Also:
InterestCenterBm

Constructor Summary
InterestCenterBmEJB()
           
 
Method Summary
 int createIC(InterestCenter ic)
           
 InterestCenter getICByID(int icPK)
           
 List<InterestCenter> getICByUserID(int userID)
           
 void removeICByPK(int pk)
           
 void removeICByPK(List<Integer> pks, String userId)
           
 void updateIC(InterestCenter ic)
          perform updates of provided InterestCenter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterestCenterBmEJB

public InterestCenterBmEJB()
Method Detail

getICByUserID

public List<InterestCenter> getICByUserID(int userID)
Specified by:
getICByUserID in interface InterestCenterBm
Returns:
a list of InterestCenters by user id provided

getICByID

public InterestCenter getICByID(int icPK)
Specified by:
getICByID in interface InterestCenterBm
Parameters:
icPK - InterestCenter id
Returns:
InterestCenter by its id

createIC

public int createIC(InterestCenter ic)
Specified by:
createIC in interface InterestCenterBm
Returns:
id of InterestCenter created

updateIC

public void updateIC(InterestCenter ic)
Description copied from interface: InterestCenterBm
perform updates of provided InterestCenter

Specified by:
updateIC in interface InterestCenterBm

removeICByPK

public void removeICByPK(List<Integer> pks,
                         String userId)
Specified by:
removeICByPK in interface InterestCenterBm
Parameters:
pks - ArrayList of java.lang.Integer - id's of InterestCenters to be deleted
userId - - current user Id

removeICByPK

public void removeICByPK(int pk)
Specified by:
removeICByPK in interface InterestCenterBm
Parameters:
pk - an id of InterestCenter to be deleted


Copyright © 2016 Silverpeas. All Rights Reserved.