Class IdeasScriptService

  • All Implemented Interfaces:
    org.xwiki.script.service.ScriptService

    @Component
    @Named("ideas")
    @Singleton
    @Unstable
    public class IdeasScriptService
    extends Object
    implements org.xwiki.script.service.ScriptService
    Script service for retrieving information about the Ideas Application.
    Since:
    1.16
    Version:
    $Id: fb3bb985dfa543e9fbdfab91d6c77d7b8ba9668f $
    • Constructor Detail

      • IdeasScriptService

        public IdeasScriptService()
    • Method Detail

      • isOpenToVote

        public boolean isOpenToVote​(String status)
                             throws IdeasException
        Check if an idea with the given status allows voting.
        Parameters:
        status - the status to check
        Returns:
        true if an idea with the given status is open for voting, false otherwise
        Throws:
        IdeasException