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 XarEntryType
public boolean isEditAllowed()
isEditAllowed
in interface XarEntryType
public void setEditAllowed(boolean editAllowed)
editAllowed
- true if editing this document is allowedpublic boolean isDeleteAllowed()
isDeleteAllowed
in interface XarEntryType
public void setDeleteAllowed(boolean deleteAllowed)
deleteAllowed
- true if deleting this document is allowedpublic XarEntryType.UpgradeType getUpgradeType()
getUpgradeType
in interface XarEntryType
public void setUpgradeType(XarEntryType.UpgradeType upgradeType)
upgradeType
- the upgrade behaviorCopyright © 2004–2022 XWiki. All rights reserved.