Class FileInfoImpl
- java.lang.Object
-
- org.alfresco.repo.model.filefolder.FileInfoImpl
-
- All Implemented Interfaces:
java.io.Serializable,PermissionCheckValue,FileInfo
public class FileInfoImpl extends java.lang.Object implements FileInfo
Common file information implementation.- Author:
- Derek Hulley
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)org.alfresco.service.cmr.repository.ContentDatagetContentData()Get the content data.java.util.DategetCreatedDate()org.alfresco.service.cmr.repository.NodeRefgetLinkNodeRef()java.util.DategetModifiedDate()java.lang.StringgetName()org.alfresco.service.cmr.repository.NodeRefgetNodeRef()Get the underlying node value that needs to be permission checked.java.util.Map<org.alfresco.service.namespace.QName,java.io.Serializable>getProperties()org.alfresco.service.namespace.QNamegetType()inthashCode()booleanisFolder()booleanisHidden()booleanisLink()java.lang.StringtoString()
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object- See Also:
getNodeRef(),NodeRef.equals(Object)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object- See Also:
getNodeRef(),NodeRef.hashCode()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getNodeRef
public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
Description copied from interface:PermissionCheckValueGet the underlying node value that needs to be permission checked.- Specified by:
getNodeRefin interfaceFileInfo- Specified by:
getNodeRefin interfacePermissionCheckValue- Returns:
- Returns a reference to the low-level node representing this file
-
isFolder
public boolean isFolder()
-
isLink
public boolean isLink()
-
isHidden
public boolean isHidden()
-
getLinkNodeRef
public org.alfresco.service.cmr.repository.NodeRef getLinkNodeRef()
- Specified by:
getLinkNodeRefin interfaceFileInfo- Returns:
- Return the reference to the node that this node is linked to
-
getName
public java.lang.String getName()
-
getCreatedDate
public java.util.Date getCreatedDate()
- Specified by:
getCreatedDatein interfaceFileInfo- Returns:
- Returns the date the node was created
-
getModifiedDate
public java.util.Date getModifiedDate()
- Specified by:
getModifiedDatein interfaceFileInfo- Returns:
- Returns the modified date
-
getContentData
public org.alfresco.service.cmr.repository.ContentData getContentData()
Description copied from interface:FileInfoGet the content data. This is only valid forfiles.- Specified by:
getContentDatain interfaceFileInfo- Returns:
- Returns the content data
-
getProperties
public java.util.Map<org.alfresco.service.namespace.QName,java.io.Serializable> getProperties()
- Specified by:
getPropertiesin interfaceFileInfo- Returns:
- Returns all the node properties
-
-