Uses of Class
org.mycore.common.MCRPersistenceException

Packages that use MCRPersistenceException
org.mycore.backend.hibernate   
org.mycore.backend.hibernate.tables   
org.mycore.backend.realhelix   
org.mycore.backend.sql   
org.mycore.backend.videocharger   
org.mycore.common   
org.mycore.datamodel.common   
org.mycore.datamodel.ifs   
org.mycore.datamodel.metadata   
 

Uses of MCRPersistenceException in org.mycore.backend.hibernate
 

Methods in org.mycore.backend.hibernate that throw MCRPersistenceException
 void MCRHIBXMLStore.create(String mcrid, byte[] xml, Date lastModified)
          The method create a new item in the datastore.
 void MCRHIBURNStore.create(String urn, String id)
          The method create a new item in the datastore.
 void MCRHIBURNStore.create(String urn, String id, String path, String filename)
          The method creates a new item in the datastore.
 void MCRHIBXMLStore.delete(String mcrid)
          The method remove a item for the MCRObjectID from the datastore.
 void MCRHIBURNStore.delete(String urn)
          The method remove a item for the URN from the datastore.
 void MCRHIBURNStore.deleteByObjectID(String objID)
          The method remove a item for the URN from the datastore.
 void MCRHIBFileMetadataStore.deleteNode(String ID)
           
 String MCRHIBURNStore.getDocumentIDforURN(String urn)
          Retrieves the URN that is assigned to the given document ID
 int MCRHIBXMLStore.getHighestStoredID()
          This method returns the highest stored ID number for a given MCRObjectID base, or 0 if no object is stored for this type and project.
 String MCRHIBURNStore.getURNforDocument(String id)
          Retrieves the URN that is assigned to the given document ID
 boolean MCRHIBURNStore.hasURNAssigned(String id)
          Checks wether an object has an urn assigned or not
 void MCRHIBXMLStore.init(String type)
          The initializer for the class MCRHIBXMLStore.
static MCRHIBConnection MCRHIBConnection.instance()
           
 InputStream MCRHIBXMLStore.retrieve(String mcrid)
          The method retrieve a dataset for the given MCRObjectID and returns the corresponding XML file as byte array.
 Vector<String> MCRHIBFileMetadataStore.retrieveChildrenIDs(String parentID)
           
 MCRFilesystemNode MCRHIBFileMetadataStore.retrieveNode(String ID)
           
 String MCRHIBFileMetadataStore.retrieveRootNodeID(String ownerID)
           
 void MCRHIBFileMetadataStore.storeNode(MCRFilesystemNode node)
           
 void MCRHIBXMLStore.update(String mcrid, byte[] xml, Date lastModified)
          The method update an item in the datastore.
 

Constructors in org.mycore.backend.hibernate that throw MCRPersistenceException
MCRHIBConnection()
          This method initializes the connection to the database
MCRHIBFileMetadataStore()
           
 

Uses of MCRPersistenceException in org.mycore.backend.hibernate.tables
 

Constructors in org.mycore.backend.hibernate.tables that throw MCRPersistenceException
MCRCATEG(String id, String clid, String pid, String url)
           
MCRCATEGLABEL(String id, String clid, String lang, String text, String mcrdesc)
           
MCRCLASS(String id)
           
 

Uses of MCRPersistenceException in org.mycore.backend.realhelix
 

Methods in org.mycore.backend.realhelix that throw MCRPersistenceException
 void MCRAVExtRealHelix.getPlayerStarterTo(OutputStream out, String startPos, String stopPos)
           
 void MCRAVExtRealHelix.init(MCRFileReader file)
           
 

Uses of MCRPersistenceException in org.mycore.backend.sql
 

Methods in org.mycore.backend.sql that throw MCRPersistenceException
(package private)  void MCRSQLConnection.close()
          Closes this connection to the underlying JDBC datastore.
(package private)  void MCRSQLConnection.closeJDBCConnection()
           
 int MCRSQLConnection.countRows(String condition)
          Executes an SQL "SELECT COUNT(*) FROM" statement on this connection, returning the number of rows that match the condition.
static boolean MCRSQLConnection.doesTableExist(String tablename)
          Checks existence of table
 MCRSQLRowReader MCRSQLConnection.doQuery(String query)
          Executes an SQL select statement on this connection.
 void MCRSQLConnection.doUpdate(String statement)
          Executes an SQL update statement on this connection.
 boolean MCRSQLConnection.exists(String condition)
          Checks if there are any matching rows for a given SQL condition by executing an SQL select statement on this connection.
 MCRSQLConnection MCRSQLConnectionPool.getConnection()
          Gets a free connection from the pool.
 GregorianCalendar MCRSQLRowReader.getDate(int index)
           
 GregorianCalendar MCRSQLRowReader.getDate(String columnName)
           
 int MCRSQLRowReader.getInt(int index)
          Returns the value of a column in the current result rowa as an int.
 int MCRSQLRowReader.getInt(String columnName)
          Returns the value of a column in the current result rowa as an int.
 long MCRSQLRowReader.getLong(int index)
           
 long MCRSQLRowReader.getLong(String columnName)
           
 String MCRSQLConnection.getSingleValue(String query)
          Executes an SQL select statement on this connection, where the expected result is just a single value of a row.
 String MCRSQLRowReader.getString(int index)
          Returns the value of a column in the current result row as a String, or null.
 String MCRSQLRowReader.getString(String columnName)
          Returns the value of a column in the current result row as a String, or null.
static MCRSQLConnectionPool MCRSQLConnectionPool.instance()
          Returns the connection pool singleton.
static boolean MCRSQLConnection.justCheckExists(String condition)
          Checks if there are any matching rows for a given SQL condition by executing an SQL select statement, using any currently free connection from the pool.
static int MCRSQLConnection.justCountRows(String condition)
          Executes an SQL "SELECT COUNT(*) FROM" statement, returning the number of rows that match the condition, using any currently free connection from the pool.
static void MCRSQLConnection.justDoUpdate(String statement)
          Executes an SQL update statement, using any currently free connection from the pool.
static String MCRSQLConnection.justGetSingleValue(String query)
          Executes an SQL select statement where the expected result is just a single value of a row, using any currently free connection from the pool.
 boolean MCRSQLRowReader.next()
          Points the cursor to the next result row, returning true if there is such a next row.
 

Constructors in org.mycore.backend.sql that throw MCRPersistenceException
MCRSQLConnection()
          Creates a new connection.
MCRSQLConnectionPool()
          Builds the connection pool singleton.
 

Uses of MCRPersistenceException in org.mycore.backend.videocharger
 

Methods in org.mycore.backend.videocharger that throw MCRPersistenceException
static void MCRCStoreVideoCharger.backupContentTo(String storeID, String directory)
          Reads all assets stored in VideoCharger server and writes the contents to a directory for backup.
protected  com.enterprisedt.net.ftp.FTPClient MCRCStoreVideoCharger.connect()
          Connects to IBM VideoCharger Server via FTP
 void MCRAVExtVideoCharger.getPlayerStarterTo(OutputStream out, String startPos, String stopPos)
           
 void MCRAVExtVideoCharger.init(MCRFileReader file)
           
 String[] MCRAVExtVideoCharger.listAssets()
          Lists all assets that are stored in this VideoCharger store.
 

Uses of MCRPersistenceException in org.mycore.common
 

Methods in org.mycore.common that throw MCRPersistenceException
static byte[] MCRUtils.getByteArray(Document jdom)
          This method convert a JDOM tree to a byte array.
 

Uses of MCRPersistenceException in org.mycore.datamodel.common
 

Methods in org.mycore.datamodel.common that throw MCRPersistenceException
 void MCRXMLTableInterface.create(String mcrid, byte[] xml, Date lastModified)
          The method create a new item in the datastore.
 void MCRXMLTableInterface.delete(String mcrid)
          The method remove a item for the MCRObjectID from the datastore.
 int MCRXMLTableInterface.getHighestStoredID()
          This method returns the highest stored ID number, or 0 if no object is stored for this type and project.
 int MCRXMLTableManager.getHighestStoredID(String idproject, String idtype)
          This method returns the highest stored ID number for a given MCRObjectID base, or 0 if no object is stored for this type and project.
 void MCRXMLTableInterface.init(String type)
          The initializer for the class MCRSQLXMLStore.
 InputStream MCRXMLTableInterface.retrieve(String mcrid)
          The method retrieve a dataset for the given MCRObjectID and returns the corresponding XML file as InputStream.
 void MCRXMLTableInterface.update(String mcrid, byte[] xml, Date lastModified)
          The method update an item in the datastore.
 

Uses of MCRPersistenceException in org.mycore.datamodel.ifs
 

Methods in org.mycore.datamodel.ifs that throw MCRPersistenceException
 MCRFilesystemNode MCRFileMetadataManager.buildNode(String type, String ID, String parentID, String ownerID, String name, String label, long size, GregorianCalendar date, String storeID, String storageID, String fctID, String md5, int numchdd, int numchdf, int numchtd, int numchtf)
          Callback method for internal use by any MCRFileMetadataStore implementation, do not use.
 void MCRDirectory.delete()
          Deletes this directory and its content stored in the system
 void MCRFile.delete()
          Deletes this file and its content stored in the system.
 void MCROldFile.deleteContent()
          Deprecated. Deletes the content of this file from the ContentStore used
 void MCRFileMetadataStore.deleteNode(String ID)
          Deletes all data of a given MCRFilesystemNode in the persistent metadata store.
(package private)  void MCRFileMetadataManager.deleteNode(String ID)
          Deletes a MCRFilesystemNode in the persistent MCRFileMetadataStore.
protected  URLConnection MCRAudioVideoExtender.getConnection(String url)
          Helper method that creates a URLConnection to a given URL and wraps possible IOException or MalformedURLExceptions
 byte[] MCROldFile.getContentAsByteArray()
          Deprecated. Gets the content of this file as a byte array
 byte[] MCRFile.getContentAsByteArray()
          Gets the content of this file as a byte array
 Document MCROldFile.getContentAsJDOM()
          Deprecated.  
 Document MCRFile.getContentAsJDOM()
           
 String MCROldFile.getContentAsString()
          Deprecated. Gets the content of this file as a string, using the default encoding
 String MCRFile.getContentAsString()
          Gets the content of this file as a string, using the default encoding of the system environment
 String MCROldFile.getContentAsString(String encoding)
          Deprecated. Gets the content of this file as a string, using the given encoding
 String MCRFile.getContentAsString(String encoding)
          Gets the content of this file as a string, using the given encoding
 void MCROldFile.getContentTo(File target)
          Deprecated. Writes the content of this file to a file on the local filesystem
 void MCRFile.getContentTo(File target)
          Writes the content of this file to a file on the local filesystem
 void MCROldFile.getContentTo(OutputStream target)
          Deprecated. Writes the content of this file to a target output stream
 void MCRFile.getContentTo(OutputStream target)
          Writes the content of this file to a target output stream.
protected  String MCRAudioVideoExtender.getMetadata(String url)
          Helper method that connects to the given URL and returns the response as a String
abstract  void MCRAudioVideoExtender.getPlayerStarterTo(OutputStream out, String startPos, String stopPos)
          Writes a metafile that starts a streaming player for this asset to an OutputStream, e.
 MCRFilesystemNode MCRFileMetadataStore.retrieveChild(String parentID, String name)
          Retrieves a child node of an MCRDirectory from the persistent store.
 MCRFilesystemNode MCRFileMetadataManager.retrieveChild(String parentID, String name)
          Retrieves a child node of a given MCRDirectory node.
 Vector MCRFileMetadataStore.retrieveChildrenIDs(String parentID)
          Returns a list of the IDs of all children of a given parent MCRDirectory.
(package private)  Vector MCRFileMetadataManager.retrieveChildrenIDs(String ID)
          Retrieves a list of all IDs of the child MCRFilesystemNodes of a given MCRDirectory.
 MCRFilesystemNode MCRFileMetadataStore.retrieveNode(String ID)
          Retrieves the MCRFilesystemNode with that ID from the persistent store.
(package private)  MCRFilesystemNode MCRFileMetadataManager.retrieveNode(String ID)
          Retrieves the MCRFilesystemNode with the given ID from the persistent MCRFileMetadataStore.
(package private)  MCRFilesystemNode MCRFileMetadataManager.retrieveRootNode(String ownerID)
          Retrieves the first MCRFilesystemNode found in the persistent MCRFileMetadataStore, that has the given owner ID.
 String MCRFileMetadataStore.retrieveRootNodeID(String ownerID)
          Retrieves the root MCRFilesystemNode that has no parent and is owned by the object with the given owner ID.
 void MCRFile.setContentFrom(byte[] source)
          Reads the content of this file from a byte array and stores it in an MCRContentStore.
 void MCRFile.setContentFrom(File source)
          Reads the content of this file from a source file in the local filesystem and stores it in an MCRContentStore.
 void MCRFile.setContentFrom(InputStream source)
          Reads the content of this file from the source InputStream and stores it in an MCRContentStore.
 long MCRFile.setContentFrom(InputStream source, boolean storeContentChange)
           
 void MCROldFile.setContentFrom(MCRContentInputStream source, MCRContentStore store)
          Deprecated. Reads the content of this file from the source ContentInputStream and stores it in the ContentStore given
 void MCRFile.setContentFrom(String source)
          Reads the content of this file from a java.lang.String and stores its text as bytes, encoded in the default encoding of the platform where this is running.
 void MCRFile.setContentFrom(String source, String encoding)
          Reads the content of this file from a java.lang.String and stores its text as bytes, encoded in the encoding given, in an MCRContentStore.
 String MCRContentStore.storeContent(MCRFileReader file, MCRContentInputStream source)
          Stores the content of an MCRFile by reading from an MCRContentInputStream.
 void MCRFileMetadataStore.storeNode(MCRFilesystemNode node)
          Creates or updates the data of the given node in the persistent store.
(package private)  void MCRFileMetadataManager.storeNode(MCRFilesystemNode node)
          Creates or updates the data of the MCRFilesystemNode in the persistent MCRFileMetadataStore.
 

Uses of MCRPersistenceException in org.mycore.datamodel.metadata
 

Methods in org.mycore.datamodel.metadata that throw MCRPersistenceException
 void MCRObject.addDerivateInDatastore(String id, MCRMetaLinkID link)
          The methode add a derivate MCRMetaLinkID to the structure part and update the object with the ID in the data store.
 void MCRDerivate.createInDatastore()
          The methode create the object in the data store.
abstract  void MCRBase.createInDatastore()
          The methode create the object in the data store.
 void MCRObject.createInDatastore()
          The methode create the object in the data store.
 void MCRDerivate.deleteFromDatastore(String id)
          The methode delete the object in the data store.
abstract  void MCRBase.deleteFromDatastore(String id)
          The methode delete the object in the data store.
 void MCRObject.deleteFromDatastore(String id)
          The methode delete the object for the given ID from the data store.
static boolean MCRDerivate.existInDatastore(MCRObjectID id)
          The methode return true if the derivate is in the data store, else return false.
static boolean MCRObject.existInDatastore(MCRObjectID id)
          The methode return true if the object is in the data store, else return false.
static boolean MCRDerivate.existInDatastore(String id)
          The methode return true if the derivate is in the data store, else return false.
static boolean MCRObject.existInDatastore(String id)
          The methode return true if the object is in the data store, else return false.
 MCRDirectory MCRDerivate.receiveDirectoryFromIFS(String id)
          The methode receive the multimedia object(s) for the given MCRObjectID and returned it as MCRDirectory.
 void MCRDerivate.receiveFromDatastore(MCRObjectID id)
          The methode receive the derivate for the given MCRObjectID and stored it in this MCRDerivate
 void MCRObject.receiveFromDatastore(MCRObjectID id)
          The methode receive the object for the given MCRObjectID and stored it in this MCRObject.
 void MCRDerivate.receiveFromDatastore(String id)
          The methode receive the derivate for the given MCRObjectID and stored it in this MCRDerivate
abstract  void MCRBase.receiveFromDatastore(String id)
          The methode receive the object for the given MCRObjectID and stored it in this MCRObject.
 void MCRObject.receiveFromDatastore(String id)
          The methode receive the object for the given MCRObjectID and stored it in this MCRObject.
 Document MCRObject.receiveJDOMFromDatastore(MCRObjectID id)
          The methode receive the object for the given MCRObjectID and returned it as JDOM Document.
 Document MCRObject.receiveJDOMFromDatastore(String id)
          The methode receive the object for the given MCRObjectID and returned it as JDOM Document.
static byte[] MCRDerivate.receiveXMLFromDatastore(MCRObjectID id)
          The methode receive the derivate for the given MCRObjectID and returned it as XML stream.
static byte[] MCRObject.receiveXMLFromDatastore(MCRObjectID id)
          The methode receive the object for the given MCRObjectID and returned it as XML stream.
static byte[] MCRDerivate.receiveXMLFromDatastore(String id)
          The methode receive the derivate for the given MCRObjectID and returned it as XML stream.
static byte[] MCRObject.receiveXMLFromDatastore(String id)
          The methode receive the object for the given MCRObjectID and returned it as XML stream.
 void MCRObject.removeDerivateInDatastore(String id, String der_id)
          The methode remove a derivate MCRMetaLinkID from the structure part and update the object with the ID in the data store.
 void MCRDerivate.repairPersitenceDatastore(MCRObjectID id)
          The method updates the indexer of content.
abstract  void MCRBase.repairPersitenceDatastore(MCRObjectID id)
          The method repair search index.
 void MCRObject.repairPersitenceDatastore(MCRObjectID id)
          The method updates the search index with the data from the XLM store.
 void MCRDerivate.repairPersitenceDatastore(String id)
          The method updates the indexer of content.
abstract  void MCRBase.repairPersitenceDatastore(String id)
          The method repair search index.
 void MCRObject.repairPersitenceDatastore(String id)
          The method updates the search index with the data from the XLM store.
 void MCRDerivate.updateInDatastore()
          The methode update the object in the data store.
abstract  void MCRBase.updateInDatastore()
          The methode update the object in the data store.
 void MCRObject.updateInDatastore()
          The methode update the object in the data store.
 void MCRObject.updateThisInDatastore()
          The method updates this object in the persistence layer.
 void MCRDerivate.updateXMLInDatastore()
          The methode update only the XML part of the object in the data store.