com.ibm.di.connector.dominoUsers
Class DominoUtils

java.lang.Object
  extended by com.ibm.di.connector.dominoUsers.DominoUtils

public class DominoUtils
extends Object


Field Summary
static String GROUP_SEARCH_FILTER
           
static String ITEM_NAME_FORM
           
static String ITEM_NAME_GROUP_MEMBERS
           
static String ITEM_NAME_GROUP_NAME
           
static String ITEM_VALUE_PERSON
           
static String VIEW_NAME_DENY_GROUPS
           
 
Constructor Summary
DominoUtils()
           
 
Method Summary
static String buildNotesFormulaElement(SearchCriteria.rscSearch criteria)
           
static SearchCriteria cloneSearchCriteria(SearchCriteria aSearch)
           
static boolean denyGroupExist(lotus.domino.Database aDatabase, String aDenyGroupName)
           
static String getNotesFormula(SearchCriteria aSearch)
           
static String getUserAbbreviatedName(lotus.domino.Session aSession, String aUserName)
           
static String getUserCanonicalName(lotus.domino.Session aSession, String aUserName)
           
static boolean groupExist(lotus.domino.Database aDatabase, String aGroupName)
           
static boolean isDenyGroupMember(lotus.domino.Database aDatabase, String aUserName)
           
static boolean isDenyGroupMember(lotus.domino.Database aDatabase, String aUserName, String aDenyGroupName)
           
static boolean isDenyGroupMember(lotus.domino.Document aDenyGroupDoc, String aUserName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VIEW_NAME_DENY_GROUPS

public static final String VIEW_NAME_DENY_GROUPS
See Also:
Constant Field Values

ITEM_NAME_GROUP_NAME

public static final String ITEM_NAME_GROUP_NAME
See Also:
Constant Field Values

ITEM_NAME_GROUP_MEMBERS

public static final String ITEM_NAME_GROUP_MEMBERS
See Also:
Constant Field Values

ITEM_NAME_FORM

public static final String ITEM_NAME_FORM
See Also:
Constant Field Values

ITEM_VALUE_PERSON

public static final String ITEM_VALUE_PERSON
See Also:
Constant Field Values

GROUP_SEARCH_FILTER

public static final String GROUP_SEARCH_FILTER
See Also:
Constant Field Values
Constructor Detail

DominoUtils

public DominoUtils()
Method Detail

groupExist

public static boolean groupExist(lotus.domino.Database aDatabase,
                                 String aGroupName)
                          throws lotus.domino.NotesException
Throws:
lotus.domino.NotesException

denyGroupExist

public static boolean denyGroupExist(lotus.domino.Database aDatabase,
                                     String aDenyGroupName)
                              throws lotus.domino.NotesException
Throws:
lotus.domino.NotesException

isDenyGroupMember

public static boolean isDenyGroupMember(lotus.domino.Document aDenyGroupDoc,
                                        String aUserName)
                                 throws Exception
Throws:
Exception

isDenyGroupMember

public static boolean isDenyGroupMember(lotus.domino.Database aDatabase,
                                        String aUserName)
                                 throws Exception
Throws:
Exception

isDenyGroupMember

public static boolean isDenyGroupMember(lotus.domino.Database aDatabase,
                                        String aUserName,
                                        String aDenyGroupName)
                                 throws Exception
Throws:
Exception

getUserCanonicalName

public static String getUserCanonicalName(lotus.domino.Session aSession,
                                          String aUserName)
                                   throws lotus.domino.NotesException
Throws:
lotus.domino.NotesException

getUserAbbreviatedName

public static String getUserAbbreviatedName(lotus.domino.Session aSession,
                                            String aUserName)
                                     throws lotus.domino.NotesException
Throws:
lotus.domino.NotesException

cloneSearchCriteria

public static SearchCriteria cloneSearchCriteria(SearchCriteria aSearch)

getNotesFormula

public static String getNotesFormula(SearchCriteria aSearch)

buildNotesFormulaElement

public static String buildNotesFormulaElement(SearchCriteria.rscSearch criteria)