|
|||||||||
| 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
org.alfresco.filesys.avm.AVMContext
public class AVMContext
AVM Filesystem Context Class
Contains per filesystem context.
| Field Summary | |
|---|---|
static int |
ShowAuthorStores
|
static int |
ShowNormalStores
|
static int |
ShowPreviewStores
|
static int |
ShowSiteStores
|
static int |
ShowStagingStores
|
static int |
VERSION_HEAD
|
| Fields inherited from class org.alfresco.filesys.alfresco.AlfrescoContext |
|---|
DBG_FILE, DBG_FILEIO, DBG_INFO, DBG_LOCK, DBG_PSEUDO, DBG_RENAME, DBG_SEARCH, m_debug |
| Constructor Summary | |
|---|---|
AVMContext()
Default constructor allowing initialization by container. |
|
AVMContext(java.lang.String filesysName,
int showOptions,
AVMDiskDriver avmDriver)
Class constructor |
|
AVMContext(java.lang.String filesysName,
java.lang.String storePath,
int version)
Class constructor |
|
| Method Summary | |
|---|---|
boolean |
allowAdminStagingWrites()
Check if the admin user is allowed to write to web project staging stores |
void |
CloseContext()
Close the filesystem context |
protected IOControlHandler |
createIOHandler(org.alfresco.jlan.server.filesys.DiskInterface filesysDriver)
Create the I/O control handler for this filesystem type |
boolean |
getCreateStore()
|
java.lang.String |
getFilesystemType()
Return the filesystem type, either FileSystem.TypeFAT or FileSystem.TypeNTFS. |
protected org.alfresco.jlan.util.StringList |
getNewStoresQueue()
Return the new stores queue, and reset the current queue |
java.lang.String |
getStorePath()
Return the store path |
protected boolean |
hasNewStoresQueued()
Check if there are any new stores queued for adding to the virtualization view |
void |
initialize(AlfrescoDiskDriver filesysDriver)
Complete initialization by registering with a disk driver |
int |
isVersion()
Return the version |
boolean |
isVirtualizationView()
Check if the virtualization view is enabled |
void |
setAllowAdminStaginWrites(boolean writeable)
Set the admin web project staging store writeable status |
void |
setCreateStore(boolean createStore)
|
void |
setShowOptions(int showOptions)
|
void |
setStorePath(java.lang.String path)
|
void |
setStores(java.lang.String showAttr)
|
void |
setVersion(int version)
|
void |
setVirtualView(boolean isVirtualView)
|
boolean |
showAuthorStores()
Check if author stores should be shown in the virtualization view |
boolean |
showNormalStores()
Check if normal stores should be shown in the virtualization view |
boolean |
showPreviewStores()
Check if preview stores should be shown in the virtualization view |
boolean |
showSiteStores()
Check if site data stores should be shown in the virtualization view |
boolean |
showStagingStores()
Check if staging stores should be shown in the virtualization view |
boolean |
showStoreType(int storeType)
Check if the specified store type should be visible |
void |
storeCreated(java.lang.String storeName)
Create store call back handler |
void |
storePurged(java.lang.String storeName)
Purge store call back handler |
void |
versionCreated(java.lang.String storeName,
int versionID)
Create version call back handler |
void |
versionPurged(java.lang.String storeName,
int versionID)
Purge version call back handler |
| Methods inherited from class org.alfresco.filesys.alfresco.AlfrescoContext |
|---|
addDesktopAction, enabledPseudoFileInterface, getDesktopActions, getGlobalDesktopActionConfig, getIOHandler, getPseudoFileInterface, getSysAdminParams, getURLFileName, getURLPrefix, hasDebug, hasDesktopActions, hasIOHandler, hasPseudoFileInterface, hasURLFile, numberOfDesktopActions, setDebug, setDesktopActionList, setDesktopActions, setDisableChangeNotification, setGlobalDesktopActionConfig, setIOHandler, setSysAdminParams, setURLFileName |
| Methods inherited from class org.alfresco.jlan.server.filesys.DiskDeviceContext |
|---|
addNotifyRequest, 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 VERSION_HEAD
public static final int ShowNormalStores
public static final int ShowSiteStores
public static final int ShowStagingStores
public static final int ShowAuthorStores
public static final int ShowPreviewStores
| Constructor Detail |
|---|
public AVMContext()
public AVMContext(java.lang.String filesysName,
java.lang.String storePath,
int version)
Construct a context for a normal view onto a single store/version within AVM.
filesysName - StringstorePath - Stringversion - int
public AVMContext(java.lang.String filesysName,
int showOptions,
AVMDiskDriver avmDriver)
Construct a context for a virtualization view onto all stores/versions within AVM.
filesysName - StringshowOptions - intavmDriver - AVMDiskDriver| Method Detail |
|---|
public void setStorePath(java.lang.String path)
public void setVersion(int version)
public void setShowOptions(int showOptions)
public void setStores(java.lang.String showAttr)
public void setVirtualView(boolean isVirtualView)
public boolean getCreateStore()
public void setCreateStore(boolean createStore)
public void initialize(AlfrescoDiskDriver filesysDriver)
AlfrescoContext
initialize in class AlfrescoContextpublic java.lang.String getFilesystemType()
getFilesystemType in class AlfrescoContextpublic final java.lang.String getStorePath()
public final int isVersion()
public final boolean isVirtualizationView()
public final boolean allowAdminStagingWrites()
public final void setAllowAdminStaginWrites(boolean writeable)
writeable - booleanprotected final boolean hasNewStoresQueued()
protected org.alfresco.jlan.util.StringList getNewStoresQueue()
public final boolean showNormalStores()
public final boolean showSiteStores()
public final boolean showAuthorStores()
public final boolean showPreviewStores()
public final boolean showStagingStores()
public final boolean showStoreType(int storeType)
storeType - int
public void CloseContext()
CloseContext in class org.alfresco.jlan.server.filesys.DiskDeviceContextprotected IOControlHandler createIOHandler(org.alfresco.jlan.server.filesys.DiskInterface filesysDriver)
createIOHandler in class AlfrescoContextfilesysDriver - DiskInterface
public void storeCreated(java.lang.String storeName)
storeCreated in interface CreateStoreCallbackstoreName - StringversionID - intpublic void storePurged(java.lang.String storeName)
storePurged in interface PurgeStoreCallbackstoreName - String
public void versionCreated(java.lang.String storeName,
int versionID)
versionCreated in interface CreateVersionCallbackstoreName - StringversionID - int
public void versionPurged(java.lang.String storeName,
int versionID)
versionPurged in interface PurgeVersionCallbackstoreName - StringversionID - The id of the purged version.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||