Uses of Class
org.mycore.common.MCRException

Packages that use MCRException
org.mycore.access   
org.mycore.access.mcrimpl   
org.mycore.backend.hibernate   
org.mycore.common   
org.mycore.common.events   
org.mycore.common.xml   
org.mycore.datamodel.common   
org.mycore.datamodel.ifs   
org.mycore.datamodel.ifs2   
org.mycore.datamodel.metadata   
org.mycore.frontend.cli   
org.mycore.frontend.servlets   
org.mycore.parsers.bool   
org.mycore.services.plugins   
org.mycore.services.z3950   
org.mycore.user   
 

Uses of MCRException in org.mycore.access
 

Methods in org.mycore.access that throw MCRException
static void MCRAccessManager.addRule(MCRObjectID id, String permission, Element rule, String description)
          adds an access rule for an MCRObjectID to an access system.
 void MCRAccessInterface.addRule(String permission, Element rule, String description)
          adds an access rule for an "a priori-permission" like "create-document"
 void MCRAccessBaseImpl.addRule(String permission, Element rule, String description)
           
static void MCRAccessManager.addRule(String id, String permission, Element rule, String description)
          adds an access rule for an ID to an access system.
 void MCRAccessInterface.addRule(String id, String permission, Element rule, String description)
          adds an access rule for an ID to an access system.
 void MCRAccessBaseImpl.addRule(String id, String permission, Element rule, String description)
           
static void MCRAccessManager.removeAllRules(MCRObjectID id)
          removes all rules for the MCRObjectID.
 void MCRAccessInterface.removeAllRules(String id)
          removes all rules of the id.
 void MCRAccessBaseImpl.removeAllRules(String id)
           
static void MCRAccessManager.removeRule(MCRObjectID id, String permission)
          removes the permission rule for the MCRObjectID.
 void MCRAccessInterface.removeRule(String permission)
          removes a rule for an "a priori permission" like "create-document"
 void MCRAccessBaseImpl.removeRule(String permission)
           
static void MCRAccessManager.removeRule(String id, String permission)
          removes the permission rule for the ID.
 void MCRAccessInterface.removeRule(String id, String permission)
          removes a rule.
 void MCRAccessBaseImpl.removeRule(String id, String permission)
           
static void MCRAccessManager.updateRule(MCRObjectID id, String permission, Element rule, String description)
          updates an access rule for an MCRObjectID.
 void MCRAccessInterface.updateRule(String permission, Element rule, String description)
          updates an access rule for an "a priori permission" of an access system like "create-document".
 void MCRAccessBaseImpl.updateRule(String permission, Element rule, String description)
           
static void MCRAccessManager.updateRule(String id, String permission, Element rule, String description)
          updates an access rule for an ID.
 void MCRAccessInterface.updateRule(String id, String permission, Element rule, String description)
          updates an access rule for an ID to an access system.
 void MCRAccessBaseImpl.updateRule(String id, String permission, Element rule, String description)
           
 

Uses of MCRException in org.mycore.access.mcrimpl
 

Methods in org.mycore.access.mcrimpl that throw MCRException
 void MCRAccessControlSystem.addRule(String id, String pool, Element rule, String description)
           
 void MCRAccessControlSystem.removeAllRules(String id)
           
 void MCRAccessControlSystem.removeRule(String permission)
           
 void MCRAccessControlSystem.removeRule(String id, String pool)
           
 void MCRAccessControlSystem.updateRule(String permission, Element rule, String description)
           
 void MCRAccessControlSystem.updateRule(String id, String pool, Element rule, String description)
           
 

Uses of MCRException in org.mycore.backend.hibernate
 

Methods in org.mycore.backend.hibernate that throw MCRException
 void MCRHIBUserStore.createGroup(MCRGroup newGroup)
          This method creates a MyCoRe group object in the persistent datastore.
 void MCRHIBUserStore.createUser(MCRUser newUser)
          This method creates a MyCoRe user object in the persistent datastore.
 void MCRHIBUserStore.deleteGroup(String delGroupID)
          This method deletes a MyCoRe group object in the persistent datastore.
 void MCRHIBUserStore.deleteUser(String delUserID)
          This method deletes a MyCoRe user object from the persistent datastore.
 boolean MCRHIBUserStore.existsGroup(String groupID)
          This method tests if a MyCoRe group object is available in the persistent datastore.
 boolean MCRHIBRuleStore.existsRule(String ruleid)
          Method checks existance of rule in db
 boolean MCRHIBUserStore.existsUser(int numID, String userID)
          This method tests if a MyCoRe user object is available in the persistent datastore.
 boolean MCRHIBUserStore.existsUser(String userID)
          This method tests if a MyCoRe user object is available in the persistent datastore.
 List<String> MCRHIBUserStore.getAllGroupIDs()
          This method gets all group IDs and returns them as a ArrayList of strings.
 List<String> MCRHIBUserStore.getAllUserIDs()
          This method gets all user IDs and returns them as a ArrayList of strings.
 List<String> MCRHIBUserStore.getGroupIDsWithAdminUser(String userID)
          This method gets all group IDs where a given user ID can manage the group (i.e.
 int MCRHIBUserStore.getMaxUserNumID()
          This method returns the maximum value of the numerical user IDs
 List<String> MCRHIBUserStore.getUserIDsWithPrimaryGroup(String groupID)
          This method gets all user IDs with a given primary group and returns them as a ArrayList of strings.
 MCRGroup MCRHIBUserStore.retrieveGroup(String groupID)
          This method retrieves a MyCoRe group object from the persistent datastore.
 MCRUser MCRHIBUserStore.retrieveUser(String userID)
          This method retrieves a MyCoRe user object from the persistent datastore.
 void MCRHIBUserStore.updateGroup(MCRGroup group)
          This method updates a MyCoRe group object in the persistent datastore.
 void MCRHIBUserStore.updateUser(MCRUser updUser)
          This method updates a MyCoRe user object in the persistent datastore.
 

Uses of MCRException in org.mycore.common
 

Subclasses of MCRException in org.mycore.common
 class MCRConfigurationException
          Instances of this class represent an exception thrown because of an error in the MyCoRe configuration.
 class MCRPersistenceException
          Instances of this class represent a general exception thrown by the persistency layer of the MyCoRe implementation.
 class MCRUsageException
          Instances of MCRUsageException are thrown when the MyCoRe API is used in an illegal way.
 

Methods in org.mycore.common that throw MCRException
static com.ibm.icu.util.GregorianCalendar MCRCalendar.getGregorianHistoryDate(String datestr, boolean last)
          This method convert a ancient date to a GregorianCalendar value.
static com.ibm.icu.util.GregorianCalendar MCRCalendar.getGregorianHistoryDate(String datestr, boolean last, String calstr)
          This method convert a ancient date to a GregorianCalendar value.
 

Uses of MCRException in org.mycore.common.events
 

Methods in org.mycore.common.events that throw MCRException
 void MCREventHandler.doHandleEvent(MCREvent evt)
          Handles an event.
 void MCREventManager.handleEvent(MCREvent evt)
          Same as handleEvent( evt, MCREventManager.FORWARD )
 void MCREventHandler.undoHandleEvent(MCREvent evt)
          Handles rollback of event handling.
 

Uses of MCRException in org.mycore.common.xml
 

Methods in org.mycore.common.xml that throw MCRException
static MCRParserInterface MCRXMLHelper.getParser()
          Returns the XML Parser as configured in mycore.properties
static Document MCRXMLHelper.parseURI(URI uri)
          Parses an XML file from a URI and returns it as DOM.
 Document MCRParserInterface.parseURI(URI uri)
          Parses an XML file from a URI and returns it as DOM.
static Document MCRXMLHelper.parseURI(URI uri, boolean valid)
          Parses an XML file from a URI and returns it as DOM.
 Document MCRParserInterface.parseURI(URI uri, boolean valid)
          Parses an XML file from a URI and returns it as DOM.
static Document MCRXMLHelper.parseXML(byte[] xml)
          Parses an Byte Array and returns it as DOM.
 Document MCRParserInterface.parseXML(byte[] xml)
          Parses an Byte Array and returns it as DOM.
static Document MCRXMLHelper.parseXML(byte[] xml, boolean valid)
          Parses an Byte Array and returns it as DOM.
 Document MCRParserInterface.parseXML(byte[] xml, boolean valid)
          Parses an Byte Array and returns it as DOM.
 Document MCRParserXerces.parseXML(InputStream input)
           
 Document MCRParserInterface.parseXML(InputStream input)
          Parses an Byte Array and returns it as DOM.
 Document MCRParserXerces.parseXML(InputStream input, boolean validate)
           
 Document MCRParserInterface.parseXML(InputStream input, boolean validate)
          Parses an Byte Array and returns it as DOM.
static Document MCRXMLHelper.parseXML(String xml)
          Parses an XML String and returns it as DOM.
 Document MCRParserInterface.parseXML(String xml)
          Parses an XML String and returns it as DOM.
static Document MCRXMLHelper.parseXML(String xml, boolean valid)
          Parses an XML String and returns it as DOM.
 Document MCRParserInterface.parseXML(String xml, boolean valid)
          Parses an XML String and returns it as DOM.
 

Uses of MCRException in org.mycore.datamodel.common
 

Methods in org.mycore.datamodel.common that throw MCRException
 void MCRXMLTableManager.create(MCRObjectID mcrid, Document xml, Date lastModified)
          The method create a new item in the datastore.
 void MCRXMLTableManager.delete(MCRObjectID mcrid)
          The method remove a item for the MCRObjectID from the datastore.
 Document MCRXMLTableManager.retrieveAsJDOM(MCRObjectID mcrid)
          The method retrieve a dataset for the given MCRObjectID and returns the corresponding JDOM Document.
 byte[] MCRXMLTableManager.retrieveAsXML(MCRObjectID mcrid)
          The method retrieve a dataset for the given MCRObjectID and returns the corresponding XML file as byte array.
 void MCRXMLTableManager.update(MCRObjectID mcrid, byte[] xml, Date lastModified)
          The method update an item in the datastore.
 void MCRXMLTableManager.update(MCRObjectID mcrid, Document xml, Date lastModified)
          The method update an item in the datastore.
 

Uses of MCRException in org.mycore.datamodel.ifs
 

Methods in org.mycore.datamodel.ifs that throw MCRException
 void MCRContentStore.deleteContent(String storageID)
          Deletes the content of an MCRFile object that is stored under the given Storage ID in this store instance.
static void MCRFileImportExport.exportFiles(MCRDirectory dir, File local)
          Exports all contents of the given MCRDirectory to the local filesystem, including all subdirectories and stored files.
 void MCRAudioVideoExtender.init(MCRFileReader file)
          Initializes this AudioVideoExtender and gets technical metadata from the server that holds the streaming asset.
 InputStream MCRContentStore.retrieveContent(MCRFileReader file)
          Retrieves the content of an MCRFile as an InputStream.
 void MCRContentStore.retrieveContent(MCRFileReader file, OutputStream target)
          Deprecated. use doRetrieveContent(MCRFileReader file) instead
 String MCRSimpleContentStoreSelector.selectStore(MCRFile file)
           
 String MCRContentStoreSelector.selectStore(MCRFile file)
          Returns the ID of the file content store to be used to store the content of the given file.
 

Constructors in org.mycore.datamodel.ifs that throw MCRException
MCRContentInputStream(InputStream in)
          Constructs a new MCRContentInputStream
 

Uses of MCRException in org.mycore.datamodel.ifs2
 

Constructors in org.mycore.datamodel.ifs2 that throw MCRException
MCRContentInputStream(InputStream in)
          Constructs a new MCRContentInputStream
 

Uses of MCRException in org.mycore.datamodel.metadata
 

Methods in org.mycore.datamodel.metadata that throw MCRException
 Element MCRMetaXML.createXML()
          This method create a XML stream for all data in this class, defined by the MyCoRe XML MCRMetaLangText definition for the given subtag.
 Element MCRMetaPersonName.createXML()
          This method creates a XML stream for all data in this class, defined by the MyCoRe XML MCRMetaPersonName definition for the given subtag.
 Element MCRMetaNumber.createXML()
          This method create a XML stream for all data in this class, defined by the MyCoRe XML MCRNumber definition for the given subtag.
 Element MCRMetaNBN.createXML()
          This method create a XML stream for all data in this class, defined by the MyCoRe XML MCRMetaLangText definition for the given subtag.
 Element MCRMetaInstitutionName.createXML()
          This method creates a XML stream for all data in this class, defined by the MyCoRe XML MCRMetaInstitutionName definition for the given subtag.
 Element MCRMetaISBN.createXML()
          This method create a XML stream for all data in this class, defined by the MyCoRe XML MCRMetaLangText definition for the given subtag.
 Element MCRMetaHistoryDate.createXML()
          This method creates a XML stream for all data in this class, defined by the MyCoRe XML MCRMetaHistoryDate definition for the given subtag.
 Element MCRMetaClassification.createXML()
          This method create a XML stream for all data in this class, defined by the MyCoRe XML MCRMetaClassification definition for the given subtag.
 Element MCRMetaBoolean.createXML()
          This method create a XML stream for all data in this class, defined by the MyCoRe XML MCRBoolean definition for the given subtag.
 Element MCRMetaAddress.createXML()
          This method creates a XML stream for all data in this class, defined by the MyCoRe XML MCRMetaAddress definition for the given subtag.
 Element MCRMetaIFS.createXML()
          This method create a XML stream for all data in this class, defined by the MyCoRe XML MCRMetaIFS definition for the given subtag.
 Element MCRMetaLangText.createXML()
          This method create a XML stream for all data in this class, defined by the MyCoRe XML MCRMetaLangText definition for the given subtag.
 Element MCRMetaAccessRule.createXML()
          This method create a XML stream for all data in this class, defined by the MyCoRe XML MCRMetaAccessRule definition for the given subtag.
 Element MCRMetaISO8601Date.createXML()
           
 Element MCRObjectDerivate.createXML()
          This methode create a XML stream for all derivate data.
 Element MCRObjectService.createXML()
          This method create a XML stream for all structure data.
 Element MCRMetaInterface.createXML()
          This methode create a XML stream for a metadata part.
abstract  Element MCRMetaDefault.createXML()
          This abstract method create a XML stream for all data in this class, defined by the MyCoRe XML MCRMeta...
 Element MCRMetaLink.createXML()
          This method create a XML stream for all data in this class, defined by the MyCoRe XML MCRMetaLink definition for the given subtag.
 Element MCRObjectMetadata.createXML()
          This methode create a XML stream for all metadata.
 Element MCRObjectStructure.createXML()
          createXML is the inverse of setFromDOM and converts the structure's memory copy into an XML string.
 Document MCRDerivate.createXML()
          This methode create a XML stream for all object data.
abstract  Document MCRBase.createXML()
          This methode create a XML stream for all object data.
 Document MCRObject.createXML()
          This methode create a XML stream for all object data.
 Element MCRMetaElement.createXML(boolean flag)
          This methode create a XML stream for all data in this class, defined by the MyCoRe XML MCRLangText definition for the given subtag.
 void MCRMetaAccessRule.set(String set_permission, Element set_condition)
          This method set the permission and the condition.
 void MCRMetaLinkID.setBiLink(MCRObjectID set_from, MCRObjectID set_to, String set_title)
          This method set a bidirectional link with xlink:from, xlink:to and xlink:title.
 void MCRMetaLink.setBiLink(String set_from, String set_to, String set_title)
          This method set a bidirectional link with xlink:from, xlink:to and xlink:title.
 void MCRMetaLinkID.setBiLink(String set_from, String set_to, String set_title)
          This method set a bidirectional link with xlink:from, xlink:to and xlink:title.
 void MCRMetaAccessRule.setCondition(Element set_condition)
          This method set the condition.
 void MCRMetaClassification.setFromDOM(Element element)
          This method read the XML input stream part from a DOM part for the metadata of the document.
 void MCRMetaIFS.setFromDOM(Element element)
          This method read the XML input stream part from a DOM part for the metadata of the document.
 void MCRMetaDefault.setFromDOM(Element element)
          This method read the XML input stream part from a DOM part for the metadata of the document.
 void MCRMetaLink.setFromDOM(Element element)
          This method read the XML input stream part from a DOM part for the metadata of the document.
 void MCRMetaElement.setFromDOM(Element element)
          This methode read the XML input stream part from a DOM part for the metadata of the document.
 void MCRObjectMetadata.setFromDOM(Element element)
          This methode read the XML input stream part from a DOM part for the metadata of the document.
 void MCRObject.setFromJDOM(Document doc)
          This methode gets a JDOM-Document to build up the MyCoRe-Object.
 void MCRDerivate.setFromURI(URI uri)
          This methode read the XML input stream from an URI into a temporary DOM and check it with XSchema file.
abstract  void MCRBase.setFromURI(URI uri)
          This methode read the XML input stream from an URI into a temporary DOM and check it with XSchema file.
 void MCRObject.setFromURI(URI uri)
          This method read the XML input stream from an URI to build up the MyCoRe-Object.
 void MCRDerivate.setFromXML(byte[] xml, boolean valid)
          This methode read the XML input stream from a byte array into JDOM and check it with XSchema file.
abstract  void MCRBase.setFromXML(byte[] xml, boolean valid)
          This methode read the XML input stream from a byte array into JDOM and check it with XSchema file.
 void MCRObject.setFromXML(byte[] xml, boolean valid)
          This method read the XML input stream from a byte array to build up the MyCoRe-Object.
 void MCRObjectID.setNextFreeId()
          The method set the MCRObjectID from a given base ID string.
 void MCRObjectID.setNextFreeId(String base_id)
          The method set the MCRObjectID from a given base ID string.
 void MCRObjectID.setNextFreeId(String base_id, int maxInWorkflow)
           
 void MCRMetaLinkID.setReference(MCRObjectID set_href, String set_label, String set_title)
          This method set a reference with xlink:href, xlink:label and xlink:title.
 void MCRMetaLink.setReference(String set_href, String set_label, String set_title)
          This method set a reference with xlink:href, xlink:label and xlink:title.
 void MCRMetaLinkID.setReference(String set_href, String set_label, String set_title)
          This method set a reference with xlink:href, xlink:label and xlink:title.
 void MCRMetaInterface.setSubTag(String set_subtag)
          This method set the subtag element.
 void MCRMetaDefault.setSubTag(String set_subtag)
          This method set the subtag element.
 void MCRMetaClassification.setValue(String set_classid, String set_categid)
          This method set values of classid and categid.
 

Constructors in org.mycore.datamodel.metadata that throw MCRException
MCRBase()
          This is the constructor of the MCRBase class.
MCRDerivate()
          This is the constructor of the MCRDerivate class.
MCRMetaAccessRule(String set_datapart, String set_subtag, String default_lang, String set_type, int set_inherted, String set_permission, Element set_condition)
          This is the constructor.
MCRMetaAddress(String set_datapart, String set_subtag, String default_lang, String set_type, int set_inherted, String set_country, String set_state, String set_zipcode, String set_city, String set_street, String set_number)
          This is the constructor.
MCRMetaBoolean(String set_datapart, String set_subtag, String default_lang, String set_type, int set_inherted, boolean set_value)
          This is the constructor.
MCRMetaBoolean(String set_datapart, String set_subtag, String default_lang, String set_type, int set_inherted, String set_value)
          This is the constructor.
MCRMetaClassification(String set_datapart, String set_subtag, int set_inherted, String set_type, String set_classid, String set_categid)
          This is the constructor.
MCRMetaDefault(String set_datapart, String set_subtag, String default_lang, String set_type, int set_inherited)
          This is the constructor.
MCRMetaHistoryDate(String set_datapart, String set_subtag, String default_lang, String set_type, int set_inherted)
          This is the constructor.
MCRMetaIFS(String set_datapart, String set_subtag, String default_lang, String set_sourcepath)
          This is the constructor.
MCRMetaInstitutionName(String set_datapart, String set_subtag, String default_lang, String set_type, int set_inherted, String set_fullname, String set_nickname, String set_property)
          This is the constructor.
MCRMetaISBN(String set_datapart, String set_subtag, int set_inherted, String set_isbn)
          This is the constructor.
MCRMetaLangText(String set_datapart, String set_subtag, String default_lang, String set_type, int set_inherted, String set_form, String set_text)
          This is the constructor.
MCRMetaLink(String set_datapart, String set_subtag, String default_lang, int set_inherted)
          This is the constructor.
MCRMetaLinkID(String set_datapart, String set_subtag, String default_lang, int set_inherted)
          This is the constructor.
MCRMetaNBN(String set_datapart, String set_subtag, int set_inherted, String set_nbn)
          This is the constructor.
MCRMetaNumber(String set_datapart, String set_subtag, String default_lang, int set_inherted, String set_dimension, String set_measurement, double set_number)
          This is the constructor.
MCRMetaNumber(String set_datapart, String set_subtag, String default_lang, int set_inherted, String set_dimension, String set_measurement, String set_number)
          This is the constructor.
MCRMetaPersonName(String set_datapart, String set_subtag, String default_lang, String set_type, int set_inherted, String set_firstname, String set_callname, String set_surname, String set_fullname, String set_academic, String set_peerage, String set_prefix)
          This is the constructor.
MCRMetaXML(String set_datapart, String set_subtag, String set_type, int set_inherited)
           
MCRObject()
          This is the constructor of the MCRObject class.
MCRObjectID(String id)
          The constructor for MCRObjectID from a given string.
 

Uses of MCRException in org.mycore.frontend.cli
 

Methods in org.mycore.frontend.cli that throw MCRException
static void MCRUserCommands.addMemberUserToGroup(String mbrUserID, String groupID)
          This method adds a user as a member to a group
static void MCRUserCommands.createGroupFromFile(String filename)
          This method invokes MCRUserMgr.createGroup() with data from a file.
static void MCRUserCommands.encryptPasswordsInXMLFile(String oldFile, String newFile)
          A given XML file containing user data with cleartext passwords must be converted prior to loading the user data into the system.
static void MCRUserCommands.exportAllGroupsToFile(String filename)
          This command takes a file name as a parameter, retrieves all groups from MCRUserMgr as JDOM document and export this to the given file.
static void MCRUserCommands.exportAllUsersToFile(String filename)
          This command takes a file name as a parameter, retrieves all users from MCRUserMgr as JDOM document and export this to the given file.
static void MCRUserCommands.exportUserToFile(String userID, String filename)
          This command takes a userID and file name as a parameter, retrieves the user from MCRUserMgr as JDOM document and export this to the given file.
static void MCRUserCommands.importUserSystemFromFiles(String groupFileName, String userFileName)
          This method imports groups and user data from XML files.
static void MCRUserCommands.initSuperuser()
          This method initializes the user and group system an creates a superuser with values set in mycore.properties.private As 'super' default, if no properties were set, mcradmin with password mycore will be used.
static void MCRAccessCommands.listAllPermissions()
          This method invokes MCRUserMgr.getAllPrivileges() and retrieves a ArrayList of all privileges stored in the persistent datastore.
static void MCRUserCommands.listGroup(String groupID)
          This method invokes MCRUserMgr.retrieveGroup() and then works with the retrieved group object to get an XML-Representation.
static void MCRUserCommands.listUser(String userID)
          This method invokes MCRUserMgr.retrieveUser() and then works with the retrieved user object to get an XML-Representation.
static void MCRUserCommands.removeMemberUserFromGroup(String mbrUserID, String groupID)
          This method removes a member user from a group
static void MCRUserCommands.setLock()
          This method sets the user management component to read only mode
static void MCRUserCommands.setPassword(String userID, String password)
          This method invokes MCRUserMgr.retrieveUser() and then works with the retrieved user object to change the password.
static void MCRUserCommands.unLock()
          This method sets the user management component to read/write access mode
 

Uses of MCRException in org.mycore.frontend.servlets
 

Methods in org.mycore.frontend.servlets that throw MCRException
 void MCRClassExportServlet.doGetPost(MCRServletJob job)
           
 

Uses of MCRException in org.mycore.parsers.bool
 

Subclasses of MCRException in org.mycore.parsers.bool
 class MCRParseException
           
 

Uses of MCRException in org.mycore.services.plugins
 

Subclasses of MCRException in org.mycore.services.plugins
 class FilterPluginInstantiationException
          Thrown when an application tries to create an instance of a class implementing the TextFilterPlugin interface, but the specified class object cannot be instantiated because it has requisites that are no met.
 class FilterPluginTransformException
          Exception to be thrown if transformation to text stream failed
 

Uses of MCRException in org.mycore.services.z3950
 

Methods in org.mycore.services.z3950 that throw MCRException
 MCRCondition MCRZ3950PrefixQueryParser.parse()
           
 

Uses of MCRException in org.mycore.user
 

Methods in org.mycore.user that throw MCRException
 void MCRGroup.addAdminGroupID(String groupID)
          This method adds a group to the list of groups with administrative privileges for the group.
 void MCRGroup.addAdminUserID(String userID)
          This method adds a user (ID) to the administrators list of the group
 void MCRUser.addGroupID(String groupID)
          This method adds a group to the groups list of the user object.
 void MCRGroup.addMemberUserID(String userID)
          This method adds a user (ID) to the users list of the group
 void MCRUserMgr.checkConsistency()
          This method checks the consistency of the user and group data.
 void MCRUserMgr.createGroup(MCRGroup group)
          This method creates a group in the datastore (and the group cache as well).
 void MCRUserStore.createGroup(MCRGroup newGroup)
          This method creates a MyCoRe group object in the persistent datastore.
 void MCRUserMgr.createUser(MCRUser user)
          This method creates a user in the datastore (and the user cache as well).
 void MCRUserStore.createUser(MCRUser newUser)
          This method creates a MyCoRe user object in the persistent datastore.
 void MCRUserMgr.deleteGroup(String groupID)
          This method deletes a group from the datastore (and the group cache as well).
 void MCRUserStore.deleteGroup(String delGroupID)
          This method deletes a MyCoRe group object in the persistent datastore.
 void MCRUserMgr.deleteUser(String userID)
          This method deletes a user from the datastore (and the user cache as well).
 void MCRUserStore.deleteUser(String delUserID)
          This method deletes a MyCoRe user object in the persistent datastore.
 void MCRUserMgr.disableUser(String userID)
          This method disables the user.
 void MCRUserMgr.enableUser(String userID)
          This method enables the user.
 boolean MCRUserStore.existsGroup(String groupID)
          This method tests if a MyCoRe group object is available in the persistent datastore.
 boolean MCRUserStore.existsUser(int numID, String userID)
          This method tests if a MyCoRe user object is available in the persistent datastore.
 boolean MCRUserStore.existsUser(String userID)
          This method tests if a MyCoRe user object is available in the persistent datastore.
 List<String> MCRUserMgr.getAllGroupIDs()
          This method gets all group IDs from the persistent datastore and returns them as a ArrayList of strings.
 List<String> MCRUserStore.getAllGroupIDs()
          This method gets all group IDs and returns them as a ArrayList of strings.
 Document MCRUserMgr.getAllGroups()
          This method returns a JDOM presentation of all groups of the system
 List<String> MCRUserMgr.getAllUserIDs()
          This method gets all user IDs from the persistent datastore and returns them as an ArrayList of strings.
 List<String> MCRUserStore.getAllUserIDs()
          This method gets all user IDs and returns them as a ArrayList of strings.
 Document MCRUserMgr.getAllUsers()
          This method returns a JDOM presentation of all users of the system
 List<String> MCRUserStore.getGroupIDsWithAdminUser(String userID)
          This method gets all group IDs where a given user ID can manage the group (i.e.
 int MCRUserMgr.getMaxUserNumID()
          This method returns the maximum value of the numerical user IDs
 int MCRUserStore.getMaxUserNumID()
          This method returns the maximum value of the numerical user IDs
 List<String> MCRUserStore.getUserIDsWithPrimaryGroup(String groupID)
          This method gets all user IDs with a given primary group and returns them as a ArrayList of strings.
 void MCRUserMgr.importUserSystemFromFiles(Element groups, Element users)
          This method imports groups and user data from XML JDOM trees.
 void MCRUserMgr.initializeGroup(MCRGroup group, String creator)
          This method is used by the initialization process of the user/group system to create a starting configuration without checking the consistency of the data.
 void MCRUserMgr.initializeUser(MCRUser user, String creator)
          This method is used by the initialization process of the user/group system to create a starting configuration without checking the consistency of the data.
static MCRUserMgr MCRUserMgr.instance()
          This method is the only way to get an instance of this class.
 boolean MCRGroup.isValid()
          This method checks if all required fields have been provided.
 boolean MCRUserMgr.login(String userID, String passwd)
          login to the system.
 boolean MCRUser.modificationIsAllowed()
          This private helper method checks if the modification of the user object is allowed for the current user/session.
 void MCRGroup.removeAdminGroupID(String groupID)
          This method removes a group from the list of groups with administrative privileges for this group.
 void MCRGroup.removeAdminUserID(String userID)
          This method removes a user from the list of administrators of the group.
 void MCRUser.removeGroupID(String groupID)
          This method removes a group from the groups list of the user object.
 void MCRGroup.removeMemberUserID(String userID)
          This method removes a user from the users list (members) of the group.
 MCRGroup MCRUserMgr.retrieveGroup(String groupID)
          This method retrieves the group object with the given group ID.
 MCRGroup MCRUserStore.retrieveGroup(String groupID)
          This method retrieves a MyCoRe group object from the persistent datastore.
protected  MCRGroup MCRUserMgr.retrieveGroup(String groupID, boolean bFromDataStore)
          This method first looks for a given groupID in the group cache and returns this group object.
 Set<MCRGroup> MCRUserMgr.retrieveGroups(Set<String> groupIDs)
          In the access control subsystem only IDs are stored, not references to user or group objects.
 MCRUser MCRUserMgr.retrieveUser(String userID)
          This method first retrieves the user object with the given userID.
 MCRUser MCRUserStore.retrieveUser(String userID)
          This method retrieves a MyCoRe user object from the persistent datastore.
protected  MCRUser MCRUserMgr.retrieveUser(String userID, boolean bFromDataStore)
          This method first looks for a given userID in the user cache and returns this user object.
 void MCRUserMgr.setPassword(String userID, String password)
          This method sets a new password for the given user.
 Document MCRGroup.toJDOMDocument()
           
abstract  Document MCRUserObject.toJDOMDocument()
          This method must be implemented by a subclass and then returns the user or group object as a JDOM document.
 Document MCRUser.toJDOMDocument()
           
abstract  Element MCRUserObject.toJDOMElement()
          This method must be implemented by a subclass and then returns the user or group object as a JDOM element.
 Element MCRUser.toJDOMElement()
          This method returns the user object as a JDOM element.
 void MCRUserMgr.updateGroup(MCRGroup updGroup)
          This method updates a group in the datastore (and the cache as well).
 void MCRUserStore.updateGroup(MCRGroup group)
          This method updates a MyCoRe group object in the persistent datastore.
 void MCRUserMgr.updateUser(MCRUser updUser)
          This method updates a user in the datastore (and the cache as well).
 void MCRUserStore.updateUser(MCRUser user)
          This method updates a MyCoRe user object in the persistent datastore.
 

Constructors in org.mycore.user that throw MCRException
MCRGroup(String ID, String creator, Timestamp creationDate, Timestamp modifiedDate, String description, ArrayList<String> admUserIDs, ArrayList<String> admGroupIDs, ArrayList<String> mbrUserIDs)
          This constructor takes a subset of attributes of this class as single variables and calls the main constructor (taking all attributes) with default values for the remaining attribute (parameter 'create').
MCRUser(int numID, String ID, String creator, Timestamp creationDate, Timestamp modifiedDate, boolean idEnabled, boolean updateAllowed, String description, String passwd, String primaryGroupID, List<String> groupIDs, String salutation, String firstname, String lastname, String street, String city, String postalcode, String country, String state, String institution, String faculty, String department, String institute, String telephone, String fax, String email, String cellphone)
          This constructor takes all attributes of this class as single variables.
MCRUser(String userid, String passwd)