org.alfresco.filesys.repo.rules.operations
Class OpenFileOperation
java.lang.Object
org.alfresco.filesys.repo.rules.operations.OpenFileOperation
- All Implemented Interfaces:
- Operation
public class OpenFileOperation
- extends java.lang.Object
- implements Operation
Open File Operation.
Open a file with the given name.
Constructor Summary |
OpenFileOperation(java.lang.String name,
OpenFileMode mode,
boolean truncate,
org.alfresco.service.cmr.repository.NodeRef rootNode,
java.lang.String path)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
OpenFileOperation
public OpenFileOperation(java.lang.String name,
OpenFileMode mode,
boolean truncate,
org.alfresco.service.cmr.repository.NodeRef rootNode,
java.lang.String path)
- Parameters:
name
- the name of the file to openwriteAccess
- if true open the file in read/writerootNode
- path
- the full path/name to open
getName
public java.lang.String getName()
getPath
public java.lang.String getPath()
getRootNodeRef
public org.alfresco.service.cmr.repository.NodeRef getRootNodeRef()
getMode
public OpenFileMode getMode()
isTruncate
public boolean isTruncate()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.