Class CmsSearchResource

    • Constructor Detail

      • CmsSearchResource

        public CmsSearchResource​(CmsResource resource,
                                 I_CmsSearchDocument doc)
        Constructor, creates a new file Object from the given resource with an empty byte array as file content, if the resource does not implement a file.

        Parameters:
        resource - the base resource object to create a file from
        doc - the search document
      • CmsSearchResource

        public CmsSearchResource​(CmsUUID structureId,
                                 CmsUUID resourceId,
                                 java.lang.String path,
                                 int type,
                                 int flags,
                                 CmsUUID projectId,
                                 CmsResourceState state,
                                 long dateCreated,
                                 CmsUUID userCreated,
                                 long dateLastModified,
                                 CmsUUID userLastModified,
                                 long dateReleased,
                                 long dateExpired,
                                 int linkCount,
                                 int length,
                                 long dateContent,
                                 int version,
                                 I_CmsSearchDocument doc)
        Constructor, creates a new file object.

        Parameters:
        structureId - the id of this resources structure record
        resourceId - the id of this resources resource record
        path - the filename of this resource
        type - the type of this resource
        flags - the flags of this resource
        projectId - the project id this resource was last modified in
        state - the state of this resource
        dateCreated - the creation date of this resource
        userCreated - the id of the user who created this resource
        dateLastModified - the date of the last modification of this resource
        userLastModified - the id of the user who did the last modification of this resource
        dateReleased - the release date of this resource
        dateExpired - the expiration date of this resource
        linkCount - the count of all siblings of this resource
        length - the size of the file content of this resource
        dateContent - the date of the last modification of the content of this resource
        version - the version number of this resource
        doc - the search document