Uses of Class
com.jedox.palojlib.exceptions.PaloException
Packages that use PaloException
Package
Description
-
Uses of PaloException in com.jedox.palojlib.http
Methods in com.jedox.palojlib.http that throw PaloExceptionModifier and TypeMethodDescriptionHttpHandler.checkLicense(String required, String optional) voidHttpHandler.resetSessionId(boolean stop) final String[][]final String[][]HttpHandler.send(StringBuilder req) voidHttpHandler.setSessionId()final voidHttpHandler.setSessionId(String sessionId) set the session id by a given session -
Uses of PaloException in com.jedox.palojlib.interfaces
Methods in com.jedox.palojlib.interfaces that throw PaloExceptionModifier and TypeMethodDescriptiondefault voidICube.activateGpu(boolean activate) activate and deactivate GPU acceleration for the cubevoidICube.activateRules(IRule[] rules) activate a set of rules, the rules will be changed depending on their identifiers.IDimension.addAttribute(String name, IElement.ElementType type) Create one attribute, this method does not invalidate the cache.voidIDimension.addAttributeConsolidation(IAttribute attribute, IAttribute child) add a child for this attributevoidIDimension.addAttributes(String[] names, IElement.ElementType[] types) Create new attributes in this dimensionvoidIDimension.addAttributeValues(IAttribute attribute, IElement[] elements, Object[] values) Writes the attribute values for these elementsIDimension.addBaseElement(String name, IElement.ElementType type) Create one element, this method does not invalidate the cache.voidIDimension.addConsolidations(IConsolidation[] consolidations) add the consolidations for the elements mentioned as parents in the consolidations set, the children will be added to the existing children list.IDatabase.addCube(String name, IDimension[] dimensions) Create a new cube with type normalIDatabase.addCube(String name, IDimension[] dimensions, ICube.CubeType type) Create a new cube with type normaldefault ICubeIDatabase.addCube(String name, IDimension[] dimensions, ICube.CubeType type, ICube basesCube) Create a new cube with type normalIConnection.addDatabase(String name) create a new databaseIConnection.addDatabase(String name, IDatabase.DatabaseType type) create a new databaseIConnection.addDatabase(String name, IDatabase.DatabaseType type, String backupPath) create a new databaseIConnection.addDatabase(String name, String backupPath) create a new databaseIDatabase.addDimension(String name) Create a new dimension with type normalIDatabase.addDimension(String name, IDimension.DimensionType type) Create a new dimensiondefault IDimensionIDatabase.addDimension(String name, IDimension.DimensionType type, boolean generateDefaultSubsets) Create a new dimensionvoidIDimension.addElements(String[] names, IElement.ElementType[] types) Create a list of elementsdefault IHolddefault voidDeprecated.default voidICube.addRule(String definition, boolean activate, String externalIdentifier, String comment, boolean useIdentifier, double position, String source) add a rule to cube.voidIDimension.appendElements(IElement[] elements) Add new elements with the given type or simply change type of existing elementsdefault voidDeprecated.This method is deprecated, useIDatabase.backup(String, boolean, boolean, boolean, boolean, String)instead.voidIDatabase.backup(String backupPath, boolean show_system, boolean include_archive, boolean show_audit, boolean include_csv, String password) backup the database to disk.default booleanICube.canStoreZero()check if the cube can store zero values (introduced in 6.5)voidICube.clear()clears completely the data in the cubevoidICube.clearCells(IElement[][] area) empty cells in an area within a cubedefault voidIConnection.close()Deprecated.voidIConnection.close(boolean stop) close the connection.voidICube.commitLock(int lockId) commit/free a lock in the cubedefault voidICube.convert(ICube.CubeType type) Deprecated.This method is deprecated, useICube.activateGpu(boolean)instead.default voidICube.copyCell(IElement[] fromPath, IElement[] toPath, IElement[][] lockedPaths, boolean useRules, boolean wait) default voidICube.copyLikeCell(IElement[] fromPath, IElement[] toPath, IElement[][] lockedPaths, Double likeValue, boolean useRules, boolean wait) voidICube.deactivateRules(IRule[] rules) deactivate a set of rules, the rules will be changed depending on their identifiers.default IElement[]IDimension.evaluateGlobalSubset(String name, IVariable[] subsetVariables) evaluate the given subset with the set of variablesIDimension.getAttributeByName(String name) Get an attribute using its namedefault IAttributeIDimension.getAttributeByName(String name, String language) IDimension.getAttributes()Get a list of attributes for this dimensionIDimension.getAttributesMap()Deprecated.This method is deprecated and will be removed.IElement.getAttributeValue(String attributeName) Get the value of the attribute for this elementdefault ObjectIElement.getAttributeValue(String attributeName, String language) IElement.getAttributeValues()IElement[]IDimension.getBasesElements(boolean withAttributes) Get the list of the bases elements in the dimensiondefault longICube.getCBToken()get current Palo_CB Tokendefault longICube.getCCToken()get current Palo_CC Tokenget the value of a single cell typically using cell/valueICell[]get the values of multiple cells typically using cell/valuesICube.getCellsExporter(IElement[][] area, ICellExportContext context) Get an exporter to use later to export cells from an olap cubeintIElement.getChildCount()Get the number of children for this elementIElement[]IElement.getChildren()Get the children of the elementIDimension.getChildrenMap()Deprecated.This method is deprecated and will be removed.IConnectionManager.getConnection(IConnectionConfiguration config) get a connection to a serverIDatabase.getCubeByName(String name) Get a certain cube by it is name, return null if does not exist.ICube[]IDatabase.getCubes()Get the list of the cubes in the database including all types of cubes: normal,attribute,system, userinfo and gpu.ICube[]IDatabase.getCubes(IDimension dim) Get the list of the cubes which include the given dimension.IConnection.getDatabaseByName(String name) get database using its nameIConnection.getDatabases()get a list of the databases on this server.ICube.getDimensionByName(String name) Get a specific dimension in this cubeIDatabase.getDimensionByName(String name) Get a certain dimension by it is name, return null if does not exist.default intICube.getDimensionIndexByName(String name) Get a specific dimension index in this cubeIDimension.getDimensionInfo()Get the dimension info objectIDimensionInfoICube.getDimensions()Get the list of dimensions in this cube.default IDimension[]ICube.getDimensions(boolean withVirtualDimensions) Get the list of dimensions in this cube.IDatabase.getDimensions()Get the list of the dimensions in the database including all types of dimensionsIDimension.getElementByName(String name, boolean withAttributes) Get an element using its nameIElement[]IDimension.getElements(boolean withAttributes) Get the list of elements in the dimensionIElement[]IDimension.getElementsByName(String[] name, boolean withAttributes) Get an array of elements using their names, an exception will be thrown if at least one of them does not existdefault String[]IDimension.getGlobalSubsets()get the list of global subsetsdefault String[]IDimension.getGlobalSubsetVariables(String name) get the list of variables for the given global subsetdefault IHold[]ICube.getHolds()IDatabase.getLanguageByName(String language) Element[]IDatabase.getLanguages()ICube.getNumberOfCells()Get the number of cells, filled and empty ones.ICube.getNumberOfEmptyCells()Number of cells storing empty values (introduced in 6.5)ICube.getNumberOfFilledCells()Get the number of filled cells in the cube.ICube.getNumberOfZeroCells()Number of cells storing zero values (introduced in 6.5)intIElement.getParentCount()Get the number of parents for this elementIElement[]IElement.getParents()Get the parents of the elementICell.getPathNameAt(int index) get the name of the element building this cell path at a certain positionString[]ICell.getPathNames()get the names of the elements building this cell pathIElement[]IDimension.getRootElements(boolean withAttributes) Get the list of the root elements in the dimensiondefault IRule[]ICube.getRules()get the list of the rules for this cubedefault IElementIDimension.getSingleElement(String elementName, boolean withAttributes) Get the a single element in the dimension, the dimension elements will not be read in this casedefault IElementIDimension.getSingleElement(String elementName, boolean withAttributes, boolean withPermission) IElement.getSubTree()Deprecated.This method is deprecated and will be removed.IElement.getSubTreeAttributes()Deprecated.This method is deprecated and will be removed.IConnection.getSvsInfo()get the info of supervision serverSvsInfoICube.getType()Get the cube typeICube.CubeTypeIConnection.getUserInfo(boolean withPermission) get User info of the logged user.doubleGet the weight of this element under this parent elementIDimension.getWeightsMap()Deprecated.This method is deprecated and will be removed.Boolean[]check for multiple cell paths if there is a non-empty cellbooleanICellsExporter.hasNext()check whether there is still cells to be readdefault voidICube.loadCell(IElement[] path, Object value, ICellLoadContext context, IElement[][] lockedPaths) voidICube.loadCells(IElement[][] paths, Object[] values, ICellLoadContext context, IElement[][] lockedPaths) Write cells back in palo server.intlock only an area in the cube, reading is still possible.intICube.lockComplete()lock the data in the cube, no reading is possible.voidIElement.move(int position) move an element to a new positionvoidIDimension.moveElements(IElement[] elements, Integer[] positions) move a list of elements to new positionsICellsExporter.next()get the next cell in the exported cells listIConnection.open()open the connection.default Stringparse a definition of the ruledefault voidICube.predictCell(IElement[][] fromArea, IElement[] toPath, IElement[][] lockedPaths, boolean useRules, boolean wait) voidIDimension.removeAttributeConsolidations(IAttribute attribute) remove the consolidations for this attribute i.e.voidIDimension.removeAttributes(IAttribute[] attributes) Removes the attributesvoidIDimension.removeAttributeValues(IAttribute attribute, IElement[] elements) Removes the attribute values for these elements in this dimension, for the given language in the attribute.voidIDimension.removeConsolidations(IElement[] elements) remove the consolidations for these elements i.e.voidIDatabase.removeCube(ICube cube) remove a certain cube, the cube will be moved depending on its id.voidIConnection.removeDatabase(IDatabase database) delete a databasevoidIDatabase.removeDimension(IDimension dimension) remove a certain dimension, the dimension will be moved depending on its id.voidIDimension.removeElements(IElement[] elements) removes the elementsdefault voidICube.removeHolds()default voidICube.removeHolds(IHold[] holds) voidICube.removeRules()remove all rules.voidICube.removeRules(IRule[] rules) remove a set of rules, the rules will be removed depending on their identifiers.voidrename an Attributevoidrename a cubevoidrename a database.voidrename a dimensionvoidrename an elementdefault voidIConnection.save()Deprecated.voidIConnection.save(boolean complete) saves the server data, i.default voidICube.save()Deprecated.This method is deprecated, useIDatabase.save()instead.voidIDatabase.save()save the database to diskdefault voidIDatabase.save(boolean complete) Deprecated.This method is deprecated, useIDatabase.save()instead.voidIDimension.updateConsolidations(IConsolidation[] consolidations) update the consolidation for the elements mentioned as parents in the consolidations set.voidIDimension.updateElementsType(IElement[] elements, IElement.ElementType type) update the types of the elements, only ElementTypes type string and numeric can be usedIElement.ElementType.default voidICube.updateRule(int id, String definition, boolean activate, String externalIdentifier, String comment) Deprecated.This method is deprecated, useICube.updateRule(int, String, boolean, String, String, boolean, double, String)instead.default voidICube.updateRule(int id, String definition, boolean activate, String externalIdentifier, String comment, boolean useIdentifier, double position, String source) update an existing rule -
Uses of PaloException in com.jedox.palojlib.main
Methods in com.jedox.palojlib.main that throw PaloExceptionModifier and TypeMethodDescriptionvoidCube.activateGpu(boolean activate) voidCube.activateRules(IRule[] rules) voidDimensionHandler.activateVirtualDimension(int databaseId, int id, IAttribute attribute, boolean activate) Dimension.addAttribute(String name, IElement.ElementType type) voidDimension.addAttributeConsolidation(IAttribute parent, IAttribute child) voidDimension.addAttributes(String[] names, IElement.ElementType[] types) voidDimension.addAttributeValues(IAttribute attribute, IElement[] elements, Object[] values) voidDimensionHandler.addAttributeValues(Database database, int attributeCubeId, int attributeDimId, int id, Element language, IElement[] elements, Object[] values) Dimension.addBaseElement(String name, IElement.ElementType type) DimensionHandler.addBaseElement(Database database, int id, String name, IElement.ElementType elementType) voidDimension.addConsolidations(IConsolidation[] consolidations) Database.addCube(String name, IDimension[] dimensions) Database.addCube(String name, IDimension[] dimensions, ICube.CubeType type) Database.addCube(String name, IDimension[] dimensions, ICube.CubeType type, ICube basesCube) protected voidDatabaseHandler.addCube(Database database, String name, int[] dimensionIds, ICube.CubeType type, int basesCubeId) Connection.addDatabase(String name) Connection.addDatabase(String name, IDatabase.DatabaseType type) Connection.addDatabase(String name, IDatabase.DatabaseType type, String backupPath) Connection.addDatabase(String name, String backupPath) protected voidConnectionHandler.addDatabase(String name, IDatabase.DatabaseType type, String backupPath) Database.addDimension(String name) Database.addDimension(String name, IDimension.DimensionType type) Database.addDimension(String name, IDimension.DimensionType type, boolean generateDefaultSubsets) protected voidDatabaseHandler.addDimension(Database database, String name, IDimension.DimensionType type, boolean generateDefaultSubsets) voidDimension.addElements(String[] names, IElement.ElementType[] types) voidDimensionHandler.addElements(int databaseId, int id, IElement[] elements) voidDimensionHandler.addElements(int databaseId, int id, String[] names, IElement.ElementType[] types) voidCube.addRule(String definition, boolean activate, String externalIdentifier, String comment, boolean useIdentifier, double position, String source) voidCubeHandler.addRule(Database database, Cube cube, String definition, boolean activate, String externalIdentifier, String comment, boolean useIdentifier, double position, String source) voidDimension.appendElements(IElement[] elements) voidDatabase.backup(String backupPath, boolean show_system, boolean include_archive, boolean show_audit, boolean include_csv, String password) voidDatabaseHandler.backup(int databaseId, String backupPath, boolean show_system, boolean include_archive, boolean show_audit, boolean include_csv, String password) protected voidDimension.buildCache(boolean withAttributes) booleanCube.canStoreZero()voidConnection.changePassword(String user, String password) voidConnectionHandler.changePassword(String user, String password) protected booleanDimension.checkCacheStatus(boolean withAttributes) ConnectionHandler.checkLicense(String required, String optional) voidCube.clear()protected voidvoidCube.clearCells(IElement[][] area) voidConnection.close(boolean stop) voidConnectionHandler.close(boolean stop) voidCube.commitLock(int lockId) voidCubeHandler.commitLock(Database database, int id, int lockId) voidCube.convert(ICube.CubeType cubetype) Deprecated.protected voidvoidCube.copyCell(IElement[] fromPath, IElement[] toPath, IElement[][] lockedPaths, boolean useRules, boolean wait) voidCubeHandler.copyCell(Database database, Cube cube, IElement[] fromPath, IElement[][] fromArea, IElement[] toPath, IElement[][] lockedPaths, Double likeValue, boolean useRules, boolean wait) voidCube.copyLikeCell(IElement[] fromPath, IElement[] toPath, IElement[][] lockedPaths, Double likeValue, boolean useRules, boolean wait) voidCube.deactivateRules(IRule[] rules) CellsExporter.extractCellsFromPath(StringBuilder request, String path) CubeHandler.extractCellsMap(int databaseId, int cubeId, ICube.CellsExportType type, int blockSize, boolean useRules, boolean onlyBases, boolean skipEmpty, IElement[][] area, IDimension[] cubeDims) protected AttributeDimension.getAttributeById(int id) Dimension.getAttributeByName(String name) Dimension.getAttributeByName(String name, String language) Dimension.getAttributes()Element.getAttributeValue(String attributeName) Element.getAttributeValue(String attributeName, String language) IElement[]Dimension.getBasesElements(boolean withAttributes) longCube.getCBToken()longCube.getCCToken()IElement[]Cube.getCellPath(String[] names) ICell[]Cell[]Cube.getCellsExporter(IElement[][] area, ICellExportContext context) intElement.getChildCount()Element[]Element.getChildren()ConnectionManager.getConnection(IConnectionConfiguration config) ConnectionManager.getConnection(SessionConfiguration sessionconfig, String suiteUser, String suitePassword) protected CubeDatabase.getCubeById(int id) Database.getCubeByName(String name) protected CubeInfoCubeHandler.getCubeInfo(int databaseId, int cubeId, boolean wait, boolean showZero, boolean showDataToken, boolean showVirtual) ICube[]Database.getCubes()ICube[]Database.getCubes(IDimension dim) protected LinkedHashMap<String,Cube> Connection.getDatabaseByName(String name) protected DatabaseInfoDatabaseHandler.getDatabaseInfo(int id) Database[]Connection.getDatabases()ConnectionHandler.getDatabases()Cube.getDimensionById(int dimId) protected DimensionDatabase.getDimensionById(int id) Cube.getDimensionByName(String name) Database.getDimensionByName(String name) int[]Cube.getDimensionIds()intCube.getDimensionIndexByName(String name) Cube.getDimensions()Cube.getDimensions(boolean withVirtualDimensions) Database.getDimensions()protected LinkedHashMap<String,Dimension> DatabaseHandler.getDimensions(Database database) protected ElementDimension.getElementById(int id) Dimension.getElementByName(String name, boolean withAttributes) IElement[]Dimension.getElements(boolean withAttributes) IElement[]Dimension.getElementsByName(String[] names, boolean withAttributes) IHold[]Cube.getHolds()protected IHold[]protected DimensionInfoDimensionHandler.getInfo(int databaseId, int dimensionId) protected StringElementHandler.getInfo(int databaseId, int dimensionId, int id) Database.getLanguageByName(String language) Element[]Database.getLanguages()Connection.getLicenseKey(String id) String[][]ConnectionHandler.getLicenses()Cube.getNumberOfCells()Cube.getNumberOfEmptyCells()Cube.getNumberOfFilledCells()Cube.getNumberOfZeroCells()intElement.getParentCount()Element[]Element.getParents()Cell.getPathNameAt(int index) String[]Cell.getPathNames()IElement[]Dimension.getRootElements(boolean withAttributes) IRule[]Cube.getRules()protected IRule[]protected DimensionInfoDimension.getServerDimensionInfo()ConnectionHandler.getServerInfo()protected intConnectionHandler.getServerToken()Dimension.getSingleElement(String elementName, boolean withAttributes, boolean withPermission) Connection.getSvsInfo()Cube.getType()Connection.getUserInfo(boolean withPermission) String[]DimensionHandler.getVirtualDimensionIds(int databaseId, int id) doubleBoolean[]Boolean[]booleanCellsExporter.hasNext()voidCube.loadCell(IElement[] path, Object value, ICellLoadContext context, IElement[][] lockedPaths) protected voidCubeHandler.loadCell(int databaseId, int id, IElement[] paths, Object value, boolean isAdd, ICube.SplashMode mode, boolean eventprocessor, IElement[][] lockedPaths) voidCube.loadCells(IElement[][] paths, Object[] values, ICellLoadContext context, IElement[][] lockedPaths) protected voidCubeHandler.loadCells(int databaseId, int id, IElement[][] paths, Object[] values, int blockSize, boolean isAdd, ICube.SplashMode mode, boolean eventprocessor, IElement[][] lockedPaths) intintintintCube.lockComplete()protected voidCubeHandler.modifyCube(Database database, int[] dimensionIds, int cubeId) voidElement.move(int position) voidDimension.moveElements(IElement[] elements, Integer[] positions) CellsExporter.next()ConnectionHandler.open()voidCube.predictCell(IElement[][] fromArea, IElement[] toPath, IElement[][] lockedPaths, boolean useRules, boolean wait) protected DimensionInfoDimension.refreshDimensionInfo()intDimension.removeAllConsolidations()voidDimension.removeAttributeConsolidations(IAttribute attribute) voidDimension.removeAttributes(IAttribute[] attributes) voidDimensionHandler.removeAttributes(int databaseId, int attributeDimensionId, int[] ids) voidDimension.removeAttributeValues(IAttribute attribute, IElement[] elements) protected voidDimensionHandler.removeAttributeValues(Database database, int attributeCubeId, int attributeDimId, int id, Element language, IElement[] elements) voidDimension.removeConsolidations(IElement[] elements) protected voidDimensionHandler.removeConsolidations(int databaseId, int dimensionId, IElement[] elements) voidDatabase.removeCube(ICube c) protected voidDatabaseHandler.removeCube(int databaseId, Cube c) voidConnection.removeDatabase(IDatabase db) protected booleanConnectionHandler.removeDatabase(int id) voidDatabase.removeDimension(IDimension d) protected voidDatabaseHandler.removeDimension(int databaseId, Dimension d) voidDimension.removeElements(IElement[] elements) voidDimensionHandler.removeElements(int databaseId, int dimensionId, int[] ids) voidCube.removeHolds()voidCube.removeHolds(IHold[] holds) voidCubeHandler.removeHolds(Database database, Cube cube, IHold[] holds) voidCube.removeRules()voidCube.removeRules(IRule[] rules) voidCubeHandler.removeRules(Database database, Cube cube, IRule[] rules) voidvoidvoidvoidvoidvoidvoidvoidprotected voidvoidConnection.save(boolean complete) protected voidConnectionHandler.save(boolean complete) voidCube.save()Deprecated.protected voidvoidDatabase.save()voidDatabaseHandler.save(int databaseId, boolean complete) protected voidDimensionHandler.setElementsWithAttributes(int id, Dimension dimension, Database database) voidDimension.updateConsolidations(IConsolidation[] consolidations) voidDimensionHandler.updateConsolidations(int databaseId, int id, IConsolidation[] consolidations) voidDimension.updateElementsType(IElement[] elements, IElement.ElementType type) voidCube.updateRule(int id, String definition, boolean activate, String externalIdentifier, String comment, boolean useIdentifier, double position, String source) voidCubeHandler.updateRule(Database database, Cube cube, int id, String definition, boolean activate, String externalIdentifier, String comment, boolean useIdentifier, double position, String source) Constructors in com.jedox.palojlib.main that throw PaloExceptionModifierConstructorDescriptionprotectedAttribute(Dimension dimension, int id, String name, IElement language, IElement.ElementType elementType) protectedCellsExporter(IElement[][] area, ICube.CellsExportType type, int blockSize, boolean useRules, boolean onlyBases, ICellExportContext.SkipMode skipMode, CubeHandler cubehandler, IDimension[] dimensions, int databaseId, int cubeId, int contextId) protectedCellsExporter(IElement[][] area, ICube.CellsExportType type, int blockSize, boolean useRules, boolean onlyBases, ICellExportContext.SkipMode skipMode, CubeHandler cubehandler, IDimension[] dimensions, String condition, int databaseId, int cubeId, int contextId) protectedConnection(IConnectionConfiguration connectionConfiguration) ConnectionHandler(ConnectionConfiguration connectionConfiguration) protectedprotectedCubeHandler(int contextId) protectedDatabase(int contextId, int id, String name, IDatabase.DatabaseType type, String dimensionsNumber, String cubesNumber, String status, String token) protectedDatabaseHandler(int contextId) protectedDimension(int contextId, int id, String name, Database database, IDimension.DimensionType type, String attributeDimensionId, String attributeCubeId, String maximumLevel, String maximumIndent, String maximumDepth, String token, String numberOfElements, String defaultRead, String defaultWrite, String defaultNA, String defaultTotal, String defaultParent) protectedDimensionHandler(int contextId) protectedElement(Dimension dimension, int id, String name, IElement.ElementType type, int position, int[] parentsIds, int[] childrenIds, double[] weights, HashMap<IAttribute, Object> attributesValues, int dimensionToken, String permission, boolean hiddenFiltered) protectedElementHandler(int contextId) -
Uses of PaloException in com.jedox.palojlib.managers
Methods in com.jedox.palojlib.managers that throw PaloExceptionModifier and TypeMethodDescriptionHttpHandlerManager.getHttpHandler(int contextId) get existing httphandler for a certain context and attach the last current session to itHttpHandlerManager.initHttpHandler(ConnectionConfiguration config) initialize the httphandler that will be used for a certain ConnectionConfiguartion
ICube.addRule(String, boolean, String, String, boolean, double, String)instead.