|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.qbe.utility.Utils
public class Utils
The Class Utils.
Constructor Summary | |
---|---|
Utils()
|
Method Summary | |
---|---|
static java.lang.String |
asJavaClassIdentifier(java.lang.String identifier)
As java class identifier. |
static java.lang.String |
asJavaIdentifier(java.lang.String identifier)
As java identifier. |
static java.lang.String |
asJavaPropertyIdentifier(java.lang.String identifier)
As java property identifier. |
static java.lang.String |
capitalize(java.lang.String value)
Capitalize. |
static boolean |
deleteDir(java.io.File dir)
Delete dir. |
static CalculatedField |
getCalculatedField(java.lang.String cFieldId,
java.io.File formulaFile)
Estrae dal file formula.xml solo i campi calcolati relativi alle entita' che ho estratto nella query |
static IDataMartModelRetriever |
getDataMartModelRetriever()
Gets the data mart model retriever. |
static java.lang.String |
getOrderedFieldList(ISingleDataMartWizardObject wizObject)
Gets the ordered field list. |
static java.lang.String |
getSelectedEntitiesAsString(ISingleDataMartWizardObject aWizardObject)
Gets the selected entities as string. |
static java.util.List |
getViewJarFiles(IHibernateDataSource dataSource)
Gets the view jar files. |
static java.lang.String |
hashMD5(java.lang.String original)
Hash m d5. |
static boolean |
isUserAble(it.eng.spago.security.IEngUserProfile userProfile,
java.lang.String func)
Checks if is user able. |
static java.lang.String |
packageAsDir(java.lang.String packageName)
Package as dir. |
static java.lang.String |
unCapitalize(java.lang.String value)
Un capitalize. |
static void |
updateLastUpdateTimeStamp(it.eng.spago.base.RequestContainer reqContainer)
Update the QBE_LAST_UPDATE_TIMESTAMP in session container. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Utils()
Method Detail |
---|
public static IDataMartModelRetriever getDataMartModelRetriever() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic static java.util.List getViewJarFiles(IHibernateDataSource dataSource)
dataSource
- the data source
public static void updateLastUpdateTimeStamp(it.eng.spago.base.RequestContainer reqContainer)
reqContainer
- the req containerpublic static java.lang.String hashMD5(java.lang.String original) throws it.eng.spago.error.EMFInternalError
original
- the original
it.eng.spago.error.EMFInternalError
- the EMF internal errorpublic static boolean isUserAble(it.eng.spago.security.IEngUserProfile userProfile, java.lang.String func)
userProfile
- the user profilefunc
- the func
public static CalculatedField getCalculatedField(java.lang.String cFieldId, java.io.File formulaFile) throws java.lang.Exception
cFieldId
- the c field idformulaFile
- the formula file
java.lang.Exception
- the exceptionpublic static java.lang.String getOrderedFieldList(ISingleDataMartWizardObject wizObject)
wizObject
- the wiz object
public static java.lang.String getSelectedEntitiesAsString(ISingleDataMartWizardObject aWizardObject) throws java.lang.Exception
aWizardObject
- the a wizard object
java.lang.Exception
- the exceptionpublic static java.lang.String asJavaClassIdentifier(java.lang.String identifier)
identifier
- the identifier
public static java.lang.String asJavaPropertyIdentifier(java.lang.String identifier)
identifier
- the identifier
public static java.lang.String asJavaIdentifier(java.lang.String identifier)
identifier
- the identifier
public static java.lang.String capitalize(java.lang.String value)
value
- the value
public static java.lang.String unCapitalize(java.lang.String value)
value
- the value
public static java.lang.String packageAsDir(java.lang.String packageName)
packageName
- the package name
public static boolean deleteDir(java.io.File dir)
dir
- the dir
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |