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 void
close()
The user session is being in close, close all resources relative to the session.void
createIC(Interests icToCreate)
Method createInterests creates new InterestsInterests
getICByPK(int pk)
Method getInterestsByPK returns Interests object by pkList<Interests>
getICByUserId()
Method getInterestsByUserId returns ArrayList of all Interests objects for user given by userIdboolean
isICExists(String nameIC)
void
removeICByPK(int pk)
Method removeInterestsById removes Interests object corresponding to given PKvoid
removeICByPKs(String[] iDs)
Method removeICByPKs removes Interests objects corresponding to PKs from given ArrayListvoid
updateIC(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 RemoteException
Method 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:SessionCloseable
The user session is being in close, close all resources relative to the session.- Specified by:
close
in interfaceSessionCloseable
- Overrides:
close
in classAbstractComponentSessionController
-
-