Class DocumentModel

java.lang.Object
org.exoplatform.documents.mcp.model.DocumentModel
Direct Known Subclasses:
DocumentFileModel, DocumentFolderModel

public abstract class DocumentModel extends Object
  • Constructor Details

    • DocumentModel

      protected DocumentModel(String id, String name, String path, String url, String parentFolderId, String createdDate, io.meeds.mcp.server.tool.model.UserModel createdUser)
      Builds the document's common fields, its rights left unknown.
      Parameters:
      id - the document id
      name - the document title
      path - the document path
      url - the document URL in the Documents app
      parentFolderId - the id of the folder holding it
      createdDate - the creation date, formatted
      createdUser - the creator