Class DocumentInfoAPI


  • @Deprecated
    public class DocumentInfoAPI
    extends Api
    Deprecated.
    since 5.2, use Filter framework instead
    Version:
    $Id: 596932228be505fa5c82eb47b2ece96772bf887f $
    • Method Detail

      • isNew

        public boolean isNew()
        Deprecated.
      • getFileType

        public int getFileType()
        Deprecated.
      • setFileType

        public void setFileType​(int fileType)
        Deprecated.
      • getFullName

        public String getFullName()
        Deprecated.
      • getLanguage

        public String getLanguage()
        Deprecated.
        Returns:
        the language of the described document
        Since:
        2.2M1
      • isInstallable

        public int isInstallable()
        Deprecated.
      • getAction

        public int getAction()
        Deprecated.
      • setAction

        public void setAction​(int action)
        Deprecated.
      • testInstall

        public int testInstall​(XWikiContext context)
        Deprecated.
      • testInstall

        public int testInstall​(boolean isAdmin,
                               XWikiContext context)
        Deprecated.
      • installStatusToString

        public static String installStatusToString​(int status)
        Deprecated.
      • actionToString

        public static String actionToString​(int status)
        Deprecated.
      • actionToInt

        public static int actionToInt​(String status)
        Deprecated.