Class InterestCenterSessionController
- java.lang.Object
-
- org.silverpeas.core.web.mvc.controller.AbstractComponentSessionController
-
- org.silverpeas.web.interests.control.InterestCenterSessionController
-
- All Implemented Interfaces:
Serializable,ComponentSessionController,SessionCloseable
public class InterestCenterSessionController extends AbstractComponentSessionController
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.silverpeas.core.web.mvc.controller.AbstractComponentSessionController
context
-
-
Constructor Summary
Constructors Constructor Description InterestCenterSessionController(MainSessionController mainSessionCtrl, ComponentContext componentContext)Constructor Creates new Interests Session Controller
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()The user session is being in close, close all resources relative to the session.voidcreateIC(Interests icToCreate)Method createInterests creates new InterestsInterestsgetICByPK(int pk)Method getInterestsByPK returns Interests object by pkList<Interests>getICByUserId()Method getInterestsByUserId returns ArrayList of all Interests objects for user given by userIdbooleanisICExists(String nameIC)voidremoveICByPK(int pk)Method removeInterestsById removes Interests object corresponding to given PKvoidremoveICByPKs(String[] iDs)Method removeICByPKs removes Interests objects corresponding to PKs from given ArrayListvoidupdateIC(Interests icToUpdate)Method updateInterests updates existing Interests-
Methods inherited from class org.silverpeas.core.web.mvc.controller.AbstractComponentSessionController
addClipboardSelection, clipboardPasteDone, getClipboardErrorMessage, getClipboardExceptionError, getClipboardObjects, getClipboardSelectedObjects, getClipboardSize, getComponentAccessController, getComponentId, getComponentLabel, getComponentName, getComponentParameterValue, getComponentParameterValue, getComponentRootName, getComponentUrl, getHighestSilverpeasUserRole, getIcon, getLanguage, getLook, getMultilang, getOrganisationController, getPersonalization, getRSSUrl, getSelection, getSettings, getSilverpeasUserRoles, getSpaceId, getSpaceLabel, getString, getSubscriptionContext, getUrlEncodedParameter, getUserAccessLevel, getUserAvailComponentIds, getUserDetail, getUserDetail, getUserId, getUserManageableGroupIds, getUserManageableSpaceIds, getUserRoles, getZoneId, isAppInMaintenance, isGroupManager, isPasswordChangeAllowed, isSpaceInMaintenance, removeClipboardElement, setAppModeMaintenance, setClipboardSelectedElement, setComponentRootName, setSpaceModeMaintenance
-
-
-
-
Constructor Detail
-
InterestCenterSessionController
public InterestCenterSessionController(MainSessionController mainSessionCtrl, ComponentContext componentContext)
Constructor Creates new Interests Session Controller
-
-
Method Detail
-
getICByUserId
public List<Interests> getICByUserId() throws RemoteException
Method getInterestsByUserId returns ArrayList of all Interests objects for user given by userId- Throws:
RemoteException
-
getICByPK
public Interests getICByPK(int pk) throws RemoteException
Method getInterestsByPK returns Interests object by pk- Throws:
RemoteException
-
createIC
public void createIC(Interests icToCreate) throws RemoteException
Method createInterests creates new Interests- Throws:
RemoteException
-
updateIC
public void updateIC(Interests icToUpdate) throws RemoteException
Method updateInterests updates existing Interests- Throws:
RemoteException
-
removeICByPKs
public void removeICByPKs(String[] iDs) throws RemoteException
Method removeICByPKs removes Interests objects corresponding to PKs from given ArrayList- Throws:
RemoteException
-
removeICByPK
public void removeICByPK(int pk) throws RemoteExceptionMethod removeInterestsById removes Interests object corresponding to given PK- Throws:
RemoteException
-
isICExists
public boolean isICExists(String nameIC) throws RemoteException
- Throws:
RemoteException
-
close
public void close()
Description copied from interface:SessionCloseableThe user session is being in close, close all resources relative to the session.- Specified by:
closein interfaceSessionCloseable- Overrides:
closein classAbstractComponentSessionController
-
-