base
Class Control

java.lang.Object
  extended by base.Control

public class Control
extends java.lang.Object


Constructor Summary
Control()
           
 
Method Summary
static boolean areValidAdministratorCredentials(java.lang.String nickname, java.lang.String password)
           
static boolean isValidBirthdayDate(java.util.Date birthday)
           
static boolean isValidCharacterOnlyString(java.lang.String string)
           
static boolean isValidDocumentDate(java.util.Date releaseDate, java.util.Date expirationDate)
           
static boolean isValidDocumentImage(java.lang.String imagePath)
           
static boolean isValidDocumentNumber(java.lang.String documentType, java.lang.String documentNumber)
           
static boolean isValidDoubleString(java.lang.String string)
           
static boolean isValidEMailAddress(java.lang.String email)
           
static boolean isValidIntegerOnlyString(java.lang.String string)
           
static boolean isValidIPAddress(java.lang.String address)
           
static boolean isValidServiceMinMaxDuration(int minDurationInMinutes, boolean careAboutMinDuration, int maxDurationInMinutes, boolean careAboutMaxDuration)
           
static boolean isValidSessionDate(java.util.Date startTime, java.util.Date endTime)
           
static boolean isValidUDPPort(int port)
           
static boolean isValidUserDocument(Document document)
           
static boolean isValidUserName(java.lang.String name)
           
static boolean isValidUserNickname(java.lang.String nickname)
           
static boolean isValidUserPassword(java.lang.String password)
           
static boolean isValidUserSurname(java.lang.String surname)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Control

public Control()
Method Detail

isValidUserName

public static boolean isValidUserName(java.lang.String name)

isValidUserSurname

public static boolean isValidUserSurname(java.lang.String surname)

isValidUserNickname

public static boolean isValidUserNickname(java.lang.String nickname)

isValidBirthdayDate

public static boolean isValidBirthdayDate(java.util.Date birthday)

isValidCharacterOnlyString

public static boolean isValidCharacterOnlyString(java.lang.String string)

isValidDoubleString

public static boolean isValidDoubleString(java.lang.String string)

isValidIntegerOnlyString

public static boolean isValidIntegerOnlyString(java.lang.String string)

isValidEMailAddress

public static boolean isValidEMailAddress(java.lang.String email)

isValidUDPPort

public static boolean isValidUDPPort(int port)

isValidDocumentDate

public static boolean isValidDocumentDate(java.util.Date releaseDate,
                                          java.util.Date expirationDate)

isValidSessionDate

public static boolean isValidSessionDate(java.util.Date startTime,
                                         java.util.Date endTime)

isValidIPAddress

public static boolean isValidIPAddress(java.lang.String address)

isValidUserPassword

public static boolean isValidUserPassword(java.lang.String password)

isValidUserDocument

public static boolean isValidUserDocument(Document document)

isValidDocumentImage

public static boolean isValidDocumentImage(java.lang.String imagePath)

isValidDocumentNumber

public static boolean isValidDocumentNumber(java.lang.String documentType,
                                            java.lang.String documentNumber)

isValidServiceMinMaxDuration

public static boolean isValidServiceMinMaxDuration(int minDurationInMinutes,
                                                   boolean careAboutMinDuration,
                                                   int maxDurationInMinutes,
                                                   boolean careAboutMaxDuration)

areValidAdministratorCredentials

public static boolean areValidAdministratorCredentials(java.lang.String nickname,
                                                       java.lang.String password)


Copyright © 2006 SF.net. All Rights Reserved.