Class EditableParameterBean
java.lang.Object
com.gentics.contentnode.rest.resource.parameter.EditableParameterBean
- Direct Known Subclasses:
PublishableParameterBean
Parameter bean for filtering editable objects (by creator or editor)
-
Field Summary
Modifier and TypeFieldDescriptionint
Timestamp to search objects, which were created before a given time (0 for all objects)int
Timestamp to search objects, which were created since a given time (0 for all objects)Pattern for restricting objects by creatorIDs for restricting objects by creator.int
Timestamp to search objects, which were edited before a given time (0 for all objects)int
Timestamp to search objects, which were edited since a given time (0 for all objects)Pattern for restricting objects by editorIDs for restricting objects by editor.boolean
(optional) true when only the objects created by the user shall be returnedboolean
(optional) true when only the objects last edited by the user shall be returned -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionsetCreatedBefore
(int createdBefore) setCreatedSince
(int createdSince) setCreator
(boolean creator) setCreator
(String creator) setCreatorIds
(List<Integer> creatorIds) setEditedBefore
(int editedBefore) setEditedSince
(int editedSince) setEditor
(boolean editor) setEditorIds
(List<Integer> editorIds)
-
Field Details
-
isCreator
@QueryParam("iscreator") @DefaultValue("false") public boolean isCreator(optional) true when only the objects created by the user shall be returned -
creator
Pattern for restricting objects by creator -
creatorIds
IDs for restricting objects by creator. -
createdBefore
@QueryParam("createdbefore") @DefaultValue("0") public int createdBeforeTimestamp to search objects, which were created before a given time (0 for all objects) -
createdSince
@QueryParam("createdsince") @DefaultValue("0") public int createdSinceTimestamp to search objects, which were created since a given time (0 for all objects) -
isEditor
@QueryParam("iseditor") @DefaultValue("false") public boolean isEditor(optional) true when only the objects last edited by the user shall be returned -
editor
Pattern for restricting objects by editor -
editorIds
IDs for restricting objects by editor. -
editedBefore
@QueryParam("editedbefore") @DefaultValue("0") public int editedBeforeTimestamp to search objects, which were edited before a given time (0 for all objects) -
editedSince
@QueryParam("editedsince") @DefaultValue("0") public int editedSinceTimestamp to search objects, which were edited since a given time (0 for all objects)
-
-
Constructor Details
-
EditableParameterBean
public EditableParameterBean()
-
-
Method Details
-
setCreator
-
setCreator
-
setCreatorIds
-
setCreatedBefore
-
setCreatedSince
-
setEditor
-
setEditor
-
setEditorIds
-
setEditedBefore
-
setEditedSince
-