Class ContentFileInfo

java.lang.Object
org.alfresco.jlan.server.filesys.FileInfo
org.alfresco.filesys.repo.ContentFileInfo

public class ContentFileInfo extends org.alfresco.jlan.server.filesys.FileInfo
Content Disk Driver File Info Class

Adds fields for the file/folder NodeRef, and linked NodeRef for a link node.

Author:
gkspencer
  • Field Summary

    Fields inherited from class org.alfresco.jlan.server.filesys.FileInfo

    FlagDeleteOnClose, FlagPseudoFile, m_attr, m_name, m_path, m_shortName, m_size, SetAccessDate, SetAllocationSize, SetAttributes, SetChangeDate, SetCreationDate, SetDeleteOnClose, SetFileSize, SetGid, SetMode, SetModifyDate, SetUid
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object other)
     
    final NodeRef
    Return the link node, or null if this is not a link
    final NodeRef
    Return the file/folder node
    int
     
    final boolean
    Check if this is a link node
    final void
    Set the link node
    final void
    Set the node for this file/folder

    Methods inherited from class org.alfresco.jlan.server.filesys.FileInfo

    copyFrom, getAccessDateTime, getAllocationSize, getAllocationSizeInt, getChangeDateTime, getCreationDateTime, getDirectoryId, getDirectoryIdLong, getFileAttributes, getFileFlags, getFileId, getFileIdLong, getFileName, getGid, getMode, getModifyDateTime, getNetworkFile, getPath, getSetFileInformationFlags, getSetFileInformationFlagsString, getShortName, getSize, getSizeInt, getUid, hasAccessDateTime, hasAttribute, hasChangeDateTime, hasCreationDateTime, hasDeleteOnClose, hasFileAttributes, hasGid, hasMode, hasModifyDateTime, hasNetworkFile, hasSetFlag, hasShortName, hasUid, isArchived, isDirectory, isFileType, isHidden, isPseudoFile, isReadOnly, isSystem, isTemporary, resetInfo, setAccessDateTime, setAllocationSize, setChangeDateTime, setCreationDateTime, setDeleteOnClose, setDirectoryId, setFileAttributes, setFileId, setFileInformationFlags, setFileName, setFileSize, setFileType, setGid, setMode, setModifyDateTime, setNetworkFile, setPath, setPseudoFile, setShortName, setSize, setSize, setUid, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ContentFileInfo

      public ContentFileInfo(NodeRef nodeRef)
  • Method Details

    • getNodeRef

      public final NodeRef getNodeRef()
      Return the file/folder node
      Returns:
      NodeRef
    • isLinkNode

      public final boolean isLinkNode()
      Check if this is a link node
      Returns:
      boolean
    • getLinkNodeRef

      public final NodeRef getLinkNodeRef()
      Return the link node, or null if this is not a link
      Returns:
      NodeRef
    • setNodeRef

      public final void setNodeRef(NodeRef node)
      Set the node for this file/folder
      Parameters:
      node - NodeRef
    • setLinkNodeRef

      public final void setLinkNodeRef(NodeRef link)
      Set the link node
      Parameters:
      link - NodeRef
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object