Uses of Class
uk.org.ogsadai.common.exception.common.CommonSystemException

Packages that use CommonSystemException
uk.org.ogsadai.activity.files   
uk.org.ogsadai.activity.transform   
uk.org.ogsadai.activity.xmldb   
uk.org.ogsadai.activity.xmldb.commands   
uk.org.ogsadai.client.toolkit.activity.xmldb   
uk.org.ogsadai.common   
uk.org.ogsadai.common.rolemap   
 

Uses of CommonSystemException in uk.org.ogsadai.activity.files
 

Methods in uk.org.ogsadai.activity.files that throw CommonSystemException
static java.lang.String FileWritingActivity.getFileContents(java.io.RandomAccessFile raFile)
          Obtains the entire content of a file and returns it as a single string.
 

Uses of CommonSystemException in uk.org.ogsadai.activity.transform
 

Methods in uk.org.ogsadai.activity.transform that throw CommonSystemException
protected  java.lang.Object BlockAggregatorActivity.processBlocks(java.lang.String string)
          Aggregates Strings
 

Uses of CommonSystemException in uk.org.ogsadai.activity.xmldb
 

Methods in uk.org.ogsadai.activity.xmldb that throw CommonSystemException
 boolean XMLResourceSetBlockMaker.hasNext()
           
 java.lang.Object XMLResourceSetBlockMaker.next()
          Returns the next String block containing part of the XML representation of the ResourceSet.
static void XMLDBUtilities.addResource(org.xmldb.api.base.Collection collection, java.lang.String resourceName, java.lang.String resourcePath)
          Adds a named resource to the specified parent collection.
static void XMLDBUtilities.createCollection(java.lang.String url)
          Creates the collection at the specified URL.
static void XMLDBUtilities.addResource(java.lang.String url, java.io.File file)
          Adds the new resource at the specified location to the specified collection.
static void XMLDBUtilities.removeCollection(java.lang.String url)
          Removes the collection at the specified URL.
static void XMLDBUtilities.loadDriver(java.lang.String driver)
           
static java.lang.String ElementParser.parseElementValue(org.w3c.dom.Element element, boolean nonEmpty)
          Parses the specified element and returns its value.
static java.lang.String ElementParser.parseChildElementValue(org.w3c.dom.Element parent, java.lang.String childName, boolean required, boolean nonEmpty)
          Parses the value of a child element of the specified parent.
static java.lang.String ElementParser.getChildText(org.w3c.dom.Element parent, java.lang.String childName)
          Gets the concatenated text children, trimmed of surrounding whitespace, of the named child element of the specified parent.
static java.lang.String ElementParser.getChildText(org.w3c.dom.Node parent)
          Gets a text representation of the children of the specified parent Node trimmed of any surrounding whitespace.
 

Constructors in uk.org.ogsadai.activity.xmldb that throw CommonSystemException
XMLResourceSetBlockMaker(org.xmldb.api.base.ResourceSet results)
          Constructs an instance for the specified ResourceSet.
 

Uses of CommonSystemException in uk.org.ogsadai.activity.xmldb.commands
 

Methods in uk.org.ogsadai.activity.xmldb.commands that throw CommonSystemException
 void CreateResourceCommand.execute(CommandContext context)
           
 Command PropertiesCommandFactory.createCommand(org.w3c.dom.Element element)
          Instantiates the Command that corresponds to the specified element.
 org.xmldb.api.base.Collection CommandContext.getCollection()
          Gets the open Collection that the command will be interact with.
 BlockReader CommandContext.getInput(java.lang.String inputName)
          Get the named input for the Command to interact with.
 BlockWriter CommandContext.getOutput()
          Gets the output for the command to write any results to.
 Command CommandFactory.createCommand(org.w3c.dom.Element element)
          Creates a Command that corresponds to the specified Element.
 void ListCollectionsCommand.execute(CommandContext context)
           
 void RemoveCollectionCommand.execute(CommandContext context)
           
 void ListResourcesCommand.execute(CommandContext context)
           
 org.xmldb.api.base.Collection CommandContextImpl.getCollection()
           
 BlockReader CommandContextImpl.getInput(java.lang.String inputName)
           
 BlockWriter CommandContextImpl.getOutput()
           
 void RemoveResourceCommand.execute(CommandContext context)
           
 void Command.execute(CommandContext context)
          Executes this command using the specified context.
 void CreateCollectionCommand.execute(CommandContext context)
           
 

Uses of CommonSystemException in uk.org.ogsadai.client.toolkit.activity.xmldb
 

Methods in uk.org.ogsadai.client.toolkit.activity.xmldb that throw CommonSystemException
 java.lang.Object BlockMaker.next()
          Returns the next block to put onto the Activity output.
 boolean BlockMaker.hasNext()
          Returns true if this BlockMaker has more blocks to return, otherwise false.
 void XMLBulkLoad.setInputData(org.xmldb.api.base.ResourceSet resources)
          Sets the input data for the bulk load as a resource set.
 void XMLBulkLoad.setInputData(org.w3c.dom.Document document)
          Sets the input data for the bulk load.
 boolean XMLResourceSetBlockMaker.hasNext()
           
 java.lang.Object XMLResourceSetBlockMaker.next()
          Returns the next String block containing part of the XML representation of the ResourceSet.
 

Constructors in uk.org.ogsadai.client.toolkit.activity.xmldb that throw CommonSystemException
XMLResourceSetBlockMaker(org.xmldb.api.base.ResourceSet results)
          Constructs an instance for the specified ResourceSet.
 

Uses of CommonSystemException in uk.org.ogsadai.common
 

Methods in uk.org.ogsadai.common that throw CommonSystemException
static Base64 Base64Provider.getBase64()
          Gets the Base64 implementation for the platform OGSA-DAI is running on.
 int Base64InputStream.available()
          Method available.
 int Base64InputStream.read(byte[] b)
          Method read.
static void MemoryUtilities.checkMemory(int numberOfBytesToAdd, org.apache.log4j.Logger logger)
          Checks that the allocation of an extra number of bytes within the JVM will not go over the threshold ratio set for this system.
static void MemoryUtilities.checkMemory(java.lang.String stringToCopy, org.apache.log4j.Logger logger)
          Checks that the copying of a String within the JVM will not go over the threshold memory ratio set for this system.
static void MemoryUtilities.checkMemory(java.lang.String stringToCopy, int messageNumber, org.apache.log4j.Logger logger)
          Checks that the copying of a String within the JVM will not go over the threshold memory ratio set for this system.
static void MemoryUtilities.checkMemory(int numberOfBytesToAdd, int messageNumber, org.apache.log4j.Logger logger)
          Checks that the allocation of an extra number of bytes within the JVM will not go over the threshold ratio set for this system.
 java.lang.String FileUtilities.readStringFromFile(java.lang.String fileName)
          Method readStringFromFile.
 byte[] FileUtilities.readByteArrayFromFile(java.lang.String fileName)
          Method readByteArrayFromFile.
 java.io.InputStream FileUtilities.openStreamFromFile(java.lang.String fileName)
          Method openStreamFromFile.
 void FileUtilities.closeStreamFromFile(java.lang.String fileName, java.io.InputStream fileDataStream)
          Method closeStreamFromFile.
 void FileUtilities.writeStringToFile(java.lang.String fileName, java.lang.String data)
          Method writeStringToFile.
 void FileUtilities.replaceWriteStringToFile(java.lang.String fileName, java.lang.String data)
          Method writeStringToFile.
 void FileUtilities.writeByteArrayToFile(java.lang.String fileName, byte[] data)
          Method writeByteArrayToFile.
 java.io.OutputStream FileUtilities.openStreamToFile(java.lang.String fileName)
          Method openStreamToFile.
 void FileUtilities.closeStreamToFile(java.lang.String fileName, java.io.OutputStream fileDataStream)
          Method closeStreamToFile.
 void FileUtilities.deleteFile(java.lang.String fileName)
          Method deleteFile.
 void FileUtilities.renameFile(java.lang.String fileName, java.lang.String newFileName)
          Method renameFile.
 java.lang.String Base64Reader.readAll()
          Reads and base-64 encodes the entire contents of the wrapped input stream.
 org.w3c.dom.Document SchemaMap.validate(org.w3c.dom.Document doc)
           
static void XMLSchemaUtilities.makeSchemaLocationsAbsolute(org.w3c.dom.Document doc, java.net.URL base)
          Converts the schemaLocation attributes of any import elements contained within the specified document to use absolute instead of relative paths.
static void XMLSchemaUtilities.makeSchemaLocationsAbsolute(org.w3c.dom.Document doc, java.lang.String base)
          Converts the schemaLocation attributes of any import elements contained within the specified document to use absolute instead of relative paths.
static void XMLSchemaUtilities.removeIncludes(org.w3c.dom.Document doc, java.lang.String schemaLocation)
          Removes all the include elements with the specified schemaLocation attribute from the specified document.
static void XMLSchemaUtilities.validate(org.w3c.dom.Document document, org.w3c.dom.Document schema)
          Validates an XML Document against a specified XML schema Document.
 void FileLock.doLocking(java.lang.String fileName, boolean lock, boolean read)
          Perform a locking or unlocking operation on a file.
 void FileLock.getReadLock(java.lang.String fileName)
          Block until a read lock is available on a file, and obtain it.
 void FileLock.returnReadLock(java.lang.String fileName)
          Relinquish a read lock on a file.
 void FileLock.getWriteLock(java.lang.String fileName)
          Block until a write lock is available on a file, and obtain it.
 void FileLock.returnWriteLock(java.lang.String fileName)
          Relinquish a write lock on a file.
static org.w3c.dom.Document XMLUtilities.xmlURLToDOM(java.net.URL url)
          Converts the XML contents of a file that is retrieved via a URL into a DOM Document object
static org.w3c.dom.Document XMLUtilities.xmlURLToDOM(java.net.URL url, boolean validate)
          Converts the XML contents of a file that is retrieved via a URL into a DOM Document object
static org.w3c.dom.Document XMLUtilities.xmlFileToDOM(java.lang.String fileName)
          Converts the XML contents of a file into a DOM Document object
static org.w3c.dom.Document XMLUtilities.xmlFileToDOM(java.lang.String fileName, boolean validate)
          Converts the XML contents of a file into a DOM Document object
static java.lang.String XMLUtilities.nodeToString(org.w3c.dom.Node node)
          Converts anything that implements Node into a String.
static java.lang.String XMLUtilities.xmlDOMToString(org.w3c.dom.Document doc)
          Converts a DOM Document object into a string
static java.lang.String XMLUtilities.xmlDOMToString(org.w3c.dom.DocumentFragment doc)
          Converts a DOM DocumentFragment object into a string
static java.lang.String XMLUtilities.xmlDOMToString(org.w3c.dom.Element element)
          Converts a DOM Element object into a string
static void XMLUtilities.xmlDOMToFile(org.w3c.dom.Document doc, java.lang.String fileName)
          Puts a DOM Document object into a new file
static java.io.Reader XMLUtilities.xmlDOMToStream(org.w3c.dom.Document doc)
          Returns a stream to the XML document This method is provided for completeness - it is preferable to use the xmlDOMToStream(Document doc, Writer stream) method as it includes no caching.
static void XMLUtilities.xmlDOMToStream(org.w3c.dom.Document doc, java.io.Writer stream)
          Writes the document to the stream
static void XMLUtilities.xmlDOMToStream(org.w3c.dom.DocumentFragment doc, java.io.Writer stream)
          Writes the document to the stream
static void XMLUtilities.xmlDOMToStream(org.w3c.dom.Element doc, java.io.Writer stream)
          Writes the document to the stream
static void XMLUtilities.xmlDOMToStream(org.w3c.dom.Document doc, java.io.OutputStream stream)
          Writes the document to the stream
static void XMLUtilities.xmlDOMToStream(org.w3c.dom.DocumentFragment doc, java.io.OutputStream stream)
          Writes the document to the stream
static void XMLUtilities.xmlDOMToStream(org.w3c.dom.Element doc, java.io.OutputStream stream)
          Writes the document to the stream
static java.lang.String XMLUtilities.removeComments(java.lang.String xml)
          Removes any XML comments from the specified XML string.
 

Constructors in uk.org.ogsadai.common that throw CommonSystemException
Base64InputStream(java.io.InputStream in)
          Method Base64InputStream.
Base64Reader(java.io.InputStream input)
          Constructs a Base64Reader that wraps the specified InputStream.
 

Uses of CommonSystemException in uk.org.ogsadai.common.rolemap
 

Methods in uk.org.ogsadai.common.rolemap that throw CommonSystemException
static java.lang.String Cryptography.scramble(java.lang.String password, byte[] plainText)
          Encrypts an array of bytes, using a given password, and returns the encrypted bytes as a Base-64 encoded string.
static java.lang.String Cryptography.scramble(java.lang.String password, java.lang.String plainText)
          Encrypts a string, using a given password, and returns the encrypted text as a Base-64 encoded string.
static java.lang.String Cryptography.unscramble(java.lang.String password, byte[] scrambled)
          Unencrypts an array of Base-64 encoded bytes, using a given password, and returns the unencrypted bytes as a string.
static java.lang.String Cryptography.unscramble(java.lang.String password, java.lang.String scrambled)
          Unencrypts a Base-64 encoded string, using a given password, and returns the unencrypted string.
static java.lang.String Cryptography.unscramble(java.lang.String scrambled)
          Unencrypts a Base-64 encoded string, using the value of the ogsadai.password system property as a password, and returns the unencrypted string.
 void RoleMapper.setConfiguration(java.lang.String configuration)
          Method setConfiguration.
 Role RoleMapper.map(java.lang.String credentials, java.lang.String database)
           
 void SimpleFileWithEncryptedPasswordsRoleMapper.setConfiguration(java.lang.String configuration)
           
 Role SimpleFileWithEncryptedPasswordsRoleMapper.map(java.lang.String credentials, java.lang.String database)
          Extract the relevant role object, and decrypt the password contained therein.
 void SimpleFileRoleMapper.setConfiguration(java.lang.String configuration)
           
 Role SimpleFileRoleMapper.map(java.lang.String credentials, java.lang.String database)