Package com.xpn.xwiki.plugin.packaging
Class DocumentInfoAPI
- java.lang.Object
-
- com.xpn.xwiki.api.Api
-
- com.xpn.xwiki.plugin.packaging.DocumentInfoAPI
-
@Deprecated public class DocumentInfoAPI extends Api
Deprecated.since 5.2, use Filter framework instead- Version:
- $Id: 596932228be505fa5c82eb47b2ece96772bf887f $
-
-
Constructor Summary
Constructors Constructor Description DocumentInfoAPI(DocumentInfo doc, XWikiContext context)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static int
actionToInt(String status)
Deprecated.static String
actionToString(int status)
Deprecated.int
getAction()
Deprecated.DocumentInfo
getDocInfo()
Deprecated.int
getFileType()
Deprecated.String
getFullName()
Deprecated.String
getLanguage()
Deprecated.static String
installStatusToString(int status)
Deprecated.int
isInstallable()
Deprecated.boolean
isNew()
Deprecated.void
setAction(int action)
Deprecated.void
setFileType(int fileType)
Deprecated.int
testInstall(boolean isAdmin, XWikiContext context)
Deprecated.int
testInstall(XWikiContext context)
Deprecated.-
Methods inherited from class com.xpn.xwiki.api.Api
convert, convert, convert, convertAttachments, getAuthorizationManager, getContextualAuthorizationManager, getXWikiContext, hasAccess, hasAccessLevel, hasAdminRights, hasProgrammingRights, hasWikiAdminRights
-
-
-
-
Constructor Detail
-
DocumentInfoAPI
public DocumentInfoAPI(DocumentInfo doc, XWikiContext context)
Deprecated.
-
-
Method Detail
-
getDocInfo
public DocumentInfo getDocInfo()
Deprecated.
-
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.
-
-