CWebdav 0.1
API Documentation

org.esupportail.portal.channels.CWebdav.provider
Class DavControl

java.lang.Object
  extended byorg.esupportail.portal.channels.CWebdav.provider.DavControl

public class DavControl
extends java.lang.Object


Constructor Summary
DavControl()
           
 
Method Summary
static java.lang.String getCurentPath(java.util.Vector curentDir)
          Create the curentPath with the curentDir variable
static boolean isAllowDelNonEmptyFolder()
          Check if the user can delete a non-empty directory
static boolean isConfirmDel()
          Check if the user ask the confirm dialog window before deleting
static boolean isWellFormed(java.lang.String name)
          Check if the resource name is well formed accept all string that begining by _ a-z A-Z 0-9 àäâãéêèëîïìôöòõûüùçñÀÄÂÃÉÈËÊÌÏÎÒÖÔÕÙÜÛÇÑ deny string that begining by .
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DavControl

public DavControl()
Method Detail

isWellFormed

public static boolean isWellFormed(java.lang.String name)
Check if the resource name is well formed accept all string that begining by _ a-z A-Z 0-9 àäâãéêèëîïìôöòõûüùçñÀÄÂÃÉÈËÊÌÏÎÒÖÔÕÙÜÛÇÑ deny string that begining by . after all characters a-z A-Z 0-9 àäâãéêèëîïìôöòõûüùçñÀÄÂÃÉÈËÊÌÏÎÒÖÔÕÙÜÛÇÑ . _ - are accept, others are denied

Parameters:
name - name of the file/directory to verify
Returns:
true if file/directory is well formed else false

isConfirmDel

public static boolean isConfirmDel()
                            throws PropertiesException
Check if the user ask the confirm dialog window before deleting

Returns:
boolean true if confirmation delete interface is required
Throws:
PropertiesException

isAllowDelNonEmptyFolder

public static boolean isAllowDelNonEmptyFolder()
                                        throws PropertiesException
Check if the user can delete a non-empty directory

Returns:
boolean true if delete none empty folder is authorized
Throws:
PropertiesException

getCurentPath

public static java.lang.String getCurentPath(java.util.Vector curentDir)
Create the curentPath with the curentDir variable

Parameters:
curentDir - the value of the curentDir
Returns:
the path in a String form

CWebdav 0.1
API Documentation