class: InitialDataset

public class: InitialDataset
Author: endres
Project: Phase: 1.0; Status: Proposed; Version: 1.0; Complexity: 1
Dates: Created: 16.07.2009 15:30:57; Modified: 16.07.2009 15:30:57;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {71516983-4193-4924-8A45-C022FE459F08}
 

Goto: Custom Properties, Fields, Methods

Appears in: installer

Custom Properties
 
InitialDataset Attributes
Attribute Details
private static const String
  CONTEXTID_SUBSTITUTE_IDENTIFIER
Initial: "template_contextid_substituted_by_installer"
private URL
  frameworkUrl
Initial: null
Notes: URL of the framework instance
private Logger
  logger
Initial: null
Notes: logging instance
private static const int
  NUMBER_OF_URL_TOKENS
Initial: 2
Notes: number of tokens needed by the login method
private static const String
  OBJECTID_SUBSTITUTE_IDENTIFIER
Initial: "template_objectid_substituted_by_installer"
private String
  userHandle
Initial: null
Notes: user handle from framework
 
InitialDataset Methods
Operation Details
public
createAndOpenContext(
   String fileName,
   String orgObjectId):String
Sequential
Tags: throws=Exception
public
createAndOpenOrganizationalUnit(
   String fileName):String
Sequential
Tags: throws=Exception
public
createGrantForUser(
   String fileName,
   String userObjectId,
   String contextId):String
Sequential
Tags: throws=Exception
public
createUser(
   String fileName,
   String password,
   String orgObjectId):String
Sequential
Tags: throws=Exception
public
getHandle():String
Sequential
public
getResourceAsXml(
   String fileName):String
Sequential
Tags: throws=FileNotFoundException,Exception
private
getValueFromXml(
   String key,
   String item):String
Sequential
Notes: Search the given String for the first occurence of "objid" and return its value.
@return The objid value
public
InitialDataset():
Sequential
public
InitialDataset(
   URL frameworkUrl,
   String username,
   String password):
Sequential
Tags: throws=ServiceException,IOException
public
loginToCoreservice(
   String userid,
   String password):String
Sequential
Tags: throws=ServiceException,IOException
public
retrieveContentModel(
   String contentModelId):String
Sequential
Tags: throws=Exception