ogre.dms.util
Class IDCheckUtil

java.lang.Object
  extended by ogre.dms.util.IDCheckUtil

public class IDCheckUtil
extends Object

Version:
$Id: IDCheckUtil.java,v 1.1.1.1.2.4.2.2 2007/12/06 08:42:34 jeffrey Exp $
Author:
Docpedia

Constructor Summary
IDCheckUtil()
           
 
Method Summary
static boolean isAFCompany(String id)
           
static boolean isAFDepartment(String id)
           
static boolean isAFDR(String id)
          to check if the userID is a DepartmentID, a RoleID or "company" ("COMXXX" included)
static boolean isAFMember(String userID)
          to check if the userID is a member record id of agentflow
static boolean isAFRole(String id)
           
static boolean isDMSGroup(String id)
          to check if the id is a group id of DMS
static boolean isDMSUser(String userID)
          to check if the userID is a user id of DmS
static boolean isExtCompany(String id)
           
static boolean isExtDMSGroup(String id)
           
static boolean isExtDMSUser(String userID)
          Check if the userID is in external user id format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IDCheckUtil

public IDCheckUtil()
Method Detail

isAFMember

public static boolean isAFMember(String userID)
to check if the userID is a member record id of agentflow


isAFDR

public static boolean isAFDR(String id)
to check if the userID is a DepartmentID, a RoleID or "company" ("COMXXX" included)


isAFDepartment

public static boolean isAFDepartment(String id)

isAFRole

public static boolean isAFRole(String id)

isAFCompany

public static boolean isAFCompany(String id)

isDMSUser

public static boolean isDMSUser(String userID)
to check if the userID is a user id of DmS


isDMSGroup

public static boolean isDMSGroup(String id)
to check if the id is a group id of DMS


isExtDMSUser

public static boolean isExtDMSUser(String userID)
Check if the userID is in external user id format. It will also return true while userID is 'Admin'.


isExtDMSGroup

public static boolean isExtDMSGroup(String id)

isExtCompany

public static boolean isExtCompany(String id)


Copyright(c) 2005-2012 by Flowring Technology Corp., 12 F., No 120, Sec 2, Gongdao 5th Rd., Hsin-Chu City 300, Taiwan(R.O.C.) All rights reserved.