@Unstable public abstract class AbstractXarEntryType extends Object implements XarEntryType
XarEntryType.XarEntryType.UpgradeType| Constructor and Description |
|---|
AbstractXarEntryType(String name) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
XarEntryType.UpgradeType |
getUpgradeType() |
boolean |
isDeleteAllowed() |
boolean |
isEditAllowed() |
void |
setDeleteAllowed(boolean deleteAllowed) |
void |
setEditAllowed(boolean editAllowed) |
void |
setUpgradeType(XarEntryType.UpgradeType upgradeType) |
public AbstractXarEntryType(String name)
name - the name of the typepublic String getName()
getName in interface XarEntryTypepublic boolean isEditAllowed()
isEditAllowed in interface XarEntryTypepublic void setEditAllowed(boolean editAllowed)
editAllowed - true if editing this document is allowedpublic boolean isDeleteAllowed()
isDeleteAllowed in interface XarEntryTypepublic void setDeleteAllowed(boolean deleteAllowed)
deleteAllowed - true if deleting this document is allowedpublic XarEntryType.UpgradeType getUpgradeType()
getUpgradeType in interface XarEntryTypepublic void setUpgradeType(XarEntryType.UpgradeType upgradeType)
upgradeType - the upgrade behaviorCopyright © 2004–2018 XWiki. All rights reserved.