public class AVMShareMapper extends Object implements ShareMapper, org.springframework.beans.factory.InitializingBean
Provides access to store versions using the share name '
| Constructor and Description |
|---|
AVMShareMapper()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
closeMapper()
Close the share mapper, release any resources.
|
void |
deleteShares(SrvSession sess)
Delete temporary shares for the specified session
|
SharedDevice |
findShare(String tohost,
String name,
int typ,
SrvSession sess,
boolean create)
Find a share using the name and type for the specified client.
|
SharedDeviceList |
getShareList(String host,
SrvSession sess,
boolean allShares)
Return the list of available shares.
|
boolean |
hasDebug()
Check if debug output is enabled
|
void |
initializeMapper(ServerConfiguration config,
org.springframework.extensions.config.ConfigElement params)
Initialize the share mapper
|
void |
setDebug(boolean debug) |
void |
setServerConfiguration(ServerConfiguration config) |
public void setServerConfiguration(ServerConfiguration config)
public void setDebug(boolean debug)
public void initializeMapper(ServerConfiguration config, org.springframework.extensions.config.ConfigElement params) throws InvalidConfigurationException
initializeMapper in interface ShareMapperconfig - ServerConfigurationparams - ConfigElementInvalidConfigurationExceptionpublic void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanpublic final boolean hasDebug()
public SharedDeviceList getShareList(String host, SrvSession sess, boolean allShares)
getShareList in interface ShareMapperhost - Stringsess - SrvSessionallShares - booleanpublic SharedDevice findShare(String tohost, String name, int typ, SrvSession sess, boolean create) throws Exception
findShare in interface ShareMapperhost - Stringname - Stringtyp - intsess - SrvSessioncreate - booleanInvalidUserExceptionExceptionpublic void deleteShares(SrvSession sess)
deleteShares in interface ShareMappersess - SrvSessionpublic void closeMapper()
closeMapper in interface ShareMapperCopyright © 2005–2014 Alfresco Software. All rights reserved.