@Deprecated public class DocumentInfoAPI extends Api
Constructor and Description |
---|
DocumentInfoAPI(DocumentInfo doc,
XWikiContext context)
Deprecated.
|
Modifier and Type | Method and 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.
|
convert, convert, convert, convertAttachments, getAuthorizationManager, getContextualAuthorizationManager, getXWikiContext, hasAccess, hasAccessLevel, hasAdminRights, hasProgrammingRights, hasWikiAdminRights
public DocumentInfoAPI(DocumentInfo doc, XWikiContext context)
public DocumentInfo getDocInfo()
public boolean isNew()
public int getFileType()
public void setFileType(int fileType)
public String getFullName()
public String getLanguage()
public int isInstallable()
public int getAction()
public void setAction(int action)
public int testInstall(XWikiContext context)
public int testInstall(boolean isAdmin, XWikiContext context)
public static String installStatusToString(int status)
public static String actionToString(int status)
public static int actionToInt(String status)
Copyright © 2004–2022 XWiki. All rights reserved.