|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.core.util.vfs.LocalImpl
public abstract class LocalImpl
Description:
TODO: Felix Jost Class Description for LocalImpl
Initial Date: 23.06.2005
| Method Summary | |
|---|---|
VFSStatus |
canCopy()
|
VFSStatus |
canDelete()
|
VFSStatus |
canRename()
|
VFSStatus |
canWrite()
|
abstract VFSStatus |
delete()
deltes the item. |
java.io.File |
getBasefile()
Be aware that the returned base file reference might change, do not hold a local reference to it in your code! Due to a bug in Java after renaming a LocalImpl file the base file will be a new object with a new reference! |
long |
getLastModified()
Return the last modified date of this item or -1 if not available. |
VFSSecurityCallback |
getLocalSecurityCallback()
Get the local security callback for this item. |
java.lang.String |
getName()
|
VFSContainer |
getParentContainer()
Get the parent of this vfsItem. |
boolean |
isSame(VFSItem vfsItem)
Test if this is the same item as ourselves. |
abstract VFSStatus |
rename(java.lang.String newname)
|
void |
setLocalSecurityCallback(VFSSecurityCallback securityCallback)
Set a custom security callback for this item. |
void |
setParentContainer(VFSContainer parentContainer)
Sets the parent container. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.olat.core.util.vfs.VFSItem |
|---|
resolve |
| Method Detail |
|---|
public VFSContainer getParentContainer()
VFSItem
getParentContainer in interface VFSItemVFSItem.getParentContainer()public void setParentContainer(VFSContainer parentContainer)
VFSItem
setParentContainer in interface VFSItemVFSItem.setParentContainer(org.olat.core.util.vfs.VFSContainer)public VFSStatus canDelete()
canDelete in interface VFSItemVFSItem.canDelete()public VFSStatus canCopy()
canCopy in interface VFSItemVFSItem.canCopy()public VFSStatus canRename()
canRename in interface VFSItemVFSItem.canRename()public VFSStatus canWrite()
canWrite in interface VFSItemVFSItem.canWrite()public java.lang.String getName()
getName in interface VFSItemVFSItem.getName()public java.io.File getBasefile()
public long getLastModified()
VFSItem
getLastModified in interface VFSItempublic abstract VFSStatus rename(java.lang.String newname)
rename in interface VFSItemnewname - e.g test.txt or myfolder (no path prepended)
VFSItem.rename(java.lang.String)public abstract VFSStatus delete()
VFSItem
delete in interface VFSItemVFSItem.delete()public void setLocalSecurityCallback(VFSSecurityCallback securityCallback)
VFSItem
setLocalSecurityCallback in interface VFSItemorg.olat.core.util.vfs.VFSItem#setSecurityCallback(org.olat.core.util.vfs.callbacks.VFSSecurityCallback)public VFSSecurityCallback getLocalSecurityCallback()
VFSItem
getLocalSecurityCallback in interface VFSItemVFSItem.getLocalSecurityCallback()public boolean isSame(VFSItem vfsItem)
VFSItem
isSame in interface VFSItemVFSItem.isSame(org.olat.core.util.vfs.VFSItem)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||