@Deprecated public class DocumentInfo extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ACTION_MERGE
Deprecated.
|
static int |
ACTION_NOT_DEFINED
Deprecated.
|
static int |
ACTION_OVERWRITE
Deprecated.
|
static int |
ACTION_SKIP
Deprecated.
|
static int |
INSTALL_ALREADY_EXIST
Deprecated.
|
static int |
INSTALL_ERROR
Deprecated.
|
static int |
INSTALL_IMPOSSIBLE
Deprecated.
|
static int |
INSTALL_OK
Deprecated.
|
static int |
TYPE_NORMAL
Deprecated.
|
static int |
TYPE_SAMPLE
Deprecated.
|
Constructor and Description |
---|
DocumentInfo(XWikiDocument doc)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static int |
actionToInt(String status)
Deprecated.
|
static String |
actionToString(int status)
Deprecated.
|
void |
changeSpace(String Space)
Deprecated.
|
int |
getAction()
Deprecated.
|
XWikiDocument |
getDoc()
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 |
setDoc(XWikiDocument doc)
Deprecated.
|
void |
setFileType(int fileType)
Deprecated.
|
int |
testInstall(boolean isAdmin,
XWikiContext context)
Deprecated.
|
public static final int TYPE_SAMPLE
public static final int TYPE_NORMAL
public static final int ACTION_NOT_DEFINED
public static final int ACTION_OVERWRITE
public static final int ACTION_SKIP
public static final int ACTION_MERGE
public static final int INSTALL_IMPOSSIBLE
public static final int INSTALL_ALREADY_EXIST
public static final int INSTALL_OK
public static final int INSTALL_ERROR
public DocumentInfo(XWikiDocument doc)
public XWikiDocument getDoc()
public boolean isNew()
public void changeSpace(String Space)
public int getFileType()
public void setFileType(int fileType)
public String getFullName()
public String getLanguage()
public int isInstallable()
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)
public int getAction()
public void setAction(int action)
public void setDoc(XWikiDocument doc)
Copyright © 2004–2022 XWiki. All rights reserved.