public abstract class AlfrescoNetworkFile
extends org.alfresco.jlan.server.filesys.NetworkFile
implements org.alfresco.jlan.server.filesys.cache.NetworkFileStateInterface
Adds Alfresco extensions to the network file.
ATTRIBUTESONLY, Created, DelayedClose, DelayedWriteError, DeleteOnClose, IOPending, m_accessDate, m_allowedAccess, 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 and Description |
---|
AlfrescoNetworkFile(String name)
Create a network file object with the specified file/directory name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
allowsOpenCloseViaNetworkFile()
Tell JLAN it needs to call disk.closeFile rather than short cutting.
|
org.alfresco.jlan.server.filesys.cache.FileState |
getFileState()
Return the associated file state
|
void |
setFileState(org.alfresco.jlan.server.filesys.cache.FileState state)
Set the associated file state
|
addLock, close, closeFile, flushFile, getAccessDate, getAccessToken, getAllowedAccess, getCreationDate, getDirectoryId, getFileAttributes, getFileId, getFileSize, getFileSizeInt, getFullName, getFullNameStream, getGrantedAccess, getGrantedAccessAsString, getLockAt, getLockList, getModifyDate, getName, getOpLock, getProtocolId, getStreamId, getStreamName, getUniqueId, getWriteCount, hasAccessDate, hasAccessToken, hasCreationDate, hasDelayedClose, hasDelayedWriteError, hasDeleteOnClose, hasIOPending, hasLocks, hasModifyDate, hasNTAttribute, hasOpLock, incrementWriteCount, isArchived, isClosed, isDirectory, isForce, isHidden, isReadOnly, isStream, isSystem, numberOfLocks, openFile, readFile, removeAllLocks, removeLock, seekFile, setAccessDate, setAccessToken, setAllowedAccess, setAttributes, setClosed, setCreationDate, setDelayedClose, setDelayedWriteError, setDeleteOnClose, setDirectoryId, setFileId, setFileSize, setFileSize, setForce, setFullName, setGrantedAccess, setIOPending, setModifyDate, setName, setOpLock, setProtocolId, setStatusFlag, setStreamId, setStreamName, setUniqueId, setUniqueId, setUniqueId, toString, truncateFile, wasCreated, writeFile
public AlfrescoNetworkFile(String name)
name
- File name string.public org.alfresco.jlan.server.filesys.cache.FileState getFileState()
getFileState
in interface org.alfresco.jlan.server.filesys.cache.NetworkFileStateInterface
public final void setFileState(org.alfresco.jlan.server.filesys.cache.FileState state)
state
- FileStatepublic boolean allowsOpenCloseViaNetworkFile()
allowsOpenCloseViaNetworkFile
in class org.alfresco.jlan.server.filesys.NetworkFile
Copyright © 2005–2017 Alfresco Software. All rights reserved.