com.silverpeas.interestCenter.util
Class InterestCenterUtil

java.lang.Object
  extended by com.silverpeas.interestCenter.util.InterestCenterUtil

public class InterestCenterUtil
extends Object


Constructor Summary
InterestCenterUtil()
          Constructor Creates new Interest Center Util Controller
 
Method Summary
 int createIC(InterestCenter icToCreate)
          Method createIC creates new InterestCenter
 InterestCenter getICByID(int id)
          Method getICByPK returns Interest Center given by id
 List<InterestCenter> getICByUserId(int userId)
          Method getICByUserId returns ArrayList of all InterestCenter objects for user given by userId
 int isICExists(String nameIC, int userId)
          Method isICExists returns true if InterstCenter with given name is already exists, false in other case
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterestCenterUtil

public InterestCenterUtil()
Constructor Creates new Interest Center Util Controller

Method Detail

getICByUserId

public List<InterestCenter> getICByUserId(int userId)
Method getICByUserId returns ArrayList of all InterestCenter objects for user given by userId


getICByID

public InterestCenter getICByID(int id)
Method getICByPK returns Interest Center given by id


isICExists

public int isICExists(String nameIC,
                      int userId)
Method isICExists returns true if InterstCenter with given name is already exists, false in other case


createIC

public int createIC(InterestCenter icToCreate)
Method createIC creates new InterestCenter



Copyright © 2016 Silverpeas. All Rights Reserved.