Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

org.alfresco.service.cmr.model
Interface FileInfo
All Superinterfaces:
org.alfresco.repo.security.permissions.PermissionCheckValue, Serializable

@org.alfresco.api.AlfrescoPublicApi
public interface FileInfo
extends org.alfresco.repo.security.permissions.PermissionCheckValue, 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.
Author:
Derek Hulley

Method Summary
getContentData()
          Get the content data.
getCreatedDate()
getLinkNodeRef()
getModifiedDate()
getName()
getNodeRef()
getProperties()
getType()
boolean
isFolder()
boolean
isHidden()
boolean
isLink()
Method Detail
getNodeRef
NodeRef getNodeRef()
Specified by:
getNodeRef in interface org.alfresco.repo.security.permissions.PermissionCheckValue
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

isHidden
boolean isHidden()
Returns:
true if this instance represents a hidden file

getLinkNodeRef
NodeRef getLinkNodeRef()
Returns:
Return the reference to the node that this node is linked to

getName
String getName()
Returns:
Returns the name of the file or folder within the parent folder

getCreatedDate
Date getCreatedDate()
Returns:
Returns the date the node was created

getModifiedDate
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
Map<QName,SerializablegetProperties()
Returns:
Returns all the node properties

getType
QName getType()
Returns:
Returns (sub-)type of folder or file

Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005–2018 Alfresco Software. All rights reserved.

Java API documentation generated with DocFlex/Javadoc 1.6.1 using JavadocPro template set.