Class MyLinksPeasSessionController

    • Constructor Detail

      • MyLinksPeasSessionController

        public MyLinksPeasSessionController​(MainSessionController mainSessionCtrl,
                                            ComponentContext componentContext)
        Standard Session Controller Constructeur
        Parameters:
        mainSessionCtrl - The user's profile
        componentContext - The component's profile
    • Method Detail

      • 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)
      • 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()