Record Class ExposedDocument
java.lang.Object
java.lang.Record
org.exoplatform.documents.model.ExposedDocument
- Record Components:
id- the node's identifiername- the name shown to usersmimeType- the file's mime type, null for a folderfolder- whether the node is a folderowner- the node's owner as stored (exo:owner), null when it has none
-
Constructor Summary
ConstructorsConstructorDescriptionExposedDocument(String id, String name, String mimeType, boolean folder, String owner) Creates an instance of aExposedDocumentrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.booleanfolder()Returns the value of thefolderrecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.mimeType()Returns the value of themimeTyperecord component.name()Returns the value of thenamerecord component.owner()Returns the value of theownerrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ExposedDocument
Creates an instance of aExposedDocumentrecord class.
-
-
Method Details
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
id
-
name
-
mimeType
-
folder
-
owner
-