com.silverpeas.pdcSubscriptionPeas.control
Class PdcSubscriptionSessionController

java.lang.Object
  extended by com.stratelia.silverpeas.peasCore.AbstractComponentSessionController
      extended by com.silverpeas.pdcSubscriptionPeas.control.PdcSubscriptionSessionController
All Implemented Interfaces:
ComponentSessionController

public class PdcSubscriptionSessionController
extends AbstractComponentSessionController


Field Summary
 
Fields inherited from class com.stratelia.silverpeas.peasCore.AbstractComponentSessionController
CHARACTER_ENCODING, context
 
Constructor Summary
PdcSubscriptionSessionController(MainSessionController mainSessionCtrl, ComponentContext componentContext)
          Constructor Creates new PdcSubscription Session Controller
 
Method Summary
 void close()
           
 void createPDCSubscription(PDCSubscription subscription)
           
 void createPDCSubscription(String name, List<? extends Criteria> criteria)
           
 void deleteComponentSubscription(String[] subscriptions)
           
 void deleteThemes(String[] themes)
           
 AxisHeader getAxisHeader(String axisId)
           
 Collection<ComponentSubscriptionBean> getComponentUserSubscriptions(String userId)
           
 PDCSubscription getCurrentPDCSubscription()
           
 List<Value> getFullPath(String valueId, String treeId)
           
 NodeBm getNodeBm()
           
 Collection<NodeSubscriptionBean> getNodeUserSubscriptions(String userId)
           
 List<List<Value>> getPathCriterias(List<? extends Criteria> searchCriterias)
           
 PDCSubscription getPDCSubsriptionById(int id)
           
 List<PDCSubscription> getUserPDCSubscription()
           
 List<PDCSubscription> getUserPDCSubscription(int userId)
           
 void removeICByPK(int[] ids)
           
 void removePDCSubscriptionById(int id)
           
 PDCSubscription setAsCurrentPDCSubscription(String subscriptionId)
           
 void setCurrentPDCSubscription(PDCSubscription currentPDCSubscription)
           
 void updateCurrentSubscription(String name, List<? extends Criteria> criteria)
           
 void updatePDCSubscription(PDCSubscription subscription)
           
 
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
 

Constructor Detail

PdcSubscriptionSessionController

public PdcSubscriptionSessionController(MainSessionController mainSessionCtrl,
                                        ComponentContext componentContext)
Constructor Creates new PdcSubscription Session Controller

Parameters:
mainSessionCtrl -
componentContext -
Method Detail

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.