org.alfresco.service.cmr.model
Interface FileInfo
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- FileInfoImpl
public interface FileInfo
- extends java.io.Serializable
Common file information. The implementations may store the properties for the lifetime
of this instance; i.e. the values are transient and can be used as read-only values for
a short time only.
getNodeRef
NodeRef getNodeRef()
- Returns:
- Returns a reference to the low-level node representing this file
isFolder
boolean isFolder()
- Returns:
- Return true if this instance represents a folder, false if this represents a file
isLink
boolean isLink()
- Returns:
- true if this instance represents a link to a node
getLinkNodeRef
NodeRef getLinkNodeRef()
- Returns:
- Return the reference to the node that this node is linked to
getName
java.lang.String getName()
- Returns:
- Returns the name of the file or folder within the parent folder
getCreatedDate
java.util.Date getCreatedDate()
- Returns:
- Returns the date the node was created
getModifiedDate
java.util.Date getModifiedDate()
- Returns:
- Returns the modified date
getContentData
ContentData getContentData()
- Get the content data. This is only valid for
files
.
- Returns:
- Returns the content data
getProperties
java.util.Map getProperties()
- Returns:
- Returns all the node properties
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.