Interface Engine

    • Method Detail

      • getType

        int getType()
      • getName

        java.lang.String getName()
      • getNameEx

        java.lang.String getNameEx()
      • getId

        long getId()
      • getUID

        java.lang.String getUID()
      • getVersion

        int getVersion()
      • getLastUpdated

        long getLastUpdated()
      • getIcon

        java.lang.String getIcon()
      • getDownloadLinkCSS

        java.lang.String getDownloadLinkCSS()
      • isActive

        boolean isActive()
      • isMine

        boolean isMine()
      • isPublic

        boolean isPublic()
      • setMine

        void setMine​(boolean mine)
      • getSelectionState

        int getSelectionState()
      • setSelectionState

        void setSelectionState​(int state)
      • recordSelectionState

        void recordSelectionState()
      • checkSelectionStateRecorded

        void checkSelectionStateRecorded()
      • getSource

        int getSource()
      • setSource

        void setSource​(int source)
      • getReferer

        java.lang.String getReferer()
      • getRankBias

        float getRankBias()
      • setRankBias

        void setRankBias​(float bias)
      • setPreferredDelta

        void setPreferredDelta​(float delta)
      • getPreferredWeighting

        float getPreferredWeighting()
      • applyRankBias

        float applyRankBias​(float rank)
      • supportsField

        boolean supportsField​(int field_id)
      • supportsContext

        boolean supportsContext​(java.lang.String context_key)
      • isShareable

        boolean isShareable()
      • isAnonymous

        boolean isAnonymous()
      • isAuthenticated

        boolean isAuthenticated()
      • getAutoDownloadSupported

        int getAutoDownloadSupported()
        Returns:
        one of AUTO_DL constants above
      • getAZVersion

        int getAZVersion()
      • addPotentialAssociation

        void addPotentialAssociation​(java.lang.String key)
      • exportToBencodedMap

        java.util.Map<java.lang.String,​java.lang.Object> exportToBencodedMap()
                                                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • exportToBencodedMap

        java.util.Map<java.lang.String,​java.lang.Object> exportToBencodedMap​(boolean generic)
                                                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • exportToJSONString

        java.lang.String exportToJSONString()
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • exportToVuzeFile

        void exportToVuzeFile​(java.io.File target)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • exportToVuzeFile

        VuzeFile exportToVuzeFile()
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • sameLogicAs

        boolean sameLogicAs​(Engine other)
        Tests for sameness in terms of function (ignores id, selection state etc)
        Parameters:
        other -
        Returns:
      • reset

        void reset()
        resets to initial state (e.g. if the engine has state pertaining to what has/hasn't been downloaded such as etags then this will be cleared)
      • delete

        void delete()
      • getString

        java.lang.String getString()