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
ConstructorsConstructorDescriptionPublishLogDto(int objId, String type, String state, User user, String date) Creates an instance of aPublishLogDtorecord class. -
Method Summary
Modifier and TypeMethodDescriptiondate()Returns the value of thedaterecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intobjId()Returns the value of theobjIdrecord component.state()Returns the value of thestaterecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.user()Returns the value of theuserrecord component.
-
Constructor Details
-
PublishLogDto
Creates an instance of aPublishLogDtorecord 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 theobjIdrecord component.- Returns:
- the value of the
objIdrecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
state
Returns the value of thestaterecord component.- Returns:
- the value of the
staterecord component
-
user
Returns the value of theuserrecord component.- Returns:
- the value of the
userrecord component
-
date
Returns the value of thedaterecord component.- Returns:
- the value of the
daterecord component
-