|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.jlan.server.core.DeviceContext
org.alfresco.jlan.server.filesys.DiskDeviceContext
org.alfresco.filesys.alfresco.AlfrescoContext
public abstract class AlfrescoContext
Alfresco Filesystem Context Class
Contains per filesystem context.
| Field Summary | |
|---|---|
static int |
DBG_FILE
|
static int |
DBG_FILEIO
|
static int |
DBG_INFO
|
static int |
DBG_LOCK
|
static int |
DBG_PSEUDO
|
static int |
DBG_RENAME
|
static int |
DBG_SEARCH
|
int |
m_debug
|
| Constructor Summary | |
|---|---|
AlfrescoContext()
|
|
| Method Summary | |
|---|---|
boolean |
addDesktopAction(DesktopAction action)
Add a desktop action |
protected abstract IOControlHandler |
createIOHandler(org.alfresco.jlan.server.filesys.DiskInterface filesysDriver)
Create the I/O control handler for this filesystem type |
void |
enabledPseudoFileInterface()
Enable the pseudo file interface for this filesystem |
DesktopActionTable |
getDesktopActions()
Return the desktop actions table |
java.lang.String |
getFilesystemType()
Return the filesystem type, either FileSystem.TypeFAT or FileSystem.TypeNTFS. |
protected GlobalDesktopActionConfigBean |
getGlobalDesktopActionConfig()
|
IOControlHandler |
getIOHandler()
Return the custom I/O control handler |
org.alfresco.jlan.server.filesys.pseudo.PseudoFileInterface |
getPseudoFileInterface()
Return the pseudo file interface |
SysAdminParams |
getSysAdminParams()
|
java.lang.String |
getURLFileName()
Return the URL pseudo file name |
java.lang.String |
getURLPrefix()
Return the URL pseudo file path prefix |
boolean |
hasDebug(int flg)
Check if a debug flag is enabled |
boolean |
hasDesktopActions()
Determine if there are desktop actins configured |
boolean |
hasIOHandler()
Determine if custom I/O control handling is enabled for this filesystem |
boolean |
hasPseudoFileInterface()
Determine if the pseudo file interface is enabled |
boolean |
hasURLFile()
Determine if the URL pseudo file is enabled |
void |
initialize(AlfrescoDiskDriver filesysDriver)
Complete initialization by registering with a disk driver |
int |
numberOfDesktopActions()
Return the count of desktop actions |
void |
setDebug(java.lang.String flagsStr)
Set the debug flags, also requires the logger to be enabled for debug output |
void |
setDesktopActionList(java.util.List desktopActions)
Set the desktop actions |
void |
setDesktopActions(DesktopActionTable desktopActions,
org.alfresco.jlan.server.filesys.DiskInterface filesysDriver)
Set the desktop actions |
void |
setDisableChangeNotification(boolean disableChangeNotification)
|
void |
setGlobalDesktopActionConfig(GlobalDesktopActionConfigBean desktopActionConfig)
|
protected void |
setIOHandler(IOControlHandler ioctlHandler)
Set the I/O control handler |
void |
setSysAdminParams(SysAdminParams sysAdminParams)
|
void |
setURLFileName(java.lang.String urlFileName)
Set the URL pseudo file name |
| Methods inherited from class org.alfresco.jlan.server.filesys.DiskDeviceContext |
|---|
addNotifyRequest, CloseContext, enableChangeHandler, enableStateCache, getChangeHandler, getDeviceAttributes, getDiskInformation, getFilesystemAttributes, getQuotaManager, getStateCache, getVolumeInformation, hasChangeHandler, hasDiskInformation, hasFileServerNotifications, hasQuotaManager, hasStateCache, hasVolumeInformation, isCaseless, removeNotifyRequest, setDeviceAttributes, setDiskInformation, setFileServerNotifications, setFilesystemAttributes, setQuotaManager, setVolumeInformation, startFilesystem |
| Methods inherited from class org.alfresco.jlan.server.core.DeviceContext |
|---|
getConfigurationParameters, getDeviceName, getShareName, hasConfigurationParameters, isAvailable, setAvailable, setConfigurationParameters, setDeviceName, setShareName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int DBG_FILE
public static final int DBG_FILEIO
public static final int DBG_SEARCH
public static final int DBG_INFO
public static final int DBG_LOCK
public static final int DBG_PSEUDO
public static final int DBG_RENAME
public int m_debug
| Constructor Detail |
|---|
public AlfrescoContext()
| Method Detail |
|---|
public void setSysAdminParams(SysAdminParams sysAdminParams)
public SysAdminParams getSysAdminParams()
public void setDisableChangeNotification(boolean disableChangeNotification)
public void initialize(AlfrescoDiskDriver filesysDriver)
public java.lang.String getFilesystemType()
getFilesystemType in class org.alfresco.jlan.server.filesys.DiskDeviceContextpublic final boolean hasPseudoFileInterface()
public final org.alfresco.jlan.server.filesys.pseudo.PseudoFileInterface getPseudoFileInterface()
public final void enabledPseudoFileInterface()
public final boolean hasDesktopActions()
public final DesktopActionTable getDesktopActions()
public final int numberOfDesktopActions()
public final boolean addDesktopAction(DesktopAction action)
action - DesktopAction
public final boolean hasIOHandler()
public final IOControlHandler getIOHandler()
public final boolean hasURLFile()
public final java.lang.String getURLPrefix()
public final java.lang.String getURLFileName()
public final void setURLFileName(java.lang.String urlFileName)
urlFileName - String
public final void setDesktopActions(DesktopActionTable desktopActions,
org.alfresco.jlan.server.filesys.DiskInterface filesysDriver)
desktopActions - DesktopActionTablefilesysDriver - DiskInterfacepublic final void setDesktopActionList(java.util.List desktopActions)
desktopActions - DesktopAction Listpublic void setGlobalDesktopActionConfig(GlobalDesktopActionConfigBean desktopActionConfig)
protected GlobalDesktopActionConfigBean getGlobalDesktopActionConfig()
protected abstract IOControlHandler createIOHandler(org.alfresco.jlan.server.filesys.DiskInterface filesysDriver)
filesysDriver - DiskInterface
protected void setIOHandler(IOControlHandler ioctlHandler)
ioctlHandler - IOControlHandlerpublic final void setDebug(java.lang.String flagsStr)
dbg - intpublic final boolean hasDebug(int flg)
flg - int
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||