Package org.dspace.content

Examples of org.dspace.content.InProgressSubmission


     * @param context The current DSpace content
   * @param id The unique ID of the current workflow/workspace
     */
  public static int getMaximumPageReached(Context context, String id) throws SQLException, AuthorizeException, IOException {
   
    InProgressSubmission submission = findSubmission(context, id);
   
    if (submission instanceof WorkspaceItem)
    {
      WorkspaceItem workspaceItem = (WorkspaceItem) submission;
      int page = workspaceItem.getPageReached();
View Full Code Here


            throws DSpaceSwordException
    {
        try
        {
            // find the item in the workflow if it exists
            InProgressSubmission wfi = this.getWorkflowItem(context, item);

            // abort the workflow
            if (wfi != null)
            {
                if(wfi instanceof WorkflowItem)
View Full Code Here

TOP

Related Classes of org.dspace.content.InProgressSubmission

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.