public class ContentFileInfo
extends org.alfresco.jlan.server.filesys.FileInfo
Adds fields for the file/folder NodeRef, and linked NodeRef for a link node.
FlagDeleteOnClose, FlagPseudoFile, m_attr, m_name, m_path, m_shortName, m_size, SetAccessDate, SetAllocationSize, SetAttributes, SetChangeDate, SetCreationDate, SetDeleteOnClose, SetFileSize, SetGid, SetMode, SetModifyDate, SetUid
Constructor and Description |
---|
ContentFileInfo(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
org.alfresco.service.cmr.repository.NodeRef |
getLinkNodeRef()
Return the link node, or null if this is not a link
|
org.alfresco.service.cmr.repository.NodeRef |
getNodeRef()
Return the file/folder node
|
int |
hashCode() |
boolean |
isLinkNode()
Check if this is a link node
|
void |
setLinkNodeRef(org.alfresco.service.cmr.repository.NodeRef link)
Set the link node
|
void |
setNodeRef(org.alfresco.service.cmr.repository.NodeRef node)
Set the node for this file/folder
|
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
public ContentFileInfo(org.alfresco.service.cmr.repository.NodeRef nodeRef)
public final org.alfresco.service.cmr.repository.NodeRef getNodeRef()
public final boolean isLinkNode()
public final org.alfresco.service.cmr.repository.NodeRef getLinkNodeRef()
public final void setNodeRef(org.alfresco.service.cmr.repository.NodeRef node)
node
- NodeRefpublic final void setLinkNodeRef(org.alfresco.service.cmr.repository.NodeRef link)
link
- NodeRefCopyright © 2005–2017 Alfresco Software. All rights reserved.