Class RemoveFavouriteAction

    • Constructor Detail

      • RemoveFavouriteAction

        public RemoveFavouriteAction()
    • Method Detail

      • execute

        public String execute()
        Specified by:
        execute in interface com.opensymphony.xwork2.Action
        Overrides:
        execute in class com.opensymphony.xwork2.ActionSupport
      • getEntity

        public Labelable getEntity()
        Used so that the links are correctly built when JS is disabled
        Returns:
        The entity the label is removed from
      • setEntityId

        public void setEntityId​(long entityId)
      • setLabelsService

        public void setLabelsService​(LabelsService labelsService)