Package org.alfresco.filesys.repo
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 -
Method Summary
Modifier and TypeMethodDescriptionbooleanfinal NodeRefReturn the link node, or null if this is not a linkfinal NodeRefReturn the file/folder nodeinthashCode()final booleanCheck if this is a link nodefinal voidsetLinkNodeRef(NodeRef link) Set the link nodefinal voidsetNodeRef(NodeRef node) Set the node for this file/folderMethods 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
-
Constructor Details
-
ContentFileInfo
-
-
Method Details
-
getNodeRef
Return the file/folder node- Returns:
- NodeRef
-
isLinkNode
public final boolean isLinkNode()Check if this is a link node- Returns:
- boolean
-
getLinkNodeRef
Return the link node, or null if this is not a link- Returns:
- NodeRef
-
setNodeRef
Set the node for this file/folder- Parameters:
node- NodeRef
-
setLinkNodeRef
Set the link node- Parameters:
link- NodeRef
-
equals
-
hashCode
public int hashCode()
-