Package org.apache.sling.servlets.post
Enum-Klasse ModificationType
- Alle implementierten Schnittstellen:
Serializable,Comparable<ModificationType>,Constable
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum-Konstanten - Übersicht
Enum-KonstantenEnum-KonstanteBeschreibungA Node has been checked in.A Node has been checked out.An Item has been copied to a new location.A Node has been created.An Item has been deleted.Content has been created or updated.An Item has been moved to a new location.A child Node has been reordered.A Node has been restored to a given version. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ModificationTypeGibt die Enum-Konstante dieser Klasse mit dem angegebenen Namen zurück.static ModificationType[]values()Gibt ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration zurück.
-
Enum-Konstanten - Details
-
MODIFY
Content has been created or updated. The source path provides the path of the modified Item. -
DELETE
An Item has been deleted. The source path provides the path of the deleted Item. -
MOVE
An Item has been moved to a new location. The source provides the original path of the Item, the destination provides the new path of the Item. -
COPY
An Item has been copied to a new location. The source path provides the path of the copied Item, the destination path provides the path of the new Item. -
CREATE
A Node has been created. The source path provides the path of the newly created Node. -
ORDER
A child Node has been reordered. The source path provides the path of the node, which has been reordered. The destination path provides the name of the sibbling node before which the source Node has been ordered. which the -
CHECKOUT
A Node has been checked out. The source path provides the path of the node. -
CHECKIN
A Node has been checked in. The source path provides the path of the node. -
RESTORE
A Node has been restored to a given version. The soruce path provides the path of the node and the destination describes the target version.
-
-
Methodendetails
-
values
Gibt ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration zurück.- Gibt zurück:
- ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration
-
valueOf
Gibt die Enum-Konstante dieser Klasse mit dem angegebenen Namen zurück. Die Zeichenfolge muss exakt mit einer ID übereinstimmen, mit der eine Enum-Konstante in dieser Klasse deklariert wird. (Zusätzliche Leerzeichen sind nicht zulässig.)- Parameter:
name- Name der zurückzugebenden Enumerationskonstante.- Gibt zurück:
- Enumerationskonstante mit dem angegebenen Namen
- Löst aus:
IllegalArgumentException- wenn diese Enum-Klasse keine Konstante mit dem angegebenen Namen enthältNullPointerException- wenn das Argument nicht angegeben wird
-