Class PublishableParameterBean
- java.lang.Object
-
- com.gentics.contentnode.rest.resource.parameter.EditableParameterBean
-
- com.gentics.contentnode.rest.resource.parameter.PublishableParameterBean
-
public class PublishableParameterBean extends EditableParameterBean
Parameter bean for filtering publishable objects
-
-
Field Summary
Fields Modifier and Type Field Description boolean
isPublisher
(optional) true when only the objects which were last published by the user shall be returnedBoolean
modified
(optional) true to restrict to modified objects, false to restrict to unmodified objectsBoolean
online
(optional) true to restrict to online objects, false to restrict to offline objectsint
publishedBefore
Timestamp to search objects, which were published before a given time (0 for all objects)int
publishedSince
Timestamp to search objects, which were published since a given time (0 for all objects)String
publisher
Pattern for restricting objects by publisherList<Integer>
publisherIds
IDs for restricting objects by publisher-
Fields inherited from class com.gentics.contentnode.rest.resource.parameter.EditableParameterBean
createdBefore, createdSince, creator, creatorIds, editedBefore, editedSince, editor, editorIds, isCreator, isEditor
-
-
Constructor Summary
Constructors Constructor Description PublishableParameterBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PublishableParameterBean
setModified(Boolean modified)
PublishableParameterBean
setOnline(Boolean online)
PublishableParameterBean
setPublishedBefore(int publishedBefore)
PublishableParameterBean
setPublishedSince(int publishedSince)
PublishableParameterBean
setPublisher(boolean publisher)
PublishableParameterBean
setPublisher(String publisher)
PublishableParameterBean
setPublisherIds(List<Integer> publisherIds)
-
Methods inherited from class com.gentics.contentnode.rest.resource.parameter.EditableParameterBean
setCreatedBefore, setCreatedSince, setCreator, setCreator, setCreatorIds, setEditedBefore, setEditedSince, setEditor, setEditor, setEditorIds
-
-
-
-
Field Detail
-
isPublisher
@QueryParam("ispublisher") @DefaultValue("false") public boolean isPublisher
(optional) true when only the objects which were last published by the user shall be returned
-
publisher
@QueryParam("publisher") public String publisher
Pattern for restricting objects by publisher
-
publisherIds
@QueryParam("publisherId") public List<Integer> publisherIds
IDs for restricting objects by publisher
-
publishedBefore
@QueryParam("publishedbefore") @DefaultValue("0") public int publishedBefore
Timestamp to search objects, which were published before a given time (0 for all objects)
-
publishedSince
@QueryParam("publishedsince") @DefaultValue("0") public int publishedSince
Timestamp to search objects, which were published since a given time (0 for all objects)
-
modified
@QueryParam("modified") public Boolean modified
(optional) true to restrict to modified objects, false to restrict to unmodified objects
-
online
@QueryParam("online") public Boolean online
(optional) true to restrict to online objects, false to restrict to offline objects
-
-
Method Detail
-
setPublisher
public PublishableParameterBean setPublisher(boolean publisher)
-
setPublisher
public PublishableParameterBean setPublisher(String publisher)
-
setPublisherIds
public PublishableParameterBean setPublisherIds(List<Integer> publisherIds)
-
setPublishedBefore
public PublishableParameterBean setPublishedBefore(int publishedBefore)
-
setPublishedSince
public PublishableParameterBean setPublishedSince(int publishedSince)
-
setModified
public PublishableParameterBean setModified(Boolean modified)
-
setOnline
public PublishableParameterBean setOnline(Boolean online)
-
-