com.silverpeas.pdcSubscriptionPeas.control
Class PdcSubscriptionSessionController
java.lang.Object
com.stratelia.silverpeas.peasCore.AbstractComponentSessionController
com.silverpeas.pdcSubscriptionPeas.control.PdcSubscriptionSessionController
- All Implemented Interfaces:
- ComponentSessionController
public class PdcSubscriptionSessionController
- extends AbstractComponentSessionController
Methods inherited from class com.stratelia.silverpeas.peasCore.AbstractComponentSessionController |
addClipboardSelection, clipboardPasteDone, getAlertUser, getClipboardCount, getClipboardErrorMessage, getClipboardExceptionError, getClipboardName, getClipboardObjects, getClipboardSelectedObjects, getClipboardSize, getComponentAccessController, getComponentId, getComponentLabel, getComponentName, getComponentParameters, getComponentParameterValue, getComponentParameterValue, getComponentRootName, getComponentUrl, getFavoriteSpace, getGenericPanel, getHighestSilverpeasUserRole, getIcon, getLanguage, getLastResults, getLook, getMultilang, getOrganisationController, getPersonalization, getRSSUrl, getSelection, getServerNameAndPort, getSettings, getSilverpeasUserRoles, getSpaceId, getSpaceLabel, getString, getSubscriptionContext, getUrlEncodedParameter, getUserAccessLevel, getUserAvailComponentIds, getUserAvailSpaceIds, getUserDetail, getUserDetail, getUserId, getUserManageableGroupIds, getUserManageableSpaceIds, getUserRoleLevel, getUserRoles, isAppInMaintenance, isGroupManager, isPasswordChangeAllowed, isSpaceInMaintenance, removeClipboardElement, setAppModeMaintenance, setClipboardError, setClipboardSelectedElement, setComponentRootName, setFavoriteSpaceToMainSessionController, setGenericPanel, setIconFileName, setLastResults, setMultilangFileName, setResourceFileName, setSpaceModeMaintenance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PdcSubscriptionSessionController
public PdcSubscriptionSessionController(MainSessionController mainSessionCtrl,
ComponentContext componentContext)
- Constructor Creates new PdcSubscription Session Controller
- Parameters:
mainSessionCtrl
- componentContext
-
getNodeBm
public NodeBm getNodeBm()
getNodeUserSubscriptions
public Collection<NodeSubscriptionBean> getNodeUserSubscriptions(String userId)
getComponentUserSubscriptions
public Collection<ComponentSubscriptionBean> getComponentUserSubscriptions(String userId)
deleteThemes
public void deleteThemes(String[] themes)
deleteComponentSubscription
public void deleteComponentSubscription(String[] subscriptions)
getUserPDCSubscription
public List<PDCSubscription> getUserPDCSubscription()
throws RemoteException
- Throws:
RemoteException
getUserPDCSubscription
public List<PDCSubscription> getUserPDCSubscription(int userId)
throws RemoteException
- Throws:
RemoteException
getPDCSubsriptionById
public PDCSubscription getPDCSubsriptionById(int id)
throws RemoteException
- Throws:
RemoteException
createPDCSubscription
public void createPDCSubscription(PDCSubscription subscription)
throws RemoteException
- Throws:
RemoteException
updatePDCSubscription
public void updatePDCSubscription(PDCSubscription subscription)
throws RemoteException
- Throws:
RemoteException
removePDCSubscriptionById
public void removePDCSubscriptionById(int id)
throws RemoteException
- Throws:
RemoteException
removeICByPK
public void removeICByPK(int[] ids)
throws RemoteException
- Throws:
RemoteException
getAxisHeader
public AxisHeader getAxisHeader(String axisId)
throws PdcException
- Throws:
PdcException
getFullPath
public List<Value> getFullPath(String valueId,
String treeId)
throws PdcException
- Throws:
PdcException
getPathCriterias
public List<List<Value>> getPathCriterias(List<? extends Criteria> searchCriterias)
throws Exception
- Throws:
Exception
close
public void close()
- Overrides:
close
in class AbstractComponentSessionController
getCurrentPDCSubscription
public PDCSubscription getCurrentPDCSubscription()
setCurrentPDCSubscription
public void setCurrentPDCSubscription(PDCSubscription currentPDCSubscription)
createPDCSubscription
public void createPDCSubscription(String name,
List<? extends Criteria> criteria)
throws RemoteException
- Throws:
RemoteException
updateCurrentSubscription
public void updateCurrentSubscription(String name,
List<? extends Criteria> criteria)
throws RemoteException
- Throws:
RemoteException
setAsCurrentPDCSubscription
public PDCSubscription setAsCurrentPDCSubscription(String subscriptionId)
throws RemoteException
- Throws:
RemoteException
Copyright © 2016 Silverpeas. All Rights Reserved.