Package org.dspace.app.xmlui.utils

Examples of org.dspace.app.xmlui.utils.UIException


            return URLDecoder.decode(encodedString, Constants.DEFAULT_ENCODING);
        }
        catch (UnsupportedEncodingException uee)
        {
            throw new UIException(uee);
        }

    }
View Full Code Here


                        message("xmlui.ArtifactBrowser.Navigation.browse_" + bix.getName()));
            }
        }
        catch (BrowseException bex)
        {
            throw new UIException("Unable to get browse indicies", bex);
        }
    }
View Full Code Here

        {
            newName = URLDecoder.decode(newName, Constants.DEFAULT_ENCODING);
        }
        catch (UnsupportedEncodingException uee)
        {
            throw new UIException(uee);
        }
   
    Group group = null;
    if (groupID == -1)
    {
View Full Code Here

                      IndexBrowse ib = new IndexBrowse(context);
                      ib.indexItem(item);
                    }
                    catch (BrowseException bex)
                    {
                      throw new UIException("Unable to process browse", bex);
                    }
                }
            }
        }
   
View Full Code Here

                      IndexBrowse ib = new IndexBrowse(context);
                      ib.indexItem(item);
                    }
                    catch (BrowseException bex)
                    {
                      throw new UIException("Unable to process browse", bex);
                    }
                }
            }
        }
   
View Full Code Here

                params.scope.setStartsWith(startsWith);
            }
        }
        catch (BrowseException bex)
        {
            throw new UIException("Unable to create browse parameters", bex);
        }

        this.userParams = params;
        return params;
    }
View Full Code Here

                this.browseInfo.setEtAl(params.etAl);
            }
        }
        catch (BrowseException bex)
        {
            throw new UIException("Unable to process browse", bex);
        }

        return this.browseInfo;
    }
View Full Code Here

    {
      String[] parts = id.split("/");

      if (parts.length != 2)
            {
                throw new UIException("Unable to parse id into bundle and bitstream id: " + id);
            }

      int bitstreamID = Integer.valueOf(parts[1]);

      Bitstream bitstream = Bitstream.find(context,bitstreamID);
View Full Code Here

                        inputSet = getInputsReader().getInputs(submission.getCollection().getHandle());
                        inputs = inputSet.getPageRows(getPage()-1, submission.hasMultipleTitles(), submission.isPublishedBefore());
                }
                catch (DCInputsReaderException se)
                {
                        throw new UIException(se);
                }

                Division div = body.addInteractiveDivision("submit-describe",actionURL,Division.METHOD_POST,"primary submission");
                div.setHead(T_submission_head);
                addSubmissionProgressList(div);
View Full Code Here

        {
            inputSet = getInputsReader().getInputs(submission.getCollection().getHandle());
        }
        catch (DCInputsReaderException se)
        {
            throw new UIException(se);
        }
       
        MetadataAuthorityManager mam = MetadataAuthorityManager.getManager();
        DCInput[] inputs = inputSet.getPageRows(getPage()-1, submission.hasMultipleTitles(), submission.isPublishedBefore());
View Full Code Here

TOP

Related Classes of org.dspace.app.xmlui.utils.UIException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.