com.silverpeas.interestCenter.ejb
Interface InterestCenterBm

All Known Implementing Classes:
InterestCenterBmEJB

public interface InterestCenterBm

InterestCenterBm remote inteface


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
 

Method Detail

getICByUserID

List<InterestCenter> getICByUserID(int userID)
Parameters:
userID -
Returns:
a list of InterestCenters by user id provided

getICByID

InterestCenter getICByID(int icPK)
Parameters:
icPK - InterestCenter id
Returns:
InterestCenter by its id

createIC

int createIC(InterestCenter ic)
Parameters:
ic -
Returns:
id of InterestCenter created

updateIC

void updateIC(InterestCenter ic)
perform updates of provided InterestCenter

Parameters:
ic -

removeICByPK

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

removeICByPK

void removeICByPK(int pk)
Parameters:
pk - an id of InterestCenter to be deleted


Copyright © 2016 Silverpeas. All Rights Reserved.