class: PubManImport

public class: PubManImport
Author: franke (initial creation)
Project: Phase: 1.0; Status: Proposed; Version: $Revision$ $LastChangedDate$; Complexity: 1
Dates: Created: 16.07.2009 15:16:27; Modified: 16.07.2009 15:16:27;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {DABAC73A-C620-445a-A4B1-407EEDA3CFF1}
TODO Description
 

Goto: Custom Properties, Fields, Methods

See also: ItemValidating

Appears in: edoc

Connections
 
Custom Properties
 
PubManImport Attributes
Attribute Details
private static String
  CORESERVICES_URL
private String
  fileName
private ArrayList
  itemIds
Initial: new ArrayList()
package Logger
  logger
Initial: Logger.getLogger(PubManImport.class)
private String
  userHandle
Initial: null
private ItemValidating
  validating
 
PubManImport Methods
Operation Details
private
assignObjectPid(
   String id,
   String lastModificationDate):String
Sequential
Tags: throws=Exception
private
assignVersionPid(
   String id,
   String lastModificationDate):String
Sequential
Tags: throws=Exception
private
createItem(
   String itemXml):String
Sequential
Tags: throws=Exception
private
getId(
   String itemXml):String
Sequential
private
getLastModificationDate(
   String result):String
Sequential
private
importItem(
   String itemXml):void
Sequential
Tags: throws=Exception
protected static
loginUser(
   String userid,
   String password):String
Sequential
Tags: throws=HttpException,IOException,ServiceException,URISyntaxException
Notes: Logs in the given user with the given password.
@return The handle for the logged in user.
public static
main(
   String[] args):void
Sequential
Tags: throws=Exception
public
PubManImport(
   String fileName,
   String username,
   String password):
Sequential
Tags: throws=Exception
private
releaseItem(
   String id,
   String lastModificationDate):String
Sequential
Tags: throws=Exception
public
run():void
Sequential
private
submitItem(
   String id,
   String lastModificationDate):String
Sequential
Tags: throws=Exception
private
validateItem(
   String itemXml):void
Sequential
Tags: throws=Exception