com.silverpeas.myLinksPeas.control
Class MyLinksPeasSessionController
java.lang.Object
com.stratelia.silverpeas.peasCore.AbstractComponentSessionController
com.silverpeas.myLinksPeas.control.MyLinksPeasSessionController
- All Implemented Interfaces:
- ComponentSessionController
public class MyLinksPeasSessionController
- extends AbstractComponentSessionController
Methods inherited from class com.stratelia.silverpeas.peasCore.AbstractComponentSessionController |
addClipboardSelection, clipboardPasteDone, close, 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 |
SCOPE_USER
public static final int SCOPE_USER
- See Also:
- Constant Field Values
SCOPE_COMPONENT
public static final int SCOPE_COMPONENT
- See Also:
- Constant Field Values
SCOPE_OBJECT
public static final int SCOPE_OBJECT
- See Also:
- Constant Field Values
MyLinksPeasSessionController
public MyLinksPeasSessionController(MainSessionController mainSessionCtrl,
ComponentContext componentContext)
- Standard Session Controller Constructeur
- Parameters:
mainSessionCtrl
- The user's profilecomponentContext
- The component's profile- See Also:
getAllLinksByUser
public Collection<LinkDetail> getAllLinksByUser()
getAllLinksByInstance
public Collection<LinkDetail> getAllLinksByInstance()
getAllLinksByObject
public Collection<LinkDetail> getAllLinksByObject()
getLink
public LinkDetail getLink(String linkId)
verifyCurrentUserIsOwner
public void verifyCurrentUserIsOwner(int linkId)
- This method verify that the owner of the link represented by the given id is the current user.
- Parameters:
linkId
-
verifyCurrentUserIsOwner
public void verifyCurrentUserIsOwner(String linkId)
- This method verify that the owner of the link represented by the given id is the current user.
- Parameters:
linkId
-
createLink
public void createLink(MyLinkEntity newLink)
updateLink
public void updateLink(MyLinkEntity updatedLink)
deleteLinks
public void deleteLinks(String[] links)
getMyLinksBm
protected MyLinksBm getMyLinksBm()
getUrl
public String getUrl()
setUrl
public void setUrl(String url)
getInstanceId
public String getInstanceId()
setInstanceId
public void setInstanceId(String instanceId)
getObjectId
public String getObjectId()
setObjectId
public void setObjectId(String objectId)
setScope
public void setScope(int scope)
getScope
public int getScope()
Copyright © 2016 Silverpeas. All Rights Reserved.