Record Class PublishLogDto
java.lang.Object
java.lang.Record
com.gentics.contentnode.rest.model.PublishLogDto
- Record Components:
objId
- the object ID associated with the publish log entrytype
- the type of the object being publishedstate
- the state of the publish operationuser
- the user who performed the publish operationdate
- the date and time when the publish log entry was created
public record PublishLogDto(int objId, String type, String state, User user, String date)
extends Record
Data Transfer Object (DTO) for publish log entries.
-
Constructor Summary
ConstructorDescriptionPublishLogDto
(int objId, String type, String state, User user, String date) Creates an instance of aPublishLogDto
record class. -
Method Summary
Modifier and TypeMethodDescriptiondate()
Returns the value of thedate
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.int
objId()
Returns the value of theobjId
record component.state()
Returns the value of thestate
record component.final String
toString()
Returns a string representation of this record class.type()
Returns the value of thetype
record component.user()
Returns the value of theuser
record component.
-
Constructor Details
-
PublishLogDto
Creates an instance of aPublishLogDto
record class.
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
objId
public int objId()Returns the value of theobjId
record component.- Returns:
- the value of the
objId
record component
-
type
Returns the value of thetype
record component.- Returns:
- the value of the
type
record component
-
state
Returns the value of thestate
record component.- Returns:
- the value of the
state
record component
-
user
Returns the value of theuser
record component.- Returns:
- the value of the
user
record component
-
date
Returns the value of thedate
record component.- Returns:
- the value of the
date
record component
-