|
|||||||||
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 |
DesktopActionTable |
getDesktopActions()
Return the desktop actions table |
java.lang.String |
getFilesystemType()
Return the filesystem type, either FileSystem.TypeFAT or FileSystem.TypeNTFS. |
protected GlobalDesktopActionConfigBean |
getGlobalDesktopActionConfig()
|
org.alfresco.jlan.server.locking.LockManager |
getLockManager()
|
org.alfresco.jlan.server.locking.OpLockManager |
getOpLockManager()
Return the oplock manager, if enabled |
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 |
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)
|
void |
setLockManager(org.alfresco.jlan.server.locking.LockManager lockManager)
|
void |
setOpLockManager(org.alfresco.jlan.server.locking.OpLockManager opLockManager)
|
void |
setSysAdminParams(SysAdminParams sysAdminParams)
|
void |
setURLFileName(java.lang.String urlFileName)
Set the URL pseudo file name |
void |
startFilesystem(org.alfresco.jlan.server.filesys.DiskSharedDevice share)
Start the filesystem |
Methods inherited from class org.alfresco.jlan.server.filesys.DiskDeviceContext |
---|
addNotifyRequest, CloseContext, enableChangeHandler, getChangeHandler, getDeviceAttributes, getDiskInformation, getFilesystemAttributes, getQuotaManager, getStateCache, getVolumeInformation, hasChangeHandler, hasDiskInformation, hasFileServerNotifications, hasQuotaManager, hasStateCache, hasVolumeInformation, isCaseless, removeNotifyRequest, requiresStateCache, setDeviceAttributes, setDiskInformation, setFileServerNotifications, setFilesystemAttributes, setQuotaManager, setRequiresStateCache, setStateCache, setVolumeInformation |
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.DiskDeviceContext
public final boolean hasPseudoFileInterface()
public final org.alfresco.jlan.server.filesys.pseudo.PseudoFileInterface getPseudoFileInterface()
public final boolean hasDesktopActions()
public final DesktopActionTable getDesktopActions()
public final int numberOfDesktopActions()
public final boolean addDesktopAction(DesktopAction action)
action
- DesktopAction
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
- Stringpublic 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()
public final void setDebug(java.lang.String flagsStr)
dbg
- intpublic final boolean hasDebug(int flg)
flg
- int
public void startFilesystem(org.alfresco.jlan.server.filesys.DiskSharedDevice share) throws org.alfresco.jlan.server.core.DeviceContextException
startFilesystem
in class org.alfresco.jlan.server.filesys.DiskDeviceContext
share
- DiskSharedDevice
org.alfresco.jlan.server.core.DeviceContextException
public void setLockManager(org.alfresco.jlan.server.locking.LockManager lockManager)
public org.alfresco.jlan.server.locking.LockManager getLockManager()
getLockManager
in class org.alfresco.jlan.server.filesys.DiskDeviceContext
public org.alfresco.jlan.server.locking.OpLockManager getOpLockManager()
getOpLockManager
in class org.alfresco.jlan.server.filesys.DiskDeviceContext
public void setOpLockManager(org.alfresco.jlan.server.locking.OpLockManager opLockManager)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |