|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.itim.adhocreport.util.Helper
Constructor Summary | |
Helper()
|
Method Summary | |
static boolean |
customClassToBeStaged(java.lang.String entity)
|
static boolean |
enforceACIs()
|
static java.util.Collection |
getAllowedAttributes()
Return the allowed attributes strings in lower case. |
static int |
getChangeNumber(java.sql.Connection connection)
This method returns the changeNumber of the last processed changelog entry. |
static java.lang.String |
getCrystalTemplateDir()
This method returns the directory where templates for cystal reports will be saved Assumption is that the directory sturcture \data\adhocreport\crystal is present |
static java.sql.Connection |
getDBConnection()
This method returns the ITIM database connection. |
static javax.naming.directory.DirContext |
getDirContext()
This method returns the ITIM directory server JNDI context. |
static java.util.HashMap |
getDomainAdmins(java.util.Collection containers)
|
static int |
getFinalChangeNumber(java.lang.String changelogBaseDN,
int startChangeNumber)
This method returns the changeNumber of the last changelog entry that will be processed. |
static java.lang.String |
getLogoDir()
This method returns the directory where logo file is saved Assumption is that the directory sturcture \data\adhocreport\logo is present |
static java.lang.String |
getStyleSheetDir(java.util.Locale locale)
This method returns the directory where stylesheets for adhoc reports are saved Assumption is that the directory sturcture \data\adhocreport\xsl is present |
static java.util.HashMap |
getSupervisors(java.util.Collection containers)
|
static java.lang.String |
getTemporaryCrystalTemplateDir()
This method returns the temporary directory where templates for cystal reports will be saved temporarily. |
static java.lang.String |
replaceString(java.lang.String aInput,
java.lang.String aOldPattern,
java.lang.String aNewPattern)
|
static void |
setChangeNumber(int changeNumber,
java.sql.Connection connection)
This method sets the changeNumber of the last processed changelog entry in the database (CHANGELOG table). |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Helper()
Method Detail |
public static int getChangeNumber(java.sql.Connection connection) throws java.lang.ClassNotFoundException, java.sql.SQLException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.io.IOException
java.lang.ClassNotFoundException
- java.sql.SQLException
- java.lang.InstantiationException
- java.lang.IllegalAccessException
- java.io.IOException
- public static void setChangeNumber(int changeNumber, java.sql.Connection connection) throws java.lang.ClassNotFoundException, java.sql.SQLException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.io.IOException
changeNumber
- java.lang.ClassNotFoundException
- java.sql.SQLException
- java.lang.InstantiationException
- java.lang.IllegalAccessException
- java.io.IOException
- public static java.sql.Connection getDBConnection() throws java.lang.ClassNotFoundException, java.lang.InstantiationException, java.sql.SQLException, java.lang.IllegalAccessException, java.io.IOException
java.lang.ClassNotFoundException
- java.lang.InstantiationException
- java.sql.SQLException
- java.lang.IllegalAccessException
- java.io.IOException
- public static int getFinalChangeNumber(java.lang.String changelogBaseDN, int startChangeNumber) throws javax.naming.NamingException, java.io.IOException
javax.naming.NamingException
- java.io.IOException
- public static javax.naming.directory.DirContext getDirContext() throws javax.naming.NamingException, java.io.IOException
javax.naming.NamingException
- java.io.IOException
- public static java.lang.String getCrystalTemplateDir() throws javax.naming.NamingException, java.io.IOException
javax.naming.NamingException
- java.io.IOException
- public static java.lang.String getTemporaryCrystalTemplateDir() throws javax.naming.NamingException, java.io.IOException
javax.naming.NamingException
- java.io.IOException
- public static java.lang.String getStyleSheetDir(java.util.Locale locale) throws javax.naming.NamingException, java.io.IOException
javax.naming.NamingException
- java.io.IOException
- public static java.lang.String getLogoDir() throws javax.naming.NamingException, java.io.IOException
javax.naming.NamingException
- java.io.IOException
- public static boolean enforceACIs()
public static boolean customClassToBeStaged(java.lang.String entity)
public static java.util.HashMap getSupervisors(java.util.Collection containers) throws ModelCommunicationException, ObjectNotFoundException, java.lang.InstantiationException, LdapException
public static java.util.HashMap getDomainAdmins(java.util.Collection containers) throws ModelCommunicationException, ObjectNotFoundException, java.lang.InstantiationException, LdapException
public static java.lang.String replaceString(java.lang.String aInput, java.lang.String aOldPattern, java.lang.String aNewPattern)
public static java.util.Collection getAllowedAttributes()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |