Package org.xwiki.xar
Interface XarEntryType
-
- All Known Implementing Classes:
AbstractXarEntryType
@Role public interface XarEntryType
The type of theXarEntry
which control the behavior to adopt while upgrading, editing, etc.- Since:
- 10.3
- Version:
- $Id: 7227ff2377704ea4ab9d02f75fa08e2dea1883d5 $
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
XarEntryType.UpgradeType
The upgrade behavior.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
XarEntryType.UpgradeType
getUpgradeType()
boolean
isDeleteAllowed()
boolean
isEditAllowed()
-
-
-
Method Detail
-
getName
String getName()
- Returns:
- the name of the type
-
isEditAllowed
boolean isEditAllowed()
- Returns:
- true if editing this document is allowed
-
isDeleteAllowed
boolean isDeleteAllowed()
- Returns:
- true if deleting this document is allowed
-
getUpgradeType
XarEntryType.UpgradeType getUpgradeType()
- Returns:
- the upgrade behavior
-
-