org.alfresco.filesys.repo
Class NodeRefNetworkFile

java.lang.Object
  extended by org.alfresco.jlan.server.filesys.NetworkFile
      extended by org.alfresco.filesys.alfresco.AlfrescoNetworkFile
          extended by org.alfresco.filesys.repo.NodeRefNetworkFile
Direct Known Subclasses:
ContentNetworkFile, LinkMemoryNetworkFile

public abstract class NodeRefNetworkFile
extends AlfrescoNetworkFile

NodeRef Based Network File Class


Field Summary
protected  NodeRef m_nodeRef
           
 
Fields inherited from class org.alfresco.jlan.server.filesys.NetworkFile
Created, DelayedWriteError, DeleteOnClose, IOPending, m_accessDate, m_attrib, m_closed, m_createDate, m_dirId, m_fid, m_fileSize, m_fullName, m_grantedAccess, m_modifyDate, m_name, m_streamId, m_streamName, m_uniqueId, m_writeCount, READONLY, READWRITE, WRITEONLY
 
Constructor Summary
NodeRefNetworkFile(java.lang.String name)
          Create a network file object with the specified file/directory name.
NodeRefNetworkFile(java.lang.String name, NodeRef node)
          Create a network file object with the specified file/directory name.
 
Method Summary
 NodeRef getNodeRef()
          Return the node ref
 void setNodeRef(NodeRef nodeRef)
          set the node ref
 
Methods inherited from class org.alfresco.filesys.alfresco.AlfrescoNetworkFile
getFileState, setFileState
 
Methods inherited from class org.alfresco.jlan.server.filesys.NetworkFile
addLock, close, closeFile, flushFile, getAccessDate, getCreationDate, getDirectoryId, getFileAttributes, getFileId, getFileSize, getFileSizeInt, getFullName, getFullNameStream, getGrantedAccess, getLockAt, getLockList, getModifyDate, getName, getStreamId, getStreamName, getUniqueId, getWriteCount, hasAccessDate, hasCreationDate, hasDelayedWriteError, hasDeleteOnClose, hasIOPending, hasLocks, hasModifyDate, hasNTAttribute, incrementWriteCount, isArchived, isClosed, isDirectory, isHidden, isReadOnly, isStream, isSystem, numberOfLocks, openFile, readFile, removeAllLocks, removeLock, seekFile, setAccessDate, setAttributes, setClosed, setCreationDate, setDelayedWriteError, setDeleteOnClose, setDirectoryId, setFileId, setFileSize, setFileSize, setFullName, setGrantedAccess, setIOPending, setModifyDate, setName, setStatusFlag, setStreamId, setStreamName, setUniqueId, setUniqueId, setUniqueId, truncateFile, wasCreated, writeFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_nodeRef

protected NodeRef m_nodeRef
Constructor Detail

NodeRefNetworkFile

public NodeRefNetworkFile(java.lang.String name)
Create a network file object with the specified file/directory name.

Parameters:
name - File name string.

NodeRefNetworkFile

public NodeRefNetworkFile(java.lang.String name,
                          NodeRef node)
Create a network file object with the specified file/directory name.

Parameters:
name - File name string.
node - NodeRef
Method Detail

getNodeRef

public NodeRef getNodeRef()
Return the node ref

Returns:
NodeRef

setNodeRef

public void setNodeRef(NodeRef nodeRef)
set the node ref

Parameters:
nodeRef - NodeRef


Copyright © 2005 - 2008 Alfresco Software, Inc. All Rights Reserved.