Index: lams_contentrepository/javadoc.xml =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/javadoc.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/javadoc.xml 21 Jan 2005 00:36:56 -0000 1.1 @@ -0,0 +1,6 @@ + + + + + + Index: lams_contentrepository/doc/allclasses-frame.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/allclasses-frame.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/allclasses-frame.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,130 @@ + + + + + + +All Classes + + + + + + + + + + +All Classes +
+ + + + + +
AccessDeniedException +
+AddFileContentAction +
+AddFileContentForm +
+CrCredential +
+CrNode +
+CrNodeVersion +
+CrNodeVersionProperty +
+CrWorkspace +
+CrWorkspaceCredential +
+CredentialDAO +
+FileDAO +
+FileException +
+ICredentialDAO +
+ICredentials +
+IFileDAO +
+INodeDAO +
+IRepository +
+IRepositoryAdmin +
+ITicket +
+IValue +
+IVersionDetail +
+IVersionedNode +
+IVersionedNodeAdmin +
+IWorkspace +
+IWorkspaceDAO +
+InvalidParameterException +
+ItemExistsException +
+ItemNotFoundException +
+LoginException +
+LoginRepositoryAction +
+LoginRepositoryForm +
+NoSuchNodeTypeException +
+NodeDAO +
+NodeKey +
+NodeSelectionAction +
+NodeSelectionForm +
+NodeType +
+PropertyName +
+PropertyType +
+RepositoryCheckedException +
+RepositoryDispatchAction +
+RepositoryRuntimeException +
+SimpleCredentials +
+SimpleRepository +
+SimpleTicket +
+SimpleVersionDetail +
+SimpleVersionedNode +
+ValidationException +
+ValueFormatException +
+WorkspaceDAO +
+WorkspaceNotFoundException +
+
+ + + Index: lams_contentrepository/doc/allclasses-noframe.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/allclasses-noframe.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/allclasses-noframe.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,130 @@ + + + + + + +All Classes + + + + + + + + + + +All Classes +
+ + + + + +
AccessDeniedException +
+AddFileContentAction +
+AddFileContentForm +
+CrCredential +
+CrNode +
+CrNodeVersion +
+CrNodeVersionProperty +
+CrWorkspace +
+CrWorkspaceCredential +
+CredentialDAO +
+FileDAO +
+FileException +
+ICredentialDAO +
+ICredentials +
+IFileDAO +
+INodeDAO +
+IRepository +
+IRepositoryAdmin +
+ITicket +
+IValue +
+IVersionDetail +
+IVersionedNode +
+IVersionedNodeAdmin +
+IWorkspace +
+IWorkspaceDAO +
+InvalidParameterException +
+ItemExistsException +
+ItemNotFoundException +
+LoginException +
+LoginRepositoryAction +
+LoginRepositoryForm +
+NoSuchNodeTypeException +
+NodeDAO +
+NodeKey +
+NodeSelectionAction +
+NodeSelectionForm +
+NodeType +
+PropertyName +
+PropertyType +
+RepositoryCheckedException +
+RepositoryDispatchAction +
+RepositoryRuntimeException +
+SimpleCredentials +
+SimpleRepository +
+SimpleTicket +
+SimpleVersionDetail +
+SimpleVersionedNode +
+ValidationException +
+ValueFormatException +
+WorkspaceDAO +
+WorkspaceNotFoundException +
+
+ + + Index: lams_contentrepository/doc/constant-values.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/constant-values.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/constant-values.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,376 @@ + + + + + + +Constant Field Values + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Constant Field Values

+
+
+Contents + + + + + + +
+com.lamsinternational.*
+ +

+ + + + + + + + + + + + + + + + + +
com.lamsinternational.lams.contentrepository.IRepository
+public static final java.lang.StringREPOSITORY_CONTEXT_PATH"/com/lamsinternational/lams/contentrepository/contentRepositoryApplicationContext.xml"
+public static final java.lang.StringREPOSITORY_SERVICE_ID"repositoryService"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + +
com.lamsinternational.lams.contentrepository.NodeType
+public static final java.lang.StringDATANODE"DATANODE"
+public static final java.lang.StringFILENODE"FILENODE"
+public static final java.lang.StringPACKAGENODE"PACKAGENODE"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
com.lamsinternational.lams.contentrepository.PropertyName
+public static final java.lang.StringFILENAME"FILENAME"
+public static final java.lang.StringINITIALPATH"INITIALPATH"
+public static final java.lang.StringMIMETYPE"MIMETYPE"
+public static final java.lang.StringVERSIONDESC"VERSIONDESC"
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
com.lamsinternational.lams.contentrepository.PropertyType
+public static final intBOOLEAN5
+public static final intDATE4
+public static final intDOUBLE3
+public static final intLONG2
+public static final intSTRING1
+public static final java.lang.StringTYPENAME_BOOLEAN"Boolean"
+public static final java.lang.StringTYPENAME_DATE"Date"
+public static final java.lang.StringTYPENAME_DOUBLE"Double"
+public static final java.lang.StringTYPENAME_LONG"Long"
+public static final java.lang.StringTYPENAME_STRING"String"
+public static final intUNDEFINED0
+ +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
com.lamsinternational.lams.contentrepository.struts.action.RepositoryDispatchAction
+public static final java.lang.StringERROR_PATH"error"
+public static final java.lang.StringLOGOUT_PATH"logout"
+public static final java.lang.StringNODE_CACHE"nodeCache"
+public static final java.lang.StringNODE_MAP_NAME"nodeMap"
+public static final java.lang.StringSUCCESS_PATH"success"
+public static final java.lang.StringTICKET_NAME"ticket"
+public static final java.lang.StringUUID_NAME"uuid"
+public static final java.lang.StringVERSION_NAME"version"
+ +

+ +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/deprecated-list.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/deprecated-list.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/deprecated-list.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,134 @@ + + + + + + +Deprecated List + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Deprecated API

+
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/help-doc.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/help-doc.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/help-doc.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,193 @@ + + + + + + +API Help + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+How This API Document Is Organized

+
+This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.

+Overview

+
+ +

+The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

+

+Package

+
+ +

+Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain four categories:

+
+

+Class/Interface

+
+ +

+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

+Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+

+Use

+
+Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.
+

+Tree (Class Hierarchy)

+
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with java.lang.Object. The interfaces do not inherit from java.lang.Object. +
+

+Deprecated API

+
+The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.
+

+Index

+
+The Index contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.
+

+Prev/Next

+These links take you to the next or previous class, interface, package, or related page.

+Frames/No Frames

+These links show and hide the HTML frames. All pages are available with or without frames. +

+

+Serialized Form

+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description. +

+ + +This help file applies to API documentation generated using the standard doclet. + +
+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/index.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/index.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/index.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,26 @@ + + + + + + +Generated Documentation (Untitled) + + + + + + + + + +<H2> +Frame Alert</H2> + +<P> +This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. +<BR> +Link to<A HREF="overview-summary.html">Non-frame version.</A> + + + Index: lams_contentrepository/doc/overview-frame.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/overview-frame.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/overview-frame.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,52 @@ + + + + + + +Overview + + + + + + + + + + + + + + + +
+
+ + + + + +
All Classes +

+ +Packages +
+com.lamsinternational.lams.contentrepository +
+com.lamsinternational.lams.contentrepository.dao +
+com.lamsinternational.lams.contentrepository.dao.file +
+com.lamsinternational.lams.contentrepository.dao.hibernate +
+com.lamsinternational.lams.contentrepository.struts.action +
+com.lamsinternational.lams.contentrepository.struts.form +
+

+ +

+  + + Index: lams_contentrepository/doc/overview-summary.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/overview-summary.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/overview-summary.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,171 @@ + + + + + + +Overview + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +


+
+

+Content Repository +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Packages
com.lamsinternational.lams.contentrepository +This content repository is designed to store single files and +packages of files on disk in a relatively.
com.lamsinternational.lams.contentrepository.dao 
com.lamsinternational.lams.contentrepository.dao.file 
com.lamsinternational.lams.contentrepository.dao.hibernate 
com.lamsinternational.lams.contentrepository.struts.action 
com.lamsinternational.lams.contentrepository.struts.form 
+ +


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/overview-tree.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/overview-tree.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/overview-tree.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,193 @@ + + + + + + +Class Hierarchy + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For All Packages

+
+
+
Package Hierarchies:
com.lamsinternational.lams.contentrepository, com.lamsinternational.lams.contentrepository.dao, com.lamsinternational.lams.contentrepository.dao.file, com.lamsinternational.lams.contentrepository.dao.hibernate, com.lamsinternational.lams.contentrepository.struts.action, com.lamsinternational.lams.contentrepository.struts.form
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/package-list =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/package-list,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/package-list 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,6 @@ +com.lamsinternational.lams.contentrepository +com.lamsinternational.lams.contentrepository.dao +com.lamsinternational.lams.contentrepository.dao.file +com.lamsinternational.lams.contentrepository.dao.hibernate +com.lamsinternational.lams.contentrepository.struts.action +com.lamsinternational.lams.contentrepository.struts.form Index: lams_contentrepository/doc/packages.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/packages.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/packages.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+The front page has been relocated.Please see: +
+          Frame version +
+          Non-frame version.
+ + + Index: lams_contentrepository/doc/serialized-form.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/serialized-form.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/serialized-form.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,979 @@ + + + + + + +Serialized Form + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Serialized Form

+
+
+ + + + + +
+Package com.lamsinternational.lams.contentrepository.struts.form
+ +

+ + + + + +
+Class com.lamsinternational.lams.contentrepository.struts.form.AddFileContentForm extends org.apache.struts.action.ActionForm implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+theFile

+
+org.apache.struts.upload.FormFile theFile
+
+
theFile property +

+

+
+
+
+ +

+dirName

+
+java.lang.String dirName
+
+
+
+
+
+ +

+entryString

+
+java.lang.String entryString
+
+
+
+
+
+ +

+method

+
+java.lang.String method
+
+
+
+
+
+ +

+description

+
+java.lang.String description
+
+
+
+
+
+ +

+uuid

+
+java.lang.Long uuid
+
+
+
+
+ +

+ + + + + +
+Class com.lamsinternational.lams.contentrepository.struts.form.LoginRepositoryForm extends org.apache.struts.action.ActionForm implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+toolName

+
+java.lang.String toolName
+
+
toolName property +

+

+
+
+
+ +

+workspaceName

+
+java.lang.String workspaceName
+
+
workspaceName property +

+

+
+
+
+ +

+indentificationString

+
+java.lang.String indentificationString
+
+
indentificationString property +

+

+
+
+ +

+ + + + + +
+Class com.lamsinternational.lams.contentrepository.struts.form.NodeSelectionForm extends org.apache.struts.action.ActionForm implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+nodeMap

+
+java.util.Map nodeMap
+
+
+
+
+ +

+


+ + + + + +
+Class com.lamsinternational.lams.contentrepository.AccessDeniedException extends RepositoryCheckedException implements Serializable
+ +

+ +

+


+ + + + + +
+Class com.lamsinternational.lams.contentrepository.CrCredential extends java.lang.Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+credentialId

+
+java.lang.Long credentialId
+
+
identifier field +

+

+
+
+
+ +

+name

+
+java.lang.String name
+
+
persistent field +

+

+
+
+
+ +

+password

+
+java.lang.String password
+
+
persistent field +

+

+
+
+
+ +

+crWorkspaceCredentials

+
+java.util.Set crWorkspaceCredentials
+
+
persistent field +

+

+
+
+ +

+


+ + + + + +
+Class com.lamsinternational.lams.contentrepository.CrNode extends java.lang.Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+nodeId

+
+java.lang.Long nodeId
+
+
identifier field +

+

+
+
+
+ +

+path

+
+java.lang.String path
+
+
nullable persistent field +

+

+
+
+
+ +

+type

+
+java.lang.String type
+
+
persistent field +

+

+
+
+
+ +

+createdDateTime

+
+java.util.Date createdDateTime
+
+
nullable persistent field +

+

+
+
+
+ +

+nextVersionId

+
+java.lang.Long nextVersionId
+
+
persistent field +

+

+
+
+
+ +

+crWorkspace

+
+CrWorkspace crWorkspace
+
+
persistent field +

+

+
+
+
+ +

+crNodeVersions

+
+java.util.Set crNodeVersions
+
+
persistent field +

+

+
+
+
+ +

+versionHistory

+
+java.util.SortedSet versionHistory
+
+
transitory field. + don't create the versionHistory till requested, but + keep it just in case the caller asks for it again. +

+

+
+
+ +

+


+ + + + + +
+Class com.lamsinternational.lams.contentrepository.CrNodeVersion extends java.lang.Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+nvId

+
+java.lang.Long nvId
+
+
identifier field +

+

+
+
+
+ +

+versionId

+
+java.lang.Long versionId
+
+
persistent field. Should never be null, but make it a Long + (rather than long), so that we don't have to keep converting + it to Long to match UUID. +

+

+
+
+
+ +

+createdDateTime

+
+java.util.Date createdDateTime
+
+
nullable persistent field +

+

+
+
+
+ +

+node

+
+CrNode node
+
+
persistent field +

+

+
+
+
+ +

+parentNodeVersion

+
+CrNodeVersion parentNodeVersion
+
+
persistent field +

+

+
+
+
+ +

+childNodeVersions

+
+java.util.Set childNodeVersions
+
+
persistent field +

+

+
+
+
+ +

+crNodeVersionProperties

+
+java.util.Set crNodeVersionProperties
+
+
persistent field +

+

+
+
+ +

+


+ + + + + +
+Class com.lamsinternational.lams.contentrepository.CrNodeVersionProperty extends java.lang.Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+id

+
+java.lang.Long id
+
+
identifier field +

+

+
+
+
+ +

+name

+
+java.lang.String name
+
+
persistent field +

+

+
+
+
+ +

+value

+
+java.lang.String value
+
+
persistent field +

+

+
+
+
+ +

+type

+
+int type
+
+
persistent field +

+

+
+
+
+ +

+crNodeVersion

+
+CrNodeVersion crNodeVersion
+
+
persistent field +

+

+
+
+
+ +

+log

+
+org.apache.log4j.Logger log
+
+
+
+
+ +

+


+ + + + + +
+Class com.lamsinternational.lams.contentrepository.CrWorkspace extends java.lang.Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+workspaceId

+
+java.lang.Long workspaceId
+
+
identifier field +

+

+
+
+
+ +

+name

+
+java.lang.String name
+
+
persistent field +

+

+
+
+
+ +

+crWorkspaceCredentials

+
+java.util.Set crWorkspaceCredentials
+
+
persistent field +

+

+
+
+
+ +

+crNodes

+
+java.util.Set crNodes
+
+
persistent field +

+

+
+
+ +

+


+ + + + + +
+Class com.lamsinternational.lams.contentrepository.CrWorkspaceCredential extends java.lang.Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+wcId

+
+java.lang.Long wcId
+
+
identifier field +

+

+
+
+
+ +

+crWorkspace

+
+CrWorkspace crWorkspace
+
+
persistent field +

+

+
+
+
+ +

+crCredential

+
+CrCredential crCredential
+
+
persistent field +

+

+
+
+ +

+


+ + + + + +
+Class com.lamsinternational.lams.contentrepository.FileException extends RepositoryCheckedException implements Serializable
+ +

+ +

+


+ + + + + +
+Class com.lamsinternational.lams.contentrepository.InvalidParameterException extends RepositoryCheckedException implements Serializable
+ +

+ +

+


+ + + + + +
+Class com.lamsinternational.lams.contentrepository.ItemExistsException extends RepositoryCheckedException implements Serializable
+ +

+ +

+


+ + + + + +
+Class com.lamsinternational.lams.contentrepository.ItemNotFoundException extends RepositoryCheckedException implements Serializable
+ +

+ +

+


+ + + + + +
+Class com.lamsinternational.lams.contentrepository.LoginException extends RepositoryCheckedException implements Serializable
+ +

+ +

+


+ + + + + +
+Class com.lamsinternational.lams.contentrepository.NoSuchNodeTypeException extends RepositoryCheckedException implements Serializable
+ +

+ +

+


+ + + + + +
+Class com.lamsinternational.lams.contentrepository.RepositoryCheckedException extends java.lang.Exception implements Serializable
+ +

+ +

+


+ + + + + +
+Class com.lamsinternational.lams.contentrepository.RepositoryRuntimeException extends java.lang.RuntimeException implements Serializable
+ +

+ +

+


+ + + + + +
+Class com.lamsinternational.lams.contentrepository.SimpleCredentials extends java.lang.Object implements Serializable
+ +

+ + + + + +
+Serialized Fields
+ +

+name

+
+java.lang.String name
+
+
+
+
+
+ +

+password

+
+char[] password
+
+
+
+
+ +

+


+ + + + + +
+Class com.lamsinternational.lams.contentrepository.ValidationException extends RepositoryCheckedException implements Serializable
+ +

+ +

+


+ + + + + +
+Class com.lamsinternational.lams.contentrepository.ValueFormatException extends RepositoryCheckedException implements Serializable
+ +

+ +

+


+ + + + + +
+Class com.lamsinternational.lams.contentrepository.WorkspaceNotFoundException extends RepositoryCheckedException implements Serializable
+ +

+ +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/stylesheet.css =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/stylesheet.css,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/stylesheet.css 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,29 @@ +/* Javadoc style sheet */ + +/* Define colors, fonts and other style attributes here to override the defaults */ + +/* Page background color */ +body { background-color: #FFFFFF } + +/* Headings */ +h1 { font-size: 145% } + +/* Table colors */ +.TableHeadingColor { background: #CCCCFF } /* Dark mauve */ +.TableSubHeadingColor { background: #EEEEFF } /* Light mauve */ +.TableRowColor { background: #FFFFFF } /* White */ + +/* Font used in left-hand frame lists */ +.FrameTitleFont { font-size: 100%; font-family: Helvetica, Arial, sans-serif } +.FrameHeadingFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif } +.FrameItemFont { font-size: 90%; font-family: Helvetica, Arial, sans-serif } + +/* Navigation bar fonts and colors */ +.NavBarCell1 { background-color:#EEEEFF;} /* Light mauve */ +.NavBarCell1Rev { background-color:#00008B;} /* Dark Blue */ +.NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;} +.NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;} + +.NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} +.NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/AccessDeniedException.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/AccessDeniedException.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/AccessDeniedException.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,306 @@ + + + + + + +AccessDeniedException + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Class AccessDeniedException

+
+java.lang.Object
+  extended byjava.lang.Throwable
+      extended byjava.lang.Exception
+          extended bycom.lamsinternational.lams.contentrepository.RepositoryCheckedException
+              extended bycom.lamsinternational.lams.contentrepository.AccessDeniedException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class AccessDeniedException
extends RepositoryCheckedException
+ +

+The current ticket doesn't have sufficient rights for the requested action. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
AccessDeniedException() + +
+          Constructs a new instance of this class.
AccessDeniedException(java.lang.String s) + +
+          Constructs a new instance of this class given a message describing the + failure cause.
AccessDeniedException(java.lang.String s, + java.lang.Throwable cause) + +
+          Constructs a new instance of this class given a message describing the + failure and a root throwable.
AccessDeniedException(java.lang.Throwable cause) + +
+          Constructs a new instance of this class given a root throwable.
+  + + + + + + + + + + +
Methods inherited from class com.lamsinternational.lams.contentrepository.RepositoryCheckedException
getMessage
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+AccessDeniedException

+
+public AccessDeniedException()
+
+
Constructs a new instance of this class. +

+

+
+ +

+AccessDeniedException

+
+public AccessDeniedException(java.lang.String s)
+
+
Constructs a new instance of this class given a message describing the + failure cause. +

+

Parameters:
s - description
+
+ +

+AccessDeniedException

+
+public AccessDeniedException(java.lang.String s,
+                             java.lang.Throwable cause)
+
+
Constructs a new instance of this class given a message describing the + failure and a root throwable. +

+

Parameters:
s - description
cause - root throwable cause
+
+ +

+AccessDeniedException

+
+public AccessDeniedException(java.lang.Throwable cause)
+
+
Constructs a new instance of this class given a root throwable. +

+

Parameters:
cause - root failure cause
+ + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/AllTests.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/AllTests.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/AllTests.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,263 @@ + + + + + + +AllTests + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Class AllTests

+
+java.lang.Object
+  extended bycom.lamsinternational.lams.contentrepository.AllTests
+
+
+
+
public class AllTests
extends java.lang.Object
+ +

+Runs all the currently implemented tests for the Content Repository. + Before running, load the test data in the database, clear + the repository and check that the files listed in BaseTestCase + exist. +

+ +

+

+
Author:
+
Fiona Malikoff
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
AllTests() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static junit.framework.Testsuite() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+AllTests

+
+public AllTests()
+
+
+ + + + + + + + +
+Method Detail
+ +

+suite

+
+public static junit.framework.Test suite()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/BaseTestCase.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/BaseTestCase.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/BaseTestCase.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,246 @@ + + + + + + +BaseTestCase + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Class BaseTestCase

+
+java.lang.Object
+  extended byjunit.framework.Assert
+      extended byjunit.framework.TestCase
+          extended bycom.lamsinternational.lams.contentrepository.BaseTestCase
+
+
+
All Implemented Interfaces:
junit.framework.Test
+
+
+
Direct Known Subclasses:
TestFileDAO, TestSimpleRepository, TestSimpleTicket, TestSimpleVersionedNode
+
+
+
+
public class BaseTestCase
extends junit.framework.TestCase
+ +

+


+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
BaseTestCase() + +
+           
+  + + + + + + + + + + +
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, setName, toString
+ + + + + + + +
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+BaseTestCase

+
+public BaseTestCase()
+
+
+ + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/CrCredential.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/CrCredential.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/CrCredential.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,502 @@ + + + + + + +CrCredential + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Class CrCredential

+
+java.lang.Object
+  extended bycom.lamsinternational.lams.contentrepository.CrCredential
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class CrCredential
extends java.lang.Object
implements java.io.Serializable
+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + +
+Constructor Summary
CrCredential() + +
+          default constructor
CrCredential(java.lang.String name, + java.lang.String password, + java.util.Set crWorkspaceCredentials) + +
+          full constructor
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanequals(java.lang.Object other) + +
+           
+ java.lang.LonggetCredentialId() + +
+           
+ java.util.SetgetCrWorkspaceCredentials() + +
+           
+ java.lang.StringgetName() + +
+           
+ java.lang.StringgetPassword() + +
+           
+ inthashCode() + +
+           
+ voidsetCredentialId(java.lang.Long credentialId) + +
+           
+ voidsetCrWorkspaceCredentials(java.util.Set crWorkspaceCredentials) + +
+           
+ voidsetName(java.lang.String name) + +
+           
+ voidsetPassword(java.lang.String password) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+CrCredential

+
+public CrCredential(java.lang.String name,
+                    java.lang.String password,
+                    java.util.Set crWorkspaceCredentials)
+
+
full constructor +

+

+
+ +

+CrCredential

+
+public CrCredential()
+
+
default constructor +

+

+ + + + + + + + +
+Method Detail
+ +

+getCredentialId

+
+public java.lang.Long getCredentialId()
+
+
+
+
+
+
+
+
+
+ +

+setCredentialId

+
+public void setCredentialId(java.lang.Long credentialId)
+
+
+
+
+
+
+
+
+
+ +

+getName

+
+public java.lang.String getName()
+
+
+
+
+
+
+
+
+
+ +

+setName

+
+public void setName(java.lang.String name)
+
+
+
+
+
+
+
+
+
+ +

+getPassword

+
+public java.lang.String getPassword()
+
+
+
+
+
+
+
+
+
+ +

+setPassword

+
+public void setPassword(java.lang.String password)
+
+
+
+
+
+
+
+
+
+ +

+getCrWorkspaceCredentials

+
+public java.util.Set getCrWorkspaceCredentials()
+
+
+
+
+
+
+
+
+
+ +

+setCrWorkspaceCredentials

+
+public void setCrWorkspaceCredentials(java.util.Set crWorkspaceCredentials)
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object other)
+
+
+
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/CrNode.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/CrNode.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/CrNode.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,790 @@ + + + + + + +CrNode + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Class CrNode

+
+java.lang.Object
+  extended bycom.lamsinternational.lams.contentrepository.CrNode
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class CrNode
extends java.lang.Object
implements java.io.Serializable
+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
CrNode() + +
+          default constructor
CrNode(java.lang.String type, + java.lang.Long nextVersionId, + CrWorkspace crWorkspace, + java.util.Set crNodeVersions) + +
+          minimal constructor
CrNode(java.lang.String path, + java.lang.String type, + java.util.Date createdDateTime, + java.lang.Long nextVersionId, + CrWorkspace crWorkspace, + java.util.Set crNodeVersions) + +
+          full constructor
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanequals(java.lang.Object other) + +
+           
+ java.util.DategetCreatedDateTime() + +
+           
+ java.util.SetgetCrNodeVersions() + +
+           
+ CrWorkspacegetCrWorkspace() + +
+           
+ java.lang.LonggetNextVersionId() + +
+           
+ java.lang.LonggetNodeId() + +
+           
+ CrNodeVersiongetNodeVersion(java.lang.Long versionId) + +
+          Get a particular version of this node
+ java.lang.StringgetPath() + +
+           
+ java.lang.StringgetType() + +
+           
+ java.util.SortedSetgetVersionHistory() + +
+          Get the history for this node.
+ java.lang.Long[]getVersionIds() + +
+          Get a list of all the versions - just the Long value.
+ inthashCode() + +
+           
+ java.lang.LongincrementNextVersionId() + +
+          Get the next version id for this node and then + increment it.
+ booleanisNodeType(java.lang.String nodeTypeName) + +
+          Indicates whether this node is of the specified node type.
+ voidsetCreatedDateTime(java.util.Date createdDateTime) + +
+           
+ voidsetCrNodeVersions(java.util.Set crNodeVersions) + +
+           
+ voidsetCrWorkspace(CrWorkspace crWorkspace) + +
+           
+ voidsetNextVersionId(java.lang.Long nextVersionId) + +
+           
+ voidsetNodeId(java.lang.Long nodeId) + +
+           
+ voidsetPath(java.lang.String path) + +
+           
+ voidsetType(java.lang.String type) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+CrNode

+
+public CrNode(java.lang.String path,
+              java.lang.String type,
+              java.util.Date createdDateTime,
+              java.lang.Long nextVersionId,
+              CrWorkspace crWorkspace,
+              java.util.Set crNodeVersions)
+
+
full constructor +

+

+
+ +

+CrNode

+
+public CrNode()
+
+
default constructor +

+

+
+ +

+CrNode

+
+public CrNode(java.lang.String type,
+              java.lang.Long nextVersionId,
+              CrWorkspace crWorkspace,
+              java.util.Set crNodeVersions)
+
+
minimal constructor +

+

+ + + + + + + + +
+Method Detail
+ +

+getNodeId

+
+public java.lang.Long getNodeId()
+
+
+
+
+
+
+
+
+
+ +

+setNodeId

+
+public void setNodeId(java.lang.Long nodeId)
+
+
+
+
+
+
+
+
+
+ +

+getPath

+
+public java.lang.String getPath()
+
+
+
+
+
+
+
+
+
+ +

+setPath

+
+public void setPath(java.lang.String path)
+
+
+
+
+
+
+
+
+
+ +

+getType

+
+public java.lang.String getType()
+
+
+
+
+
+
+
+
+
+ +

+setType

+
+public void setType(java.lang.String type)
+
+
+
+
+
+
+
+
+
+ +

+getCreatedDateTime

+
+public java.util.Date getCreatedDateTime()
+
+
+
+
+
+
+
+
+
+ +

+setCreatedDateTime

+
+public void setCreatedDateTime(java.util.Date createdDateTime)
+
+
+
+
+
+
+
+
+
+ +

+getNextVersionId

+
+public java.lang.Long getNextVersionId()
+
+
+
+
+
+
+
+
+
+ +

+setNextVersionId

+
+public void setNextVersionId(java.lang.Long nextVersionId)
+
+
+
+
+
+
+
+
+
+ +

+getCrWorkspace

+
+public CrWorkspace getCrWorkspace()
+
+
+
+
+
+
+
+
+
+ +

+setCrWorkspace

+
+public void setCrWorkspace(CrWorkspace crWorkspace)
+
+
+
+
+
+
+
+
+
+ +

+getCrNodeVersions

+
+public java.util.Set getCrNodeVersions()
+
+
+
+
+
+
+
+
+
+ +

+setCrNodeVersions

+
+public void setCrNodeVersions(java.util.Set crNodeVersions)
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object other)
+
+
+
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
+
+
+
+
+
+
+ +

+incrementNextVersionId

+
+public java.lang.Long incrementNextVersionId()
+
+
Get the next version id for this node and then + increment it. + TODO check synchronisation +

+

+
+
+
+
+
+
+
+ +

+getVersionHistory

+
+public java.util.SortedSet getVersionHistory()
+
+
Get the history for this node. Quite intensive operation the + first time it is run on a node as it has to build all the + data structures. +

+

+
+
+
+ +
Returns:
SortedSet of IVersionDetail objects, ordered by version
+
+
+
+ +

+isNodeType

+
+public boolean isNodeType(java.lang.String nodeTypeName)
+
+
Indicates whether this node is of the specified node type. +

+

+
+
+
+
Parameters:
nodeTypeName - the name of a node type. +
Returns:
true if this node is of the specified node type + or a subtype of the specified node type; returns false otherwise.
+
+
+
+ +

+getNodeVersion

+
+public CrNodeVersion getNodeVersion(java.lang.Long versionId)
+
+
Get a particular version of this node +

+

+
+
+
+
+
+
+
+ +

+getVersionIds

+
+public java.lang.Long[] getVersionIds()
+
+
Get a list of all the versions - just the Long value. +

+

+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/CrNodeVersion.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/CrNodeVersion.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/CrNodeVersion.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,943 @@ + + + + + + +CrNodeVersion + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Class CrNodeVersion

+
+java.lang.Object
+  extended bycom.lamsinternational.lams.contentrepository.CrNodeVersion
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class CrNodeVersion
extends java.lang.Object
implements java.io.Serializable
+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
CrNodeVersion() + +
+          default constructor
CrNodeVersion(java.lang.Long versionId, + CrNode node, + CrNodeVersion parentNodeVersion, + java.util.Set crNodeVersionProperties, + java.util.Set childNodeVersions) + +
+          minimal constructor
CrNodeVersion(java.lang.Long versionId, + java.util.Date createdDateTime, + CrNode node, + CrNodeVersion parentNodeVersion, + java.util.Set crNodeVersionProperties, + java.util.Set childNodeVersions) + +
+          full constructor
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidaddChildNodeVersion(CrNodeVersion childNode) + +
+          Add a child node to the childNodeVersions collection.
+ booleanequals(java.lang.Object other) + +
+           
+ CrNodeVersiongetChildNodeVersion(java.lang.String relPath) + +
+          Remove a child node to the childNodeVersions collection.
+ java.util.SetgetChildNodeVersions() + +
+          Gets the set of child nodes.
+ java.util.DategetCreatedDateTime() + +
+           
+ java.util.SetgetCrNodeVersionProperties() + +
+           
+ CrNodegetNode() + +
+           
+ java.lang.LonggetNvId() + +
+           
+ CrNodeVersiongetParentNodeVersion() + +
+           
+ CrNodeVersionPropertygetProperty(java.lang.String name) + +
+          Get a property value
+ java.lang.StringgetVersionDescription() + +
+          Get the version description.
+ java.lang.LonggetVersionId() + +
+           
+ inthashCode() + +
+           
+ booleanhasProperties() + +
+          Indicates whether this node has properties.
+ booleanhasProperty(java.lang.String name) + +
+          Indicates whether a property exists for this name + Returns true if a property exists and false otherwise.
+ voidremoveChildNodeVersion(CrNodeVersion childNode) + +
+          Remove a child node to the childNodeVersions collection.
+ voidremoveProperty(java.lang.String name) + +
+          Remove a property
+ voidsetChildNodeVersions(java.util.Set childNodeVersions) + +
+          Assigns a new set of child nodes.
+ voidsetCreatedDateTime(java.util.Date createdDateTime) + +
+           
+ voidsetCrNodeVersionProperties(java.util.Set crNodeVersionProperties) + +
+           
+ voidsetNode(CrNode node) + +
+           
+ voidsetNvId(java.lang.Long nvId) + +
+           
+ voidsetParentNodeVersion(CrNodeVersion parentNodeVersion) + +
+           
+ CrNodeVersionPropertysetProperty(java.lang.String name, + java.lang.Object value, + int valueType) + +
+          Set a property value.
+ voidsetVersionDescription(java.lang.String description) + +
+          Set the version description.
+ voidsetVersionId(java.lang.Long versionId) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+CrNodeVersion

+
+public CrNodeVersion(java.lang.Long versionId,
+                     java.util.Date createdDateTime,
+                     CrNode node,
+                     CrNodeVersion parentNodeVersion,
+                     java.util.Set crNodeVersionProperties,
+                     java.util.Set childNodeVersions)
+
+
full constructor +

+

+
+ +

+CrNodeVersion

+
+public CrNodeVersion()
+
+
default constructor +

+

+
+ +

+CrNodeVersion

+
+public CrNodeVersion(java.lang.Long versionId,
+                     CrNode node,
+                     CrNodeVersion parentNodeVersion,
+                     java.util.Set crNodeVersionProperties,
+                     java.util.Set childNodeVersions)
+
+
minimal constructor +

+

+ + + + + + + + +
+Method Detail
+ +

+getNvId

+
+public java.lang.Long getNvId()
+
+
+
+
+
+
+
+
+
+ +

+setNvId

+
+public void setNvId(java.lang.Long nvId)
+
+
+
+
+
+
+
+
+
+ +

+getVersionId

+
+public java.lang.Long getVersionId()
+
+
+
+
+
+
+
+
+
+ +

+setVersionId

+
+public void setVersionId(java.lang.Long versionId)
+
+
+
+
+
+
+
+
+
+ +

+getCreatedDateTime

+
+public java.util.Date getCreatedDateTime()
+
+
+
+
+
+
+
+
+
+ +

+setCreatedDateTime

+
+public void setCreatedDateTime(java.util.Date createdDateTime)
+
+
+
+
+
+
+
+
+
+ +

+getNode

+
+public CrNode getNode()
+
+
+
+
+
+
+
+
+
+ +

+setNode

+
+public void setNode(CrNode node)
+
+
+
+
+
+
+
+
+
+ +

+getParentNodeVersion

+
+public CrNodeVersion getParentNodeVersion()
+
+
+
+
+
+
+
+
+
+ +

+setParentNodeVersion

+
+public void setParentNodeVersion(CrNodeVersion parentNodeVersion)
+
+
+
+
+
+
+
+
+
+ +

+getCrNodeVersionProperties

+
+public java.util.Set getCrNodeVersionProperties()
+
+
+
+
+
+
+
+
+
+ +

+setCrNodeVersionProperties

+
+public void setCrNodeVersionProperties(java.util.Set crNodeVersionProperties)
+
+
+
+
+
+
+
+
+
+ +

+getChildNodeVersions

+
+public java.util.Set getChildNodeVersions()
+
+
Gets the set of child nodes. Do not use this method if you can use + addChildNodeVersion(), removeChildNodeVersion() or + getChildNodeVersion() instead. +

+

+
+
+
+
+
+
+
+ +

+setChildNodeVersions

+
+public void setChildNodeVersions(java.util.Set childNodeVersions)
+
+
Assigns a new set of child nodes. Do not use this method if + you can use addChildNodeVersion(), removeChildNodeVersion() or + getChildNodeVersion() instead. +

+

+
+
+
+
+
+
+
+ +

+addChildNodeVersion

+
+public void addChildNodeVersion(CrNodeVersion childNode)
+
+
Add a child node to the childNodeVersions collection. + Use this method rather than calling getChildNodeVersions() + and adding to the set. See also removeChildNodeVersion() + and getChildNodeVersion(); +

+

+
+
+
+
Parameters:
childNode -
+
+
+
+ +

+removeChildNodeVersion

+
+public void removeChildNodeVersion(CrNodeVersion childNode)
+
+
Remove a child node to the childNodeVersions collection. + Use this method rather than calling getChildNodeVersions() + and iterating through the set. See also addChildNodeVersion() + and getChildNodeVersion(); + + Uses equals method defined in this class. + + Not tested!!!! +

+

+
+
+
+
Parameters:
childNode -
+
+
+
+ +

+getChildNodeVersion

+
+public CrNodeVersion getChildNodeVersion(java.lang.String relPath)
+
+
Remove a child node to the childNodeVersions collection. + Use this method rather than calling getChildNodeVersions() + and iterating through the set. See also addChildNodeVersion() + and removeChildNodeVersion(); +

+

+
+
+
+
Parameters:
relPath - of child
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object other)
+
+
+
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
+
+
+
+
+
+
+ +

+getProperty

+
+public CrNodeVersionProperty getProperty(java.lang.String name)
+
+
Get a property value +

+

+
+
+
+
+
+
+
+ +

+removeProperty

+
+public void removeProperty(java.lang.String name)
+
+
Remove a property +

+

+
+
+
+
+
+
+
+ +

+setProperty

+
+public CrNodeVersionProperty setProperty(java.lang.String name,
+                                         java.lang.Object value,
+                                         int valueType)
+                                  throws RepositoryRuntimeException
+
+
Set a property value. Removes the property if the value is null +

+

+
+
+
+ +
Returns:
CrNodeVersionProperty for inserted/updated value, null if removing value +
Throws: +
RepositoryRuntimeException - if name is null
+
+
+
+ +

+getVersionDescription

+
+public java.lang.String getVersionDescription()
+
+
Get the version description. Stored as a property so + could be accessed via getProperty() +

+

+
+
+
+
+
+
+
+ +

+setVersionDescription

+
+public void setVersionDescription(java.lang.String description)
+
+
Set the version description. Stored as a property so + could be accessed via setProperty +

+

+
+
+
+
+
+
+
+ +

+hasProperty

+
+public boolean hasProperty(java.lang.String name)
+
+
Indicates whether a property exists for this name + Returns true if a property exists and false otherwise. +

+

+
+
+
+
Parameters:
name - The name of a (possible) property. +
Returns:
true if a property exists at relPath; + false otherwise.
+
+
+
+ +

+hasProperties

+
+public boolean hasProperties()
+
+
Indicates whether this node has properties. + Returns true if this node has one or more properties; + false otherwise. +

+

+
+
+
+ +
Returns:
true if this node has one or more properties; + false otherwise.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/CrNodeVersionProperty.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/CrNodeVersionProperty.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/CrNodeVersionProperty.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,685 @@ + + + + + + +CrNodeVersionProperty + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Class CrNodeVersionProperty

+
+java.lang.Object
+  extended bycom.lamsinternational.lams.contentrepository.CrNodeVersionProperty
+
+
+
All Implemented Interfaces:
IValue, java.io.Serializable
+
+
+
+
public class CrNodeVersionProperty
extends java.lang.Object
implements IValue, java.io.Serializable
+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + +
+Constructor Summary
CrNodeVersionProperty() + +
+          default constructor
CrNodeVersionProperty(java.lang.String name, + java.lang.String value, + int type, + CrNodeVersion crNodeVersion) + +
+          full constructor
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanequals(java.lang.Object other) + +
+           
+ booleangetBoolean() + +
+          Returns a boolean representation of the value.
+ CrNodeVersiongetCrNodeVersion() + +
+           
+ java.util.CalendargetDate() + +
+          Returns a Calendar representation of the value.
+ doublegetDouble() + +
+          Returns a double representation of the value.
+ java.lang.LonggetId() + +
+           
+ longgetLong() + +
+          Returns a long representation of the value.
+ java.lang.StringgetName() + +
+           
+ java.lang.StringgetString() + +
+          Returns a string representation of the value.
+ intgetType() + +
+           
+ java.lang.StringgetValue() + +
+           
+ inthashCode() + +
+           
+ voidsetCrNodeVersion(CrNodeVersion crNodeVersion) + +
+           
+ voidsetId(java.lang.Long id) + +
+           
+ voidsetName(java.lang.String name) + +
+           
+ voidsetType(int type) + +
+           
+ voidsetValue(java.lang.String value) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+CrNodeVersionProperty

+
+public CrNodeVersionProperty(java.lang.String name,
+                             java.lang.String value,
+                             int type,
+                             CrNodeVersion crNodeVersion)
+
+
full constructor +

+

+
+ +

+CrNodeVersionProperty

+
+public CrNodeVersionProperty()
+
+
default constructor +

+

+ + + + + + + + +
+Method Detail
+ +

+getId

+
+public java.lang.Long getId()
+
+
+
+
+
+
+
+
+
+ +

+setId

+
+public void setId(java.lang.Long id)
+
+
+
+
+
+
+
+
+
+ +

+getName

+
+public java.lang.String getName()
+
+
+
+
+
+
+
+
+
+ +

+setName

+
+public void setName(java.lang.String name)
+
+
+
+
+
+
+
+
+
+ +

+getValue

+
+public java.lang.String getValue()
+
+
+
+
+
+
+
+
+
+ +

+setValue

+
+public void setValue(java.lang.String value)
+
+
+
+
+
+
+
+
+
+ +

+getType

+
+public int getType()
+
+
+
Specified by:
getType in interface IValue
+
+
+ +
Returns:
the type of this Value. See PropertyType for values.
+
+
+
+ +

+setType

+
+public void setType(int type)
+
+
+
+
+
+
+
+
+
+ +

+getCrNodeVersion

+
+public CrNodeVersion getCrNodeVersion()
+
+
+
+
+
+
+
+
+
+ +

+setCrNodeVersion

+
+public void setCrNodeVersion(CrNodeVersion crNodeVersion)
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object other)
+
+
+
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
+
+
+
+
+
+
+ +

+getString

+
+public java.lang.String getString()
+
+
Returns a string representation of the value. +

+

+
Specified by:
getString in interface IValue
+
+
+ +
Throws: +
ValueFormatException - If able to convert the value to a string. +
java.lang.IllegalStateException - If calling getString() on a file and the stream cannot be read. +
RepositoryException - If another error occurs.
+
+
+
+ +

+getDouble

+
+public double getDouble()
+                 throws ValueFormatException
+
+
Returns a double representation of the value. +

+

+
Specified by:
getDouble in interface IValue
+
+
+ +
Throws: +
ValueFormatException - If able to convert the value to a double.
+
+
+
+ +

+getDate

+
+public java.util.Calendar getDate()
+                           throws ValueFormatException
+
+
Returns a Calendar representation of the value. +

+

+
Specified by:
getDate in interface IValue
+
+
+ +
Throws: +
ValueFormatException - If able to convert the value to a Calendar.
+
+
+
+ +

+getLong

+
+public long getLong()
+             throws ValueFormatException
+
+
Returns a long representation of the value. +

+

+
Specified by:
getLong in interface IValue
+
+
+ +
Throws: +
ValueFormatException - If able to convert the value to a long.
+
+
+
+ +

+getBoolean

+
+public boolean getBoolean()
+                   throws ValueFormatException
+
+
Returns a boolean representation of the value. +

+

+
Specified by:
getBoolean in interface IValue
+
+
+ +
Throws: +
ValueFormatException - If able to convert the value to a boolean.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/CrWorkspace.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/CrWorkspace.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/CrWorkspace.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,502 @@ + + + + + + +CrWorkspace + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Class CrWorkspace

+
+java.lang.Object
+  extended bycom.lamsinternational.lams.contentrepository.CrWorkspace
+
+
+
All Implemented Interfaces:
IWorkspace, java.io.Serializable
+
+
+
+
public class CrWorkspace
extends java.lang.Object
implements IWorkspace, java.io.Serializable
+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + +
+Constructor Summary
CrWorkspace() + +
+          default constructor
CrWorkspace(java.lang.String name, + java.util.Set crWorkspaceCredentials, + java.util.Set crNodes) + +
+          full constructor
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanequals(java.lang.Object other) + +
+           
+ java.util.SetgetCrNodes() + +
+           
+ java.util.SetgetCrWorkspaceCredentials() + +
+           
+ java.lang.StringgetName() + +
+           
+ java.lang.LonggetWorkspaceId() + +
+           
+ inthashCode() + +
+           
+ voidsetCrNodes(java.util.Set crNodes) + +
+           
+ voidsetCrWorkspaceCredentials(java.util.Set crWorkspaceCredentials) + +
+           
+ voidsetName(java.lang.String name) + +
+           
+ voidsetWorkspaceId(java.lang.Long workspaceId) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+CrWorkspace

+
+public CrWorkspace(java.lang.String name,
+                   java.util.Set crWorkspaceCredentials,
+                   java.util.Set crNodes)
+
+
full constructor +

+

+
+ +

+CrWorkspace

+
+public CrWorkspace()
+
+
default constructor +

+

+ + + + + + + + +
+Method Detail
+ +

+getWorkspaceId

+
+public java.lang.Long getWorkspaceId()
+
+
+
Specified by:
getWorkspaceId in interface IWorkspace
+
+
+
+
+
+
+ +

+setWorkspaceId

+
+public void setWorkspaceId(java.lang.Long workspaceId)
+
+
+
+
+
+
+
+
+
+ +

+getName

+
+public java.lang.String getName()
+
+
+
Specified by:
getName in interface IWorkspace
+
+
+
+
+
+
+ +

+setName

+
+public void setName(java.lang.String name)
+
+
+
+
+
+
+
+
+
+ +

+getCrWorkspaceCredentials

+
+public java.util.Set getCrWorkspaceCredentials()
+
+
+
+
+
+
+
+
+
+ +

+setCrWorkspaceCredentials

+
+public void setCrWorkspaceCredentials(java.util.Set crWorkspaceCredentials)
+
+
+
+
+
+
+
+
+
+ +

+getCrNodes

+
+public java.util.Set getCrNodes()
+
+
+
+
+
+
+
+
+
+ +

+setCrNodes

+
+public void setCrNodes(java.util.Set crNodes)
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object other)
+
+
+
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/CrWorkspaceCredential.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/CrWorkspaceCredential.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/CrWorkspaceCredential.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,456 @@ + + + + + + +CrWorkspaceCredential + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Class CrWorkspaceCredential

+
+java.lang.Object
+  extended bycom.lamsinternational.lams.contentrepository.CrWorkspaceCredential
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class CrWorkspaceCredential
extends java.lang.Object
implements java.io.Serializable
+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + +
+Constructor Summary
CrWorkspaceCredential() + +
+          default constructor
CrWorkspaceCredential(CrWorkspace crWorkspace, + CrCredential crCredential) + +
+          full constructor
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanequals(java.lang.Object other) + +
+           
+ CrCredentialgetCrCredential() + +
+           
+ CrWorkspacegetCrWorkspace() + +
+           
+ java.lang.LonggetWcId() + +
+           
+ inthashCode() + +
+           
+ voidsetCrCredential(CrCredential crCredential) + +
+           
+ voidsetCrWorkspace(CrWorkspace crWorkspace) + +
+           
+ voidsetWcId(java.lang.Long wcId) + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+CrWorkspaceCredential

+
+public CrWorkspaceCredential(CrWorkspace crWorkspace,
+                             CrCredential crCredential)
+
+
full constructor +

+

+
+ +

+CrWorkspaceCredential

+
+public CrWorkspaceCredential()
+
+
default constructor +

+

+ + + + + + + + +
+Method Detail
+ +

+getWcId

+
+public java.lang.Long getWcId()
+
+
+
+
+
+
+
+
+
+ +

+setWcId

+
+public void setWcId(java.lang.Long wcId)
+
+
+
+
+
+
+
+
+
+ +

+getCrWorkspace

+
+public CrWorkspace getCrWorkspace()
+
+
+
+
+
+
+
+
+
+ +

+setCrWorkspace

+
+public void setCrWorkspace(CrWorkspace crWorkspace)
+
+
+
+
+
+
+
+
+
+ +

+getCrCredential

+
+public CrCredential getCrCredential()
+
+
+
+
+
+
+
+
+
+ +

+setCrCredential

+
+public void setCrCredential(CrCredential crCredential)
+
+
+
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object other)
+
+
+
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/FileException.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/FileException.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/FileException.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,307 @@ + + + + + + +FileException + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Class FileException

+
+java.lang.Object
+  extended byjava.lang.Throwable
+      extended byjava.lang.Exception
+          extended bycom.lamsinternational.lams.contentrepository.RepositoryCheckedException
+              extended bycom.lamsinternational.lams.contentrepository.FileException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class FileException
extends RepositoryCheckedException
+ +

+Some error was generated reading or writing the files + to disk. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
FileException() + +
+          Constructs a new instance of this class.
FileException(java.lang.String s) + +
+          Constructs a new instance of this class given a message describing the + failure cause.
FileException(java.lang.String s, + java.lang.Throwable cause) + +
+          Constructs a new instance of this class given a message describing the + failure and a root throwable.
FileException(java.lang.Throwable cause) + +
+          Constructs a new instance of this class given a root throwable.
+  + + + + + + + + + + +
Methods inherited from class com.lamsinternational.lams.contentrepository.RepositoryCheckedException
getMessage
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+FileException

+
+public FileException()
+
+
Constructs a new instance of this class. +

+

+
+ +

+FileException

+
+public FileException(java.lang.String s)
+
+
Constructs a new instance of this class given a message describing the + failure cause. +

+

Parameters:
s - description
+
+ +

+FileException

+
+public FileException(java.lang.String s,
+                     java.lang.Throwable cause)
+
+
Constructs a new instance of this class given a message describing the + failure and a root throwable. +

+

Parameters:
s - description
cause - root throwable cause
+
+ +

+FileException

+
+public FileException(java.lang.Throwable cause)
+
+
Constructs a new instance of this class given a root throwable. +

+

Parameters:
cause - root failure cause
+ + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/ICredentials.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/ICredentials.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/ICredentials.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,286 @@ + + + + + + +ICredentials + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Interface ICredentials

+
+
All Superinterfaces:
java.io.Serializable
+
+
+
All Known Implementing Classes:
SimpleCredentials
+
+
+
+
public interface ICredentials
extends java.io.Serializable
+ +

+Base interface for all credentials that may be passed to the + Repository.login() method. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearPassword() + +
+          Clear the current password - important not to leave this lying around.
+ java.lang.StringgetName() + +
+          Returns the name of the tool.
+ char[]getPassword() + +
+          Returns the password.
+  +

+ + + + + + + + + + + + + + +
+Method Detail
+ +

+getName

+
+public java.lang.String getName()
+
+
Returns the name of the tool. +

+

+
+
+
+ +
Returns:
the tool name.
+
+
+
+ +

+getPassword

+
+public char[] getPassword()
+
+
Returns the password. +

+ Note that this method returns a reference to the password. + The password is set when the creditionals are passed in to get a ticket, + and then removed. +

+

+

+
+
+
+ +
Returns:
the password.
+
+
+
+ +

+clearPassword

+
+public void clearPassword()
+
+
Clear the current password - important not to leave this lying around. + + After the credential is used, it should be cleared to ensure the + identification string isn't held in memory. +

+

+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/IRepository.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/IRepository.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/IRepository.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,790 @@ + + + + + + +IRepository + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Interface IRepository

+
+
All Known Subinterfaces:
IRepositoryAdmin
+
+
+
All Known Implementing Classes:
SimpleRepository
+
+
+
+
public interface IRepository
+ +

+Tool access to the repository +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + +
+Field Summary
+static java.lang.StringREPOSITORY_CONTEXT_PATH + +
+          String used to define the path to the context file
+static java.lang.StringREPOSITORY_SERVICE_ID + +
+          String used to define service in Spring context
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ NodeKeyaddFileItem(ITicket ticket, + java.io.InputStream istream, + java.lang.String filename, + java.lang.String mimeType, + java.lang.String versionDescription) + +
+          Add a new file to the repository.
+ NodeKeyaddPackageItem(ITicket ticket, + java.lang.String dirPath, + java.lang.String startFile, + java.lang.String versionDescription) + +
+          Add a new package of files to the repository.
+ voidaddWorkspace(ICredentials credentials, + java.lang.String workspaceName) + +
+          Create a new workspace, with the tool identified in the creditials + as the owner.
+ voidcreateCredential(ICredentials newCredential) + +
+          Create a new repository "user" - usually a tool.
+ java.lang.String[]deleteNode(ITicket ticket, + java.lang.Long uuid) + +
+          Delete a node and all its versions, returning a list of the files + that could not be deleted properly.
+ java.lang.String[]deleteVersion(ITicket ticket, + java.lang.Long uuid, + java.lang.Long version) + +
+          Delete the current version of a node, returning a list of the files + that could not be deleted properly.
+ IVersionedNodegetFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.Long version) + +
+          Get an item from the repository based on the UUID.
+ IVersionedNodegetFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String relPath, + java.lang.Long versionId) + +
+          Get an item from the repository based on the UUID and relative + path.
+ java.util.SortedMapgetNodeList(ITicket ticket) + +
+          Get a complete list of all nodes in the workspace and their + version histories.
+ java.util.SortedSetgetVersionHistory(ITicket ticket, + java.lang.Long uuid) + +
+          Get the history for a node.
+ ITicketlogin(ICredentials credentials, + java.lang.String workspaceName) + +
+          Login, creating a new ticket for the given credentials and specified + workspace.
+ voidlogout(ITicket ticket) + +
+          Finish using this ticket.
+ voidupdateCredentials(ICredentials oldCredential, + ICredentials newCredential) + +
+          Update a credential.
+ NodeKeyupdateFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String filename, + java.io.InputStream istream, + java.lang.String mimeType, + java.lang.String versionDescription) + +
+          Update an existing file in the repository.
+ NodeKeyupdatePackageItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String dirPath, + java.lang.String startFile, + java.lang.String versionDescription) + +
+          Add a new package of files to the repository.
+  +

+ + + + + + + + +
+Field Detail
+ +

+REPOSITORY_SERVICE_ID

+
+public static final java.lang.String REPOSITORY_SERVICE_ID
+
+
String used to define service in Spring context +

+

+
See Also:
Constant Field Values
+
+
+ +

+REPOSITORY_CONTEXT_PATH

+
+public static final java.lang.String REPOSITORY_CONTEXT_PATH
+
+
String used to define the path to the context file +

+

+
See Also:
Constant Field Values
+
+ + + + + + + + + + + +
+Method Detail
+ +

+login

+
+public ITicket login(ICredentials credentials,
+                     java.lang.String workspaceName)
+              throws LoginException,
+                     AccessDeniedException,
+                     WorkspaceNotFoundException
+
+
Login, creating a new ticket for the given credentials and specified + workspace. If login fails, a LoginException is thrown and + no valid ticket is generated. The credentials object in the ticket + does not contain the password. + + It does not clear the password in the input credentials object. +

+

+
Parameters:
credentials - The credentials of the user
workspaceName - the name of a workspace. +
Returns:
a valid ITicket for the user to access the repository. +
Throws: +
LoginException - Login authentication fails. +
AccessDeniedException - User is not allowed to access this workspace. +
WorkspaceNotFoundException - Workspace name doesn't exist.
+
+
+
+ +

+addWorkspace

+
+public void addWorkspace(ICredentials credentials,
+                         java.lang.String workspaceName)
+                  throws LoginException,
+                         ItemExistsException,
+                         RepositoryCheckedException
+
+
Create a new workspace, with the tool identified in the creditials + as the owner. + It does not clear the password in the credentials +

+

+
Parameters:
credentials - this user/password must already exist in the repository. Password will be checked.
workspaceName - +
Throws: +
LoginException - if credentials are not authorised to add/access the new workspace. +
ItemExistsException - if the workspace already exists. +
RepositoryCheckedException - if parameters are missing. * @param credentials The credentials of the user/tool
+
+
+
+ +

+createCredential

+
+public void createCredential(ICredentials newCredential)
+                      throws RepositoryCheckedException
+
+
Create a new repository "user" - usually a tool. + + The password must be at least 6 chars. + + This method will not wipe out the password in the newCredential object. + + At this stage it is publically accessable - may need to move + it to a private management tool if considered to insecure. +

+

+
Parameters:
newCredential - this user/password will be added to the repository +
Throws: +
RepositoryCheckedException - if parameters are missing.
+
+
+
+ +

+updateCredentials

+
+public void updateCredentials(ICredentials oldCredential,
+                              ICredentials newCredential)
+                       throws RepositoryCheckedException
+
+
Update a credential. Name cannot change, so really only the password changes + + The password must be at least 6 chars. +

+

+
Parameters:
oldCredential - the current user/password
newCredential - the new user/password +
Throws: +
LoginException - if the oldCredential fails login test (e.g. wrong password) +
RepositoryCheckedException - if one of the credentials objects are missing
+
+
+
+ +

+addFileItem

+
+public NodeKey addFileItem(ITicket ticket,
+                           java.io.InputStream istream,
+                           java.lang.String filename,
+                           java.lang.String mimeType,
+                           java.lang.String versionDescription)
+                    throws FileException,
+                           AccessDeniedException,
+                           InvalidParameterException
+
+
Add a new file to the repository. This will create + a completely new entry (node) in the repository, starting + with version 1. +

+

+
Parameters:
ticket - ticket issued on login. Identifies tool and workspace - mandatory
istream - new file, as an input stream - mandatory
mimeType - mime type of file - optional
versionDescription - human readable comment about the version - optional +
Returns:
nodeKey (uuid and version) +
Throws: +
AccessDeniedException - if ticket doesn't allow this action +
FileException - if unable to save node due to file error +
InvalidParameterException - if a required parameter is missing +
RepositoryRuntimeException - if any internal errors have occured
+
+
+
+ +

+addPackageItem

+
+public NodeKey addPackageItem(ITicket ticket,
+                              java.lang.String dirPath,
+                              java.lang.String startFile,
+                              java.lang.String versionDescription)
+                       throws AccessDeniedException,
+                              InvalidParameterException,
+                              FileException
+
+
Add a new package of files to the repository. If startFile + is not supplied, then it is assumed to be index.html. +

+

+
Parameters:
ticket - ticket issued on login. Identifies tool and workspace - mandatory
dirPath - directory path containing files - mandatory
startFile - relative path of initial file - optional
versionDescription - human readable comment about the version - optional +
Returns:
nodeKey (uuid and version) +
Throws: +
AccessDeniedException - if ticket doesn't allow this action +
FileException - if unable to save node due to file error +
InvalidParameterException - if a required parameter is missing +
RepositoryRuntimeException - if any internal errors have occured
+
+
+
+ +

+updateFileItem

+
+public NodeKey updateFileItem(ITicket ticket,
+                              java.lang.Long uuid,
+                              java.lang.String filename,
+                              java.io.InputStream istream,
+                              java.lang.String mimeType,
+                              java.lang.String versionDescription)
+                       throws AccessDeniedException,
+                              ItemNotFoundException,
+                              FileException,
+                              InvalidParameterException
+
+
Update an existing file in the repository. This will create + a new version of this file. +

+

+
Parameters:
ticket - ticket issued on login. Identifies tool and workspace - mandatory
uuid - unique id of the file - mandatory
istream - new file, as an input stream - mandatory
versionDescription - human readable comment about the version - optional
mimeType - mime type of file - optional +
Throws: +
AccessDeniedException - if ticket doesn't allow this action +
ItemNotFoundException - if node with uuid cannot be found +
FileException - if unable to save node due to file error +
InvalidParameterException - if a required parameter is missing +
RepositoryRuntimeException - if any internal errors have occured
+
+
+
+ +

+updatePackageItem

+
+public NodeKey updatePackageItem(ITicket ticket,
+                                 java.lang.Long uuid,
+                                 java.lang.String dirPath,
+                                 java.lang.String startFile,
+                                 java.lang.String versionDescription)
+                          throws AccessDeniedException,
+                                 ItemNotFoundException,
+                                 FileException,
+                                 InvalidParameterException
+
+
Add a new package of files to the repository. If startFile + is not supplied, then it is assumed to be index.html. +

+

+
Parameters:
ticket - ticket issued on login. Identifies tool and workspace - mandatory
uuid - unique id of the package - mandatory
dirPath - directory path containing files - mandatory
startFile - relative path of initial file - optional
versionDescription - human readable comment about the version - optional +
Returns:
nodeKey (uuid and version) +
Throws: +
AccessDeniedException - if ticket doesn't allow this action +
ItemNotFoundException - if node with uuid cannot be found +
FileException - if unable to save node due to file error +
InvalidParameterException - if a required parameter is missing +
RepositoryRuntimeException - if any internal errors have occured
+
+
+
+ +

+getFileItem

+
+public IVersionedNode getFileItem(ITicket ticket,
+                                  java.lang.Long uuid,
+                                  java.lang.Long version)
+                           throws AccessDeniedException,
+                                  ItemNotFoundException,
+                                  FileException
+
+
Get an item from the repository based on the UUID. This + may be either a file or package node. +

+

+
Parameters:
ticket - ticket issued on login. Identifies tool and workspace - mandatory
uuid - id of the file/package - mandatory
version - desired version - if null gets latest version +
Returns:
node. +
Throws: +
AccessDeniedException +
ItemNotFoundException +
FileException
+
+
+
+ +

+getFileItem

+
+public IVersionedNode getFileItem(ITicket ticket,
+                                  java.lang.Long uuid,
+                                  java.lang.String relPath,
+                                  java.lang.Long versionId)
+                           throws AccessDeniedException,
+                                  ItemNotFoundException,
+                                  FileException
+
+
Get an item from the repository based on the UUID and relative + path. Only used to get the content from a package. The + UUID is the id of the package, and relPath is the relative + path within the package. + + If the item is a package and relPath is null, return the package node. +

+

+
Parameters:
ticket - ticket issued on login. Identifies tool and workspace - mandatory
uuid - id of the package - mandatory
relPath - relative path within the package - if null, + returns start file.
versionId - desired version - if null gets latest version +
Returns:
node. +
Throws: +
AccessDeniedException - if ticket doesn't allow this action +
ItemNotFoundException - if node with uuid cannot be found +
FileException - if unable to save node due to file error +
RepositoryRuntimeException - if any internal errors have occured
+
+
+
+ +

+getVersionHistory

+
+public java.util.SortedSet getVersionHistory(ITicket ticket,
+                                             java.lang.Long uuid)
+                                      throws ItemNotFoundException,
+                                             AccessDeniedException
+
+
Get the history for a node. Quite intensive operation the + first time it is run on a node as it has to build all the + data structures. +

+

+
Parameters:
ticket - ticket issued on login. Identifies tool and workspace - mandatory +
Returns:
SortedSet of IVersionDetail objects, ordered by version +
Throws: +
ItemNotFoundException +
AccessDeniedException
+
+
+
+ +

+deleteVersion

+
+public java.lang.String[] deleteVersion(ITicket ticket,
+                                        java.lang.Long uuid,
+                                        java.lang.Long version)
+                                 throws AccessDeniedException,
+                                        InvalidParameterException,
+                                        ItemNotFoundException
+
+
Delete the current version of a node, returning a list of the files + that could not be deleted properly. If it is a package node, the child + nodes will be deleted. + + If after deleting the version, we find that there a no other versions + for a node, then delete the node. + + A file missing from the disk is ignored, allowing nodes with lost files + to be deleted. +

+

+ +
Returns:
the list of file(paths) that could not be deleted. The db entries + will have been deleted but these files could not be deleted. +
Throws: +
AccessDeniedException - if ticket doesn't allow this action +
ItemNotFoundException - if node with uuid cannot be found +
InvalidParameterException - if a required parameter is missing +
RepositoryRuntimeException - if any internal errors have occured
+
+
+
+ +

+deleteNode

+
+public java.lang.String[] deleteNode(ITicket ticket,
+                                     java.lang.Long uuid)
+                              throws AccessDeniedException,
+                                     InvalidParameterException,
+                                     ItemNotFoundException
+
+
Delete a node and all its versions, returning a list of the files + that could not be deleted properly. If it is a package node, the child + nodes will be deleted. + + A file missing from the disk is ignored, allowing nodes with lost files + to be deleted. +

+

+ +
Returns:
the list of file(paths) that could not be deleted. The db entries + will have been deleted but these files could not be deleted. +
Throws: +
AccessDeniedException - if ticket doesn't allow this action +
ItemNotFoundException - if node with uuid cannot be found +
InvalidParameterException - if a required parameter is missing +
RepositoryRuntimeException - if any internal errors have occured
+
+
+
+ +

+logout

+
+public void logout(ITicket ticket)
+
+
Finish using this ticket. No more updates may be used with this ticket + after logout(). Allows any resources to be freed. +

+

+
Parameters:
ticket - ticket issued on login. Identifies tool and workspace - mandatory
+
+
+
+ +

+getNodeList

+
+public java.util.SortedMap getNodeList(ITicket ticket)
+                                throws AccessDeniedException
+
+
Get a complete list of all nodes in the workspace and their + version histories. +

+ Warning: Once a workspace gets a lot of nodes, this will be + a very very expensive call!!!!! +

+

+

+
Parameters:
ticket - ticket issued on login. Identifies tool and workspace - mandatory +
Returns:
SortedMap key Long uuid, value IVersionDetail version history +
Throws: +
AccessDeniedException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/IRepositoryAdmin.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/IRepositoryAdmin.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/IRepositoryAdmin.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,259 @@ + + + + + + +IRepositoryAdmin + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Interface IRepositoryAdmin

+
+
All Superinterfaces:
IRepository
+
+
+
All Known Implementing Classes:
SimpleRepository
+
+
+
+
public interface IRepositoryAdmin
extends IRepository
+ +

+Administrative interface to the Repository. Protects + the assignCredentials method - yet to work + out who should have access to this! +

+ +

+


+ +

+ + + + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface com.lamsinternational.lams.contentrepository.IRepository
REPOSITORY_CONTEXT_PATH, REPOSITORY_SERVICE_ID
+  + + + + + + + + + + + + + + +
+Method Summary
+ voidassignCredentials(ICredentials credentials, + java.lang.String workspaceName) + +
+           
+ + + + + + + +
Methods inherited from interface com.lamsinternational.lams.contentrepository.IRepository
addFileItem, addPackageItem, addWorkspace, createCredential, deleteNode, deleteVersion, getFileItem, getFileItem, getNodeList, getVersionHistory, login, logout, updateCredentials, updateFileItem, updatePackageItem
+  +

+ + + + + + + + + + + + + + +
+Method Detail
+ +

+assignCredentials

+
+public void assignCredentials(ICredentials credentials,
+                              java.lang.String workspaceName)
+                       throws RepositoryCheckedException,
+                              WorkspaceNotFoundException
+
+
+
+
+
+ +
Throws: +
RepositoryCheckedException +
WorkspaceNotFoundException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/ITicket.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/ITicket.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/ITicket.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,274 @@ + + + + + + +ITicket + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Interface ITicket

+
+
All Known Implementing Classes:
SimpleTicket
+
+
+
+
public interface ITicket
+ +

+Ticket represents the "authorisation" key to the repository. When + the tool logs in, a ticket is given. This ticket must be supplied + whenever a node is accessed. When the tool is finished, it should call + logout, which invalidates the ticket. + + A ticket is for one workspace only - to access more than one + workspace requires more than one ticket. +

+ +

+

+
Author:
+
Fiona Malikoff
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclear() + +
+          Make this ticket unusable.
+ java.lang.StringgetTicketId() + +
+           
+ java.lang.LonggetWorkspaceId() + +
+          Get the workspace associated with this ticket + Should only be accessed by the content repository package members.
+  +

+ + + + + + + + + + + + + + +
+Method Detail
+ +

+getWorkspaceId

+
+public java.lang.Long getWorkspaceId()
+
+
Get the workspace associated with this ticket + Should only be accessed by the content repository package members. +

+

+
+
+
+
+ +

+getTicketId

+
+public java.lang.String getTicketId()
+
+
+ +
Returns:
Returns the ticketId.
+
+
+
+ +

+clear

+
+public void clear()
+
+
Make this ticket unusable. Called by the repository on logout +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/IValue.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/IValue.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/IValue.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,342 @@ + + + + + + +IValue + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Interface IValue

+
+
All Known Implementing Classes:
CrNodeVersionProperty
+
+
+
+
public interface IValue
+ +

+A value is an object which is explicitly marked with a type. This type can + be used for hints to the persistence layer as to how to store/retrieve + the value. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleangetBoolean() + +
+          Returns a boolean representation of the value.
+ java.util.CalendargetDate() + +
+          Returns a Calendar representation of the value.
+ doublegetDouble() + +
+          Returns a double representation of the value.
+ longgetLong() + +
+          Returns a long representation of the value.
+ java.lang.StringgetString() + +
+          Returns a string representation of the value.
+ intgetType() + +
+           
+  +

+ + + + + + + + + + + + + + +
+Method Detail
+ +

+getType

+
+public int getType()
+
+
+ +
Returns:
the type of this Value. See PropertyType for values.
+
+
+
+ +

+getString

+
+public java.lang.String getString()
+                           throws ValueFormatException
+
+
Returns a string representation of the value. +

+

+ +
Throws: +
ValueFormatException - If able to convert the value to a string.
+
+
+
+ +

+getDouble

+
+public double getDouble()
+                 throws ValueFormatException
+
+
Returns a double representation of the value. +

+

+ +
Throws: +
ValueFormatException - If able to convert the value to a double.
+
+
+
+ +

+getDate

+
+public java.util.Calendar getDate()
+                           throws ValueFormatException
+
+
Returns a Calendar representation of the value. +

+

+ +
Throws: +
ValueFormatException - If able to convert the value to a Calendar.
+
+
+
+ +

+getLong

+
+public long getLong()
+             throws ValueFormatException
+
+
Returns a long representation of the value. +

+

+ +
Throws: +
ValueFormatException - If able to convert the value to a long.
+
+
+
+ +

+getBoolean

+
+public boolean getBoolean()
+                   throws ValueFormatException
+
+
Returns a boolean representation of the value. +

+

+ +
Throws: +
ValueFormatException - If able to convert the value to a boolean.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/IVersionDetail.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/IVersionDetail.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/IVersionDetail.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,294 @@ + + + + + + +IVersionDetail + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Interface IVersionDetail

+
+
All Superinterfaces:
java.lang.Comparable
+
+
+
All Known Implementing Classes:
SimpleVersionDetail
+
+
+
+
public interface IVersionDetail
extends java.lang.Comparable
+ +

+Describes the version of a node. Objects that meet this interface + have a natural ordering so they can be placed straight into + a sorted set, with the need for a special comparator. The natural + ordering should be such that null is sorted (ie after) non-null. +

+ +

+

+
Author:
+
Fiona Malikoff
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.util.DategetCreatedDateTime() + +
+          Get the date/time of when this version was created.
+ java.lang.StringgetDescription() + +
+          Get the general text string describing the version.
+ java.lang.LonggetVersionId() + +
+          Get the version id.
+ + + + + + + +
Methods inherited from interface java.lang.Comparable
compareTo
+  +

+ + + + + + + + + + + + + + +
+Method Detail
+ +

+getVersionId

+
+public java.lang.Long getVersionId()
+
+
Get the version id. This will be a number greater than 0. +

+

+
+
+
+ +
Returns:
version id
+
+
+
+ +

+getCreatedDateTime

+
+public java.util.Date getCreatedDateTime()
+
+
Get the date/time of when this version was created. +

+

+
+
+
+ +
Returns:
date/time stamp of creation
+
+
+
+ +

+getDescription

+
+public java.lang.String getDescription()
+
+
Get the general text string describing the version. +

+

+
+
+
+ +
Returns:
version description
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/IVersionedNode.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/IVersionedNode.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/IVersionedNode.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,638 @@ + + + + + + +IVersionedNode + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Interface IVersionedNode

+
+
All Known Subinterfaces:
IVersionedNodeAdmin
+
+
+
All Known Implementing Classes:
SimpleVersionedNode
+
+
+
+
public interface IVersionedNode
+ +

+The IVersionedNode interface represents a particular version of a node + in the hierarchy that makes up the repository. This interface represents + a very restricted version of a node - they are read only methods + so the node cannot be updated - only a new version may be created. + + A VersionedNode may have at most one file attached (ie one per version). +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.util.DategetCreatedDateTime() + +
+          Get the date/time of when this node was created.
+ java.io.InputStreamgetFile() + +
+          Get the file, as an inputstream.
+ IVersionedNodegetNode(java.lang.String relPath) + +
+          Returns the node at relPath, which is a child of this node.
+ NodeKeygetNodeKey() + +
+          Get the uuid and version of this node/version
+ java.util.SetgetNodes() + +
+          Returns an Set of all child nodes of node.
+ java.lang.StringgetNodeType() + +
+          Gets the type of the current node.
+ java.lang.StringgetPath() + +
+          Get the path of this node
+ java.util.SetgetProperties() + +
+          Returns all properties of this node.
+ IValuegetProperty(java.lang.String name) + +
+          Returns the property at relPath relative to this + node.
+ ITicketgetTicket() + +
+          Get the ticket through which this node was accessed.
+ java.lang.LonggetUUID() + +
+          Returns the UUID of this node as recorded in the node's jcr:UUID + property.
+ java.lang.LonggetVersion() + +
+          Get the version of this node.
+ java.util.SortedSetgetVersionHistory() + +
+          Get the version history for this node, ordered by version id.
+ booleanhasNode(java.lang.String relPath) + +
+          Indicates whether a node exists at relPath + Returns true if a node exists at relPath and + false otherwise.
+ booleanhasNodes() + +
+          Indicates whether this node has child nodes.
+ booleanhasProperties() + +
+          Indicates whether this node has properties.
+ booleanhasProperty(java.lang.String name) + +
+          Indicates whether a property exists for this name + Returns true if a property exists and false otherwise.
+ booleanisNodeType(java.lang.String nodeTypeName) + +
+          Indicates whether this node is of the specified node type.
+  +

+ + + + + + + + + + + + + + +
+Method Detail
+ +

+getNodeKey

+
+public NodeKey getNodeKey()
+
+
Get the uuid and version of this node/version +

+

+
+
+
+
+ +

+getNode

+
+public IVersionedNode getNode(java.lang.String relPath)
+                       throws ItemNotFoundException
+
+
Returns the node at relPath, which is a child of this node. +

+

+
Parameters:
relPath - The relative path of the node to retrieve. +
Returns:
The node +
Throws: +
ItemNotFoundException - If no node exists at the + specified path. +
RepositoryException - If another error occurs.
+
+
+
+ +

+getNodes

+
+public java.util.Set getNodes()
+
+
Returns an Set of all child nodes of node. Returns an empty + set if no nodes found. +

+

+ +
Returns:
Set of nodes.
+
+
+
+ +

+hasNode

+
+public boolean hasNode(java.lang.String relPath)
+
+
Indicates whether a node exists at relPath + Returns true if a node exists at relPath and + false otherwise. +

+

+
Parameters:
relPath - The path of a (possible) node. +
Returns:
true if a node exists at relPath; + false otherwise.
+
+
+
+ +

+hasNodes

+
+public boolean hasNodes()
+
+
Indicates whether this node has child nodes. + Returns true if this node has one or more child nodes; + false otherwise. +

+

+ +
Returns:
true if this node has one or more child nodes; + false otherwise.
+
+
+
+ +

+getProperty

+
+public IValue getProperty(java.lang.String name)
+
+
Returns the property at relPath relative to this + node. +

+

+
Parameters:
name - +
Returns:
The property value at name, NULL if no such property exists.
+
+
+
+ +

+getProperties

+
+public java.util.Set getProperties()
+
+
Returns all properties of this node. +

+

+ +
Returns:
A Set of IValue objects
+
+
+
+ +

+getUUID

+
+public java.lang.Long getUUID()
+
+
Returns the UUID of this node as recorded in the node's jcr:UUID + property. +

+

+ +
Returns:
the UUID of this node
+
+
+
+ +

+hasProperty

+
+public boolean hasProperty(java.lang.String name)
+
+
Indicates whether a property exists for this name + Returns true if a property exists and false otherwise. +

+

+
Parameters:
name - The name of a (possible) property. +
Returns:
true if a property exists at relPath; + false otherwise.
+
+
+
+ +

+hasProperties

+
+public boolean hasProperties()
+
+
Indicates whether this node has properties. + Returns true if this node has one or more properties; + false otherwise. +

+

+ +
Returns:
true if this node has one or more properties; + false otherwise.
+
+
+
+ +

+getNodeType

+
+public java.lang.String getNodeType()
+
+
Gets the type of the current node. See NodeType for + possible node types. Note: the node type is shared across all + versions of a node +

+

+ +
Returns:
node type name
+
+
+
+ +

+isNodeType

+
+public boolean isNodeType(java.lang.String nodeTypeName)
+
+
Indicates whether this node is of the specified node type. + Returns true if this node is of the specified node type/ + Returns false otherwise. +

+

+
Parameters:
nodeTypeName - the name of a node type. +
Returns:
true if this node is of the specified node type + or a subtype of the specified node type; returns false otherwise.
+
+
+
+ +

+getVersionHistory

+
+public java.util.SortedSet getVersionHistory()
+
+
Get the version history for this node, ordered by version id. +

+

+ +
Returns:
Set of IVersionDetail objects
+
+
+
+ +

+getPath

+
+public java.lang.String getPath()
+
+
Get the path of this node +

+

+ +
Returns:
relative path (from parent)
+
+
+
+ +

+getTicket

+
+public ITicket getTicket()
+
+
Get the ticket through which this node was accessed. +

+

+ +
Returns:
A (@link ITicket} object.
+
+
+
+ +

+getVersion

+
+public java.lang.Long getVersion()
+
+
Get the version of this node. +

+

+ +
Returns:
The version number, which will be greater than 0.
+
+
+
+ +

+getCreatedDateTime

+
+public java.util.Date getCreatedDateTime()
+
+
Get the date/time of when this node was created. +

+

+ +
Returns:
date/time stamp of creation
+
+
+
+ +

+getFile

+
+public java.io.InputStream getFile()
+                            throws FileException
+
+
Get the file, as an inputstream. It is the responsibility + of the caller to close the stream. + + If the node is a package node, it will get the input stream + of the first file. +

+

+ +
Throws: +
FileException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/IVersionedNodeAdmin.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/IVersionedNodeAdmin.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/IVersionedNodeAdmin.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,507 @@ + + + + + + +IVersionedNodeAdmin + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Interface IVersionedNodeAdmin

+
+
All Superinterfaces:
IVersionedNode
+
+
+
All Known Implementing Classes:
SimpleVersionedNode
+
+
+
+
public interface IVersionedNodeAdmin
extends IVersionedNode
+ +

+IVersionedNodeAdmin represents the full functionality for a versioned node. + + IVersionedNodeAdmin is a protected interface - should only be used within + the repository package. It exists to allow easier replacement of the + SimpleVersionedNode class in line with the Spring framework philosophy + of programming to interfaces. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.util.ListdeleteNode() + +
+          Delete this node and all its versions, returning a list of the files + that could not be deleted properly.
+ java.util.ListdeleteVersion() + +
+          Delete the current version of this node, returning a list of the files + that could not be deleted properly.
+ voidsetFile(java.io.InputStream iStream, + java.lang.String filename, + java.lang.String mimeType) + +
+          Set the file, passed in as an inputstream.
+ voidsetProperty(java.lang.String name, + boolean value) + +
+          Sets the property to a BOOLEAN value.
+ voidsetProperty(java.lang.String name, + java.util.Calendar value) + +
+          Sets the property a CALENDAR value.
+ voidsetProperty(java.lang.String name, + double value) + +
+          Sets the property to a DOUBLE value.
+ voidsetProperty(java.lang.String name, + long value) + +
+          Sets the property to a LONG value.
+ voidsetProperty(java.lang.String name, + java.lang.String value) + +
+          Sets the property to a STRING value.
+ voidsetProperty(java.lang.String name, + java.lang.String value, + int type) + +
+          Sets the property to a value, based on the specified type, after converting + from the string.
+ + + + + + + +
Methods inherited from interface com.lamsinternational.lams.contentrepository.IVersionedNode
getCreatedDateTime, getFile, getNode, getNodeKey, getNodes, getNodeType, getPath, getProperties, getProperty, getTicket, getUUID, getVersion, getVersionHistory, hasNode, hasNodes, hasProperties, hasProperty, isNodeType
+  +

+ + + + + + + + + + + + + + +
+Method Detail
+ +

+setProperty

+
+public void setProperty(java.lang.String name,
+                        java.lang.String value,
+                        int type)
+                 throws RepositoryCheckedException
+
+
Sets the property to a value, based on the specified type, after converting + from the string. +

+

+
+
+
+
Parameters:
name - The name of a property of this node
value - The value to be assigned
type - The type of the property +
Throws: +
ValueFormatException - if the type or format of a value + is incompatible with the type of the specified property or if + value is incompatible with (i.e. can not be converted to) type. +
RepositoryCheckedException
+
+
+
+ +

+setProperty

+
+public void setProperty(java.lang.String name,
+                        java.lang.String value)
+                 throws RepositoryCheckedException
+
+
Sets the property to a STRING value. + To remove a property, set the value to null. +

+

+
+
+
+
Parameters:
name - The name of a property of this node
value - The value to be assigned +
Throws: +
RepositoryCheckedException
+
+
+
+ +

+setProperty

+
+public void setProperty(java.lang.String name,
+                        boolean value)
+                 throws RepositoryCheckedException
+
+
Sets the property to a BOOLEAN value. Creates the property if required. + To remove a property, set the value to null. +

+

+
+
+
+
Parameters:
name - The name of a property of this node
value - The value to be assigned +
Throws: +
RepositoryCheckedException
+
+
+
+ +

+setProperty

+
+public void setProperty(java.lang.String name,
+                        double value)
+                 throws RepositoryCheckedException
+
+
Sets the property to a DOUBLE value. + To remove a property, set the value to null. +

+

+
+
+
+
Parameters:
name - The name of a property of this node
value - The value to be assigned +
Throws: +
RepositoryCheckedException
+
+
+
+ +

+setProperty

+
+public void setProperty(java.lang.String name,
+                        long value)
+                 throws RepositoryCheckedException
+
+
Sets the property to a LONG value. + To remove a property, set the value to null. +

+

+
+
+
+
Parameters:
name - The name of a property of this node
value - The value to be assigned +
Throws: +
RepositoryCheckedException
+
+
+
+ +

+setProperty

+
+public void setProperty(java.lang.String name,
+                        java.util.Calendar value)
+                 throws RepositoryCheckedException
+
+
Sets the property a CALENDAR value. + To remove a property, set the value to null. +

+

+
+
+
+
Parameters:
name - The name of a property of this node
value - The value to be assigned +
Throws: +
RepositoryCheckedException
+
+
+
+ +

+setFile

+
+public void setFile(java.io.InputStream iStream,
+                    java.lang.String filename,
+                    java.lang.String mimeType)
+             throws InvalidParameterException
+
+
Set the file, passed in as an inputstream. The stream will be closed + when the file is saved. Only nodes of type FILENODE can have a file! +

+

+
+
+
+
Parameters:
iStream - mandatory
filename - mandatory
mimeType - optional +
Throws: +
InvalidParameterException
+
+
+
+ +

+deleteNode

+
+public java.util.List deleteNode()
+
+
Delete this node and all its versions, returning a list of the files + that could not be deleted properly. If it is a package node, the child + nodes will be deleted. + + A file missing from the disk is ignored, allowing nodes with lost files + to be deleted. +

+

+
+
+
+ +
Returns:
the list of file(paths) that could not be deleted. The db entries + will have been deleted but these files could not be deleted. +
Throws: +
AccessDeniedException - if ticket doesn't allow this action +
ItemNotFoundException - if node with uuid cannot be found +
InvalidParameterException - if a required parameter is missing +
RepositoryRuntimeException - if any internal errors have occured
+
+
+
+ +

+deleteVersion

+
+public java.util.List deleteVersion()
+
+
Delete the current version of this node, returning a list of the files + that could not be deleted properly. If it is a package node, the child + nodes will be deleted. + + If after deleting the version, we find that there a no other versions + for a node, then delete the node. + + A file missing from the disk is ignored, allowing nodes with lost files + to be deleted. +

+

+
+
+
+ +
Returns:
the list of file(paths) that could not be deleted. The db entries + will have been deleted but these files could not be deleted.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/IWorkspace.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/IWorkspace.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/IWorkspace.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,241 @@ + + + + + + +IWorkspace + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Interface IWorkspace

+
+
All Known Implementing Classes:
CrWorkspace
+
+
+
+
public interface IWorkspace
+ +

+A workspace is a grouping of content, which is accessed by a ticket. + One workspace may have many current tickets. + + A workspace may belong to a tool, in which case only the tool can use this workspace. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetName() + +
+           
+ java.lang.LonggetWorkspaceId() + +
+           
+  +

+ + + + + + + + + + + + + + +
+Method Detail
+ +

+getName

+
+public java.lang.String getName()
+
+
+
+
+
+
+ +

+getWorkspaceId

+
+public java.lang.Long getWorkspaceId()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/InvalidParameterException.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/InvalidParameterException.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/InvalidParameterException.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,306 @@ + + + + + + +InvalidParameterException + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Class InvalidParameterException

+
+java.lang.Object
+  extended byjava.lang.Throwable
+      extended byjava.lang.Exception
+          extended bycom.lamsinternational.lams.contentrepository.RepositoryCheckedException
+              extended bycom.lamsinternational.lams.contentrepository.InvalidParameterException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class InvalidParameterException
extends RepositoryCheckedException
+ +

+Generic exception thrown whenever a parameter is missing. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
InvalidParameterException() + +
+          Constructs a new instance of this class.
InvalidParameterException(java.lang.String s) + +
+          Constructs a new instance of this class given a message describing the + failure cause.
InvalidParameterException(java.lang.String s, + java.lang.Throwable cause) + +
+          Constructs a new instance of this class given a message describing the + failure and a root throwable.
InvalidParameterException(java.lang.Throwable cause) + +
+          Constructs a new instance of this class given a root throwable.
+  + + + + + + + + + + +
Methods inherited from class com.lamsinternational.lams.contentrepository.RepositoryCheckedException
getMessage
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+InvalidParameterException

+
+public InvalidParameterException()
+
+
Constructs a new instance of this class. +

+

+
+ +

+InvalidParameterException

+
+public InvalidParameterException(java.lang.String s)
+
+
Constructs a new instance of this class given a message describing the + failure cause. +

+

Parameters:
s - description
+
+ +

+InvalidParameterException

+
+public InvalidParameterException(java.lang.String s,
+                                 java.lang.Throwable cause)
+
+
Constructs a new instance of this class given a message describing the + failure and a root throwable. +

+

Parameters:
s - description
cause - root throwable cause
+
+ +

+InvalidParameterException

+
+public InvalidParameterException(java.lang.Throwable cause)
+
+
Constructs a new instance of this class given a root throwable. +

+

Parameters:
cause - root failure cause
+ + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/ItemExistsException.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/ItemExistsException.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/ItemExistsException.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,306 @@ + + + + + + +ItemExistsException + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Class ItemExistsException

+
+java.lang.Object
+  extended byjava.lang.Throwable
+      extended byjava.lang.Exception
+          extended bycom.lamsinternational.lams.contentrepository.RepositoryCheckedException
+              extended bycom.lamsinternational.lams.contentrepository.ItemExistsException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class ItemExistsException
extends RepositoryCheckedException
+ +

+An item already exists with the given id or path. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
ItemExistsException() + +
+          Constructs a new instance of this class.
ItemExistsException(java.lang.String s) + +
+          Constructs a new instance of this class given a message describing the + failure cause.
ItemExistsException(java.lang.String s, + java.lang.Throwable cause) + +
+          Constructs a new instance of this class given a message describing the + failure and a root throwable.
ItemExistsException(java.lang.Throwable cause) + +
+          Constructs a new instance of this class given a root throwable.
+  + + + + + + + + + + +
Methods inherited from class com.lamsinternational.lams.contentrepository.RepositoryCheckedException
getMessage
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+ItemExistsException

+
+public ItemExistsException()
+
+
Constructs a new instance of this class. +

+

+
+ +

+ItemExistsException

+
+public ItemExistsException(java.lang.String s)
+
+
Constructs a new instance of this class given a message describing the + failure cause. +

+

Parameters:
s - description
+
+ +

+ItemExistsException

+
+public ItemExistsException(java.lang.String s,
+                           java.lang.Throwable cause)
+
+
Constructs a new instance of this class given a message describing the + failure and a root throwable. +

+

Parameters:
s - description
cause - root throwable cause
+
+ +

+ItemExistsException

+
+public ItemExistsException(java.lang.Throwable cause)
+
+
Constructs a new instance of this class given a root throwable. +

+

Parameters:
cause - root failure cause
+ + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/ItemNotFoundException.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/ItemNotFoundException.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/ItemNotFoundException.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,306 @@ + + + + + + +ItemNotFoundException + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Class ItemNotFoundException

+
+java.lang.Object
+  extended byjava.lang.Throwable
+      extended byjava.lang.Exception
+          extended bycom.lamsinternational.lams.contentrepository.RepositoryCheckedException
+              extended bycom.lamsinternational.lams.contentrepository.ItemNotFoundException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class ItemNotFoundException
extends RepositoryCheckedException
+ +

+Item requested does not exist. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
ItemNotFoundException() + +
+          Constructs a new instance of this class.
ItemNotFoundException(java.lang.String s) + +
+          Constructs a new instance of this class given a message describing the + failure cause.
ItemNotFoundException(java.lang.String s, + java.lang.Throwable cause) + +
+          Constructs a new instance of this class given a message describing the + failure and a root throwable.
ItemNotFoundException(java.lang.Throwable cause) + +
+          Constructs a new instance of this class given a root throwable.
+  + + + + + + + + + + +
Methods inherited from class com.lamsinternational.lams.contentrepository.RepositoryCheckedException
getMessage
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+ItemNotFoundException

+
+public ItemNotFoundException()
+
+
Constructs a new instance of this class. +

+

+
+ +

+ItemNotFoundException

+
+public ItemNotFoundException(java.lang.String s)
+
+
Constructs a new instance of this class given a message describing the + failure cause. +

+

Parameters:
s - description
+
+ +

+ItemNotFoundException

+
+public ItemNotFoundException(java.lang.String s,
+                             java.lang.Throwable cause)
+
+
Constructs a new instance of this class given a message describing the + failure and a root throwable. +

+

Parameters:
s - description
cause - root throwable cause
+
+ +

+ItemNotFoundException

+
+public ItemNotFoundException(java.lang.Throwable cause)
+
+
Constructs a new instance of this class given a root throwable. +

+

Parameters:
cause - root failure cause
+ + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/LoginException.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/LoginException.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/LoginException.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,306 @@ + + + + + + +LoginException + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Class LoginException

+
+java.lang.Object
+  extended byjava.lang.Throwable
+      extended byjava.lang.Exception
+          extended bycom.lamsinternational.lams.contentrepository.RepositoryCheckedException
+              extended bycom.lamsinternational.lams.contentrepository.LoginException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class LoginException
extends RepositoryCheckedException
+ +

+Login failed. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
LoginException() + +
+          Constructs a new instance of this class.
LoginException(java.lang.String s) + +
+          Constructs a new instance of this class given a message describing the + failure cause.
LoginException(java.lang.String s, + java.lang.Throwable cause) + +
+          Constructs a new instance of this class given a message describing the + failure and a root throwable.
LoginException(java.lang.Throwable cause) + +
+          Constructs a new instance of this class given a root throwable.
+  + + + + + + + + + + +
Methods inherited from class com.lamsinternational.lams.contentrepository.RepositoryCheckedException
getMessage
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+LoginException

+
+public LoginException()
+
+
Constructs a new instance of this class. +

+

+
+ +

+LoginException

+
+public LoginException(java.lang.String s)
+
+
Constructs a new instance of this class given a message describing the + failure cause. +

+

Parameters:
s - description
+
+ +

+LoginException

+
+public LoginException(java.lang.String s,
+                      java.lang.Throwable cause)
+
+
Constructs a new instance of this class given a message describing the + failure and a root throwable. +

+

Parameters:
s - description
cause - root throwable cause
+
+ +

+LoginException

+
+public LoginException(java.lang.Throwable cause)
+
+
Constructs a new instance of this class given a root throwable. +

+

Parameters:
cause - root failure cause
+ + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/NoSuchNodeTypeException.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/NoSuchNodeTypeException.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/NoSuchNodeTypeException.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,306 @@ + + + + + + +NoSuchNodeTypeException + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Class NoSuchNodeTypeException

+
+java.lang.Object
+  extended byjava.lang.Throwable
+      extended byjava.lang.Exception
+          extended bycom.lamsinternational.lams.contentrepository.RepositoryCheckedException
+              extended bycom.lamsinternational.lams.contentrepository.NoSuchNodeTypeException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class NoSuchNodeTypeException
extends RepositoryCheckedException
+ +

+Tried to create a node with an unknown type. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
NoSuchNodeTypeException() + +
+          Constructs a new instance of this class.
NoSuchNodeTypeException(java.lang.String s) + +
+          Constructs a new instance of this class given a message describing the + failure cause.
NoSuchNodeTypeException(java.lang.String s, + java.lang.Throwable cause) + +
+          Constructs a new instance of this class given a message describing the + failure and a root throwable.
NoSuchNodeTypeException(java.lang.Throwable cause) + +
+          Constructs a new instance of this class given a root throwable.
+  + + + + + + + + + + +
Methods inherited from class com.lamsinternational.lams.contentrepository.RepositoryCheckedException
getMessage
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+NoSuchNodeTypeException

+
+public NoSuchNodeTypeException()
+
+
Constructs a new instance of this class. +

+

+
+ +

+NoSuchNodeTypeException

+
+public NoSuchNodeTypeException(java.lang.String s)
+
+
Constructs a new instance of this class given a message describing the + failure cause. +

+

Parameters:
s - description
+
+ +

+NoSuchNodeTypeException

+
+public NoSuchNodeTypeException(java.lang.String s,
+                               java.lang.Throwable cause)
+
+
Constructs a new instance of this class given a message describing the + failure and a root throwable. +

+

Parameters:
s - description
cause - root throwable cause
+
+ +

+NoSuchNodeTypeException

+
+public NoSuchNodeTypeException(java.lang.Throwable cause)
+
+
Constructs a new instance of this class given a root throwable. +

+

Parameters:
cause - root failure cause
+ + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/NodeKey.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/NodeKey.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/NodeKey.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,341 @@ + + + + + + +NodeKey + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Class NodeKey

+
+java.lang.Object
+  extended bycom.lamsinternational.lams.contentrepository.NodeKey
+
+
+
+
public class NodeKey
extends java.lang.Object
+ +

+Represents the two part key - UUID and version. + Version may be null; +

+ +

+

+
Author:
+
Fiona Malikoff
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
NodeKey(java.lang.Long uuid, + java.lang.Long version) + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleanequals(java.lang.Object other) + +
+           
+ java.lang.LonggetUuid() + +
+           
+ java.lang.LonggetVersion() + +
+           
+ inthashCode() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+NodeKey

+
+public NodeKey(java.lang.Long uuid,
+               java.lang.Long version)
+
+
+ + + + + + + + +
+Method Detail
+ +

+getUuid

+
+public java.lang.Long getUuid()
+
+
+ +
Returns:
Returns the uuid.
+
+
+
+ +

+getVersion

+
+public java.lang.Long getVersion()
+
+
+ +
Returns:
Returns the version.
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object other)
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/NodeTransactionTest.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/NodeTransactionTest.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/NodeTransactionTest.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,286 @@ + + + + + + +NodeTransactionTest + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Class NodeTransactionTest

+
+java.lang.Object
+  extended byjunit.framework.Assert
+      extended byjunit.framework.TestCase
+          extended bycom.lamsinternational.lams.contentrepository.NodeTransactionTest
+
+
+
All Implemented Interfaces:
junit.framework.Test
+
+
+
+
public class NodeTransactionTest
extends junit.framework.TestCase
+ +

+Test the node's transaction handling. Need to test the following scenarios: + +

+

+ +

+

+
Author:
+
Fiona Malikoff
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
NodeTransactionTest(java.lang.String name) + +
+          Constructor for NodeTransactionTest.
+  + + + + + + + + + + +
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, setName, toString
+ + + + + + + +
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+NodeTransactionTest

+
+public NodeTransactionTest(java.lang.String name)
+
+
Constructor for NodeTransactionTest. +

+

Parameters:
name -
+ + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/NodeType.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/NodeType.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/NodeType.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,337 @@ + + + + + + +NodeType + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Class NodeType

+
+java.lang.Object
+  extended bycom.lamsinternational.lams.contentrepository.NodeType
+
+
+
+
public final class NodeType
extends java.lang.Object
+ +

+Defines the types of nodes. If you add a new type to this file, + make sure you add it to the isValidNodeType method. +

+ +

+

+
Author:
+
Fiona Malikoff
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static java.lang.StringDATANODE + +
+          Node that has properties but no file.
+static java.lang.StringFILENODE + +
+          Node has a file attached.
+static java.lang.StringPACKAGENODE + +
+          Node represents a package of other nodes
+  + + + + + + + + + + +
+Constructor Summary
NodeType() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+static booleanisValidNodeType(java.lang.String type) + +
+          Does this string represent a known node type.
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+DATANODE

+
+public static final java.lang.String DATANODE
+
+
Node that has properties but no file. Not used at present +

+

+
See Also:
Constant Field Values
+
+
+ +

+FILENODE

+
+public static final java.lang.String FILENODE
+
+
Node has a file attached. Only nodes of type FILENODE can have + files attached! +

+

+
See Also:
Constant Field Values
+
+
+ +

+PACKAGENODE

+
+public static final java.lang.String PACKAGENODE
+
+
Node represents a package of other nodes +

+

+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+NodeType

+
+public NodeType()
+
+
+ + + + + + + + +
+Method Detail
+ +

+isValidNodeType

+
+public static boolean isValidNodeType(java.lang.String type)
+
+
Does this string represent a known node type. +

+

+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/PropertyName.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/PropertyName.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/PropertyName.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,321 @@ + + + + + + +PropertyName + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Class PropertyName

+
+java.lang.Object
+  extended bycom.lamsinternational.lams.contentrepository.PropertyName
+
+
+
+
public final class PropertyName
extends java.lang.Object
+ +

+

+
Author:
+
Fiona Malikoff + + Names of known properties, such as MIMETYPE, INITIALPATH
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static java.lang.StringFILENAME + +
+          FILENAME is required for a file node - it is set by the call to add the file stream.
+static java.lang.StringINITIALPATH + +
+          INITIALPATH is required for a package node
+static java.lang.StringMIMETYPE + +
+          MIMETYPE is required for a file node - it is set by the call to add the file stream.
+static java.lang.StringVERSIONDESC + +
+          VERSIONDESC is text description relating to a version + It should contain text meaningful to the user.
+  + + + + + + + + + + +
+Constructor Summary
PropertyName() + +
+           
+  + + + + + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+VERSIONDESC

+
+public static final java.lang.String VERSIONDESC
+
+
VERSIONDESC is text description relating to a version + It should contain text meaningful to the user. Applicable to all node types. +

+

+
See Also:
Constant Field Values
+
+
+ +

+MIMETYPE

+
+public static final java.lang.String MIMETYPE
+
+
MIMETYPE is required for a file node - it is set by the call to add the file stream. +

+

+
See Also:
Constant Field Values
+
+
+ +

+FILENAME

+
+public static final java.lang.String FILENAME
+
+
FILENAME is required for a file node - it is set by the call to add the file stream. +

+

+
See Also:
Constant Field Values
+
+
+ +

+INITIALPATH

+
+public static final java.lang.String INITIALPATH
+
+
INITIALPATH is required for a package node +

+

+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+PropertyName

+
+public PropertyName()
+
+
+ + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/PropertyType.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/PropertyType.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/PropertyType.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,490 @@ + + + + + + +PropertyType + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Class PropertyType

+
+java.lang.Object
+  extended bycom.lamsinternational.lams.contentrepository.PropertyType
+
+
+
+
public final class PropertyType
extends java.lang.Object
+ +

+LAMS property types. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static intBOOLEAN + +
+          Boolean property type
+static intDATE + +
+          Date property type
+static intDOUBLE + +
+          Double property type
+static intLONG + +
+          Long property type
+static intSTRING + +
+          String property type
+static java.lang.StringTYPENAME_BOOLEAN + +
+           
+static java.lang.StringTYPENAME_DATE + +
+           
+static java.lang.StringTYPENAME_DOUBLE + +
+           
+static java.lang.StringTYPENAME_LONG + +
+           
+static java.lang.StringTYPENAME_STRING + +
+          The names of the supported property types, + as used in serialization.
+static intUNDEFINED + +
+          Undefined type.
+  + + + + + + + + + + + + + + + + + + +
+Method Summary
+static java.lang.StringnameFromValue(int type) + +
+          Returns the name of the specified type.
+static intvalueFromName(java.lang.String name) + +
+          Returns the numeric constant value of the type with the specified name.
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+STRING

+
+public static final int STRING
+
+
String property type +

+

+
See Also:
Constant Field Values
+
+
+ +

+LONG

+
+public static final int LONG
+
+
Long property type +

+

+
See Also:
Constant Field Values
+
+
+ +

+DOUBLE

+
+public static final int DOUBLE
+
+
Double property type +

+

+
See Also:
Constant Field Values
+
+
+ +

+DATE

+
+public static final int DATE
+
+
Date property type +

+

+
See Also:
Constant Field Values
+
+
+ +

+BOOLEAN

+
+public static final int BOOLEAN
+
+
Boolean property type +

+

+
See Also:
Constant Field Values
+
+
+ +

+UNDEFINED

+
+public static final int UNDEFINED
+
+
Undefined type. +

+

+
See Also:
Constant Field Values
+
+
+ +

+TYPENAME_STRING

+
+public static final java.lang.String TYPENAME_STRING
+
+
The names of the supported property types, + as used in serialization. +

+

+
See Also:
Constant Field Values
+
+
+ +

+TYPENAME_LONG

+
+public static final java.lang.String TYPENAME_LONG
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TYPENAME_DOUBLE

+
+public static final java.lang.String TYPENAME_DOUBLE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TYPENAME_DATE

+
+public static final java.lang.String TYPENAME_DATE
+
+
+
See Also:
Constant Field Values
+
+
+ +

+TYPENAME_BOOLEAN

+
+public static final java.lang.String TYPENAME_BOOLEAN
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + + + + +
+Method Detail
+ +

+nameFromValue

+
+public static java.lang.String nameFromValue(int type)
+                                      throws RepositoryCheckedException
+
+
Returns the name of the specified type. +

+

+
Parameters:
type - the property type +
Returns:
the name of the specified type +
Throws: +
RepostoryException - if the type is not a valid property type. +
RepositoryCheckedException
+
+
+
+ +

+valueFromName

+
+public static int valueFromName(java.lang.String name)
+                         throws RepositoryCheckedException
+
+
Returns the numeric constant value of the type with the specified name. +

+

+
Parameters:
name - the name of the property type +
Returns:
the numeric constant value +
Throws: +
RepostoryException - if name + is not a valid property type name. +
RepositoryCheckedException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/RepositoryCheckedException.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/RepositoryCheckedException.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/RepositoryCheckedException.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,335 @@ + + + + + + +RepositoryCheckedException + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Class RepositoryCheckedException

+
+java.lang.Object
+  extended byjava.lang.Throwable
+      extended byjava.lang.Exception
+          extended bycom.lamsinternational.lams.contentrepository.RepositoryCheckedException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
Direct Known Subclasses:
AccessDeniedException, FileException, InvalidParameterException, ItemExistsException, ItemNotFoundException, LoginException, NoSuchNodeTypeException, ValidationException, ValueFormatException, WorkspaceNotFoundException
+
+
+
+
public class RepositoryCheckedException
extends java.lang.Exception
+ +

+Main exception thrown by content repository classes. All exceptions thrown by the content + repository (except RepositoryRuntimeException) are based on this class, so calling code + can catch this exception and catch all of the repository exceptions, if it doesn't want to + catch particular exceptions. +

+ +

+

+
See Also:
RepositoryRuntimeException, +Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
RepositoryCheckedException() + +
+          Constructs a new instance of this class.
RepositoryCheckedException(java.lang.String s) + +
+          Constructs a new instance of this class given a message describing the + failure cause.
RepositoryCheckedException(java.lang.String s, + java.lang.Throwable cause) + +
+          Constructs a new instance of this class given a message describing the + failure and a root throwable.
RepositoryCheckedException(java.lang.Throwable cause) + +
+          Constructs a new instance of this class given a root throwable.
+  + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetMessage() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+RepositoryCheckedException

+
+public RepositoryCheckedException()
+
+
Constructs a new instance of this class. +

+

+
+ +

+RepositoryCheckedException

+
+public RepositoryCheckedException(java.lang.String s)
+
+
Constructs a new instance of this class given a message describing the + failure cause. +

+

Parameters:
s - description
+
+ +

+RepositoryCheckedException

+
+public RepositoryCheckedException(java.lang.String s,
+                                  java.lang.Throwable cause)
+
+
Constructs a new instance of this class given a message describing the + failure and a root throwable. +

+

Parameters:
s - description
cause - root throwable cause
+
+ +

+RepositoryCheckedException

+
+public RepositoryCheckedException(java.lang.Throwable cause)
+
+
Constructs a new instance of this class given a root throwable. +

+

Parameters:
cause - root failure cause
+ + + + + + + + +
+Method Detail
+ +

+getMessage

+
+public java.lang.String getMessage()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/RepositoryRuntimeException.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/RepositoryRuntimeException.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/RepositoryRuntimeException.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,332 @@ + + + + + + +RepositoryRuntimeException + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Class RepositoryRuntimeException

+
+java.lang.Object
+  extended byjava.lang.Throwable
+      extended byjava.lang.Exception
+          extended byjava.lang.RuntimeException
+              extended bycom.lamsinternational.lams.contentrepository.RepositoryRuntimeException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class RepositoryRuntimeException
extends java.lang.RuntimeException
+ +

+Main runtime exception thrown by content repository classes. This is only + used for unexpected internal errors, such that the calling code could + never recover. +

+ +

+

+
See Also:
RepositoryCheckedException, +Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
RepositoryRuntimeException() + +
+          Constructs a new instance of this class.
RepositoryRuntimeException(java.lang.String s) + +
+          Constructs a new instance of this class given a message describing the + failure cause.
RepositoryRuntimeException(java.lang.String s, + java.lang.Throwable cause) + +
+          Constructs a new instance of this class given a message describing the + failure and a root throwable.
RepositoryRuntimeException(java.lang.Throwable cause) + +
+          Constructs a new instance of this class given a root throwable.
+  + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetMessage() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+RepositoryRuntimeException

+
+public RepositoryRuntimeException()
+
+
Constructs a new instance of this class. +

+

+
+ +

+RepositoryRuntimeException

+
+public RepositoryRuntimeException(java.lang.String s)
+
+
Constructs a new instance of this class given a message describing the + failure cause. +

+

Parameters:
s - description
+
+ +

+RepositoryRuntimeException

+
+public RepositoryRuntimeException(java.lang.String s,
+                                  java.lang.Throwable cause)
+
+
Constructs a new instance of this class given a message describing the + failure and a root throwable. +

+

Parameters:
s - description
cause - root throwable cause
+
+ +

+RepositoryRuntimeException

+
+public RepositoryRuntimeException(java.lang.Throwable cause)
+
+
Constructs a new instance of this class given a root throwable. +

+

Parameters:
cause - root failure cause
+ + + + + + + + +
+Method Detail
+ +

+getMessage

+
+public java.lang.String getMessage()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/SimpleCredentials.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/SimpleCredentials.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/SimpleCredentials.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,346 @@ + + + + + + +SimpleCredentials + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Class SimpleCredentials

+
+java.lang.Object
+  extended bycom.lamsinternational.lams.contentrepository.SimpleCredentials
+
+
+
All Implemented Interfaces:
ICredentials, java.io.Serializable
+
+
+
+
public class SimpleCredentials
extends java.lang.Object
implements ICredentials
+ +

+Basic implementation of credentials. Note: the "user id" is + actually "tool id", so its not really a password as an validation + string. +

+ When a tool logs into the repository, it will pass in a simple credentials + object which has just the userid and password set. +

+ The repository then attaches credential to the ticket. + The new credential doesn't have the password and it + is never connected from the database. +

+ The credential comparison is done using the DAO class - it + does not load the data from the database but gets the + password to the db for checking. +

+ The original credentials contains attributes. This will be useful + for the future, but has not yet been implemented. +

+

+ +

+

+
Author:
+
Fiona Malikoff
+
See Also:
ICredentials, +Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
SimpleCredentials(java.lang.String name, + char[] password) + +
+          Should only be used by hibernate or package calls.
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclearPassword() + +
+          Clear the current password.
+ java.lang.StringgetName() + +
+          Returns the name of the tool.
+ char[]getPassword() + +
+          Returns the password.
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+SimpleCredentials

+
+public SimpleCredentials(java.lang.String name,
+                         char[] password)
+
+
Should only be used by hibernate or package calls. +

+

Parameters:
name -
password -
+ + + + + + + + +
+Method Detail
+ +

+getName

+
+public java.lang.String getName()
+
+
Returns the name of the tool. +

+

+
Specified by:
getName in interface ICredentials
+
+
+ +
Returns:
the tool name.
+
+
+
+ +

+getPassword

+
+public char[] getPassword()
+
+
Returns the password. +

+ Note that this method returns a reference to the password. + The password is set when the creditionals are passed in to get a ticket, + and then removed. +

+

+

+
Specified by:
getPassword in interface ICredentials
+
+
+ +
Returns:
the password.
+
+
+
+ +

+clearPassword

+
+public void clearPassword()
+
+
Clear the current password. Clear it after use to + ensure that it is not left in memory as security hole. +

+

+
Specified by:
clearPassword in interface ICredentials
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/SimpleRepository.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/SimpleRepository.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/SimpleRepository.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,993 @@ + + + + + + +SimpleRepository + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Class SimpleRepository

+
+java.lang.Object
+  extended bycom.lamsinternational.lams.contentrepository.SimpleRepository
+
+
+
All Implemented Interfaces:
org.springframework.beans.factory.BeanFactoryAware, IRepository, IRepositoryAdmin
+
+
+
+
public class SimpleRepository
extends java.lang.Object
implements IRepositoryAdmin, org.springframework.beans.factory.BeanFactoryAware
+ +

+Many methods in this class will throw a RepositoryRuntimeException + if the internal data is missing. This is not indicated + on the method signatures. +

+ +

+

+
Author:
+
Fiona Malikoff
+
+
+ +

+ + + + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from interface com.lamsinternational.lams.contentrepository.IRepository
REPOSITORY_CONTEXT_PATH, REPOSITORY_SERVICE_ID
+  + + + + + + + + + + +
+Constructor Summary
SimpleRepository() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ NodeKeyaddFileItem(ITicket ticket, + java.io.InputStream istream, + java.lang.String filename, + java.lang.String mimeType, + java.lang.String versionDescription) + +
+          Add a new file to the repository.
+ NodeKeyaddPackageItem(ITicket ticket, + java.lang.String dirPath, + java.lang.String startFile, + java.lang.String versionDescription) + +
+          Add a new package of files to the repository.
+ voidaddWorkspace(ICredentials credentials, + java.lang.String workspaceName) + +
+          Add a workspace, giving the credentials as the user of this workspace.
+ voidassignCredentials(ICredentials credentials, + java.lang.String workspaceName) + +
+          Assign credentials to a workspace.
+ voidcreateCredential(ICredentials newCredential) + +
+          Create a new repository "user" - usually a tool.
+ java.lang.String[]deleteNode(ITicket ticket, + java.lang.Long uuid) + +
+          Delete a node and all its versions, returning a list of the files + that could not be deleted properly.
+ java.lang.String[]deleteVersion(ITicket ticket, + java.lang.Long uuid, + java.lang.Long version) + +
+          Delete the current version of a node, returning a list of the files + that could not be deleted properly.
+ ICredentialDAOgetCredentialDAO() + +
+           
+ IVersionedNodegetFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.Long version) + +
+          Get an item from the repository based on the UUID.
+ IVersionedNodegetFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String relPath, + java.lang.Long version) + +
+          Get an item from the repository based on the UUID and relative + path.
+ java.util.SortedMapgetNodeList(ITicket ticket) + +
+          Get a complete list of all nodes in the workspace and their + version histories.
+ java.util.SortedSetgetVersionHistory(ITicket ticket, + java.lang.Long uuid) + +
+          Get the history for a node.
+ IWorkspaceDAOgetWorkspaceDAO() + +
+           
+ ITicketlogin(ICredentials credentials, + java.lang.String workspaceName) + +
+          Login, creating a new ticket for the given credentials and specified + workspace.
+ voidlogout(ITicket ticket) + +
+          Finish using this ticket.
+ voidsetBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) + +
+           
+ voidsetCredentialDAO(ICredentialDAO credentialDAO) + +
+           
+ voidsetWorkspaceDAO(IWorkspaceDAO workspaceDAO) + +
+           
+ voidupdateCredentials(ICredentials oldCredential, + ICredentials newCredential) + +
+          Update a credential.
+ NodeKeyupdateFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String filename, + java.io.InputStream istream, + java.lang.String mimeType, + java.lang.String versionDescription) + +
+          Update an existing file in the repository.
+ NodeKeyupdatePackageItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String dirPath, + java.lang.String startFile, + java.lang.String versionDescription) + +
+          Add a new package of files to the repository.
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+SimpleRepository

+
+public SimpleRepository()
+
+
+ + + + + + + + +
+Method Detail
+ +

+login

+
+public ITicket login(ICredentials credentials,
+                     java.lang.String workspaceName)
+              throws LoginException,
+                     WorkspaceNotFoundException
+
+
Description copied from interface: IRepository
+
Login, creating a new ticket for the given credentials and specified + workspace. If login fails, a LoginException is thrown and + no valid ticket is generated. The credentials object in the ticket + does not contain the password. + + It does not clear the password in the input credentials object. +

+

+
Specified by:
login in interface IRepository
+
+
+
Parameters:
credentials - The credentials of the user
workspaceName - the name of a workspace. +
Returns:
a valid ITicket for the user to access the repository. +
Throws: +
WorkspaceNotFoundException - Workspace name doesn't exist. +
LoginException - Login authentication fails.
+
+
+
+ +

+addWorkspace

+
+public void addWorkspace(ICredentials credentials,
+                         java.lang.String workspaceName)
+                  throws LoginException,
+                         ItemExistsException,
+                         RepositoryCheckedException
+
+
Add a workspace, giving the credentials as the user of this workspace. + It does not clear the password in the credentials +

+

+
Specified by:
addWorkspace in interface IRepository
+
+
+
Parameters:
credentials - this user/password must already exist in the repository. Password will be checked.
workspaceName - +
Throws: +
LoginException - if credentials are not authorised to add/access the new workspace. +
ItemExistsException - if the workspace already exists. +
RepositoryCheckedException - if parameters are missing.
+
+
+
+ +

+createCredential

+
+public void createCredential(ICredentials newCredential)
+                      throws RepositoryCheckedException
+
+
Create a new repository "user" - usually a tool. + The password must be at least 6 chars. + This method will not wipe out the password in the newCredential object. + Possibly this should only be available to an internal management tool + *** Security Risk - I'm converting two passwords to a string... *** +

+

+
Specified by:
createCredential in interface IRepository
+
+
+
Parameters:
newCredential - this user/password will be added to the repository +
Throws: +
RepositoryCheckedException - if parameters are missing.
+
+
+
+ +

+updateCredentials

+
+public void updateCredentials(ICredentials oldCredential,
+                              ICredentials newCredential)
+                       throws LoginException,
+                              RepositoryCheckedException,
+                              RepositoryRuntimeException
+
+
Update a credential. Name cannot change, so really only the password changes + The password must be at least 6 chars. + Possibly this should only be available to an internal management tool + *** Security Risk - I'm converting the password to a string... *** +

+

+
Specified by:
updateCredentials in interface IRepository
+
+
+
Parameters:
oldCredential - the current user/password
newCredential - the new user/password +
Throws: +
LoginException - if the oldCredential fails login test (e.g. wrong password) +
RepositoryCheckedException - if one of the credentials objects are missing +
RepositoryRuntimeException - if an internal error occurs.
+
+
+
+ +

+assignCredentials

+
+public void assignCredentials(ICredentials credentials,
+                              java.lang.String workspaceName)
+                       throws RepositoryCheckedException,
+                              WorkspaceNotFoundException,
+                              LoginException
+
+
Assign credentials to a workspace. + Will check the credentials to ensure they are in the database. + Possibly this should only be available to an internal management tool +

+

+
Specified by:
assignCredentials in interface IRepositoryAdmin
+
+
+ +
Throws: +
RepositoryCheckedException +
WorkspaceNotFoundException +
LoginException
+
+
+
+ +

+logout

+
+public void logout(ITicket ticket)
+
+
Description copied from interface: IRepository
+
Finish using this ticket. No more updates may be used with this ticket + after logout(). Allows any resources to be freed. +

+

+
Specified by:
logout in interface IRepository
+
+
+
Parameters:
ticket - ticket issued on login. Identifies tool and workspace - mandatory
+
+
+
+ +

+addFileItem

+
+public NodeKey addFileItem(ITicket ticket,
+                           java.io.InputStream istream,
+                           java.lang.String filename,
+                           java.lang.String mimeType,
+                           java.lang.String versionDescription)
+                    throws FileException,
+                           AccessDeniedException,
+                           InvalidParameterException
+
+
Description copied from interface: IRepository
+
Add a new file to the repository. This will create + a completely new entry (node) in the repository, starting + with version 1. +

+

+
Specified by:
addFileItem in interface IRepository
+
+
+
Parameters:
ticket - ticket issued on login. Identifies tool and workspace - mandatory
istream - new file, as an input stream - mandatory
mimeType - mime type of file - optional
versionDescription - human readable comment about the version - optional +
Returns:
nodeKey (uuid and version) +
Throws: +
AccessDeniedException - if ticket doesn't allow this action +
FileException - if unable to save node due to file error +
InvalidParameterException - if a required parameter is missing
+
+
+
+ +

+addPackageItem

+
+public NodeKey addPackageItem(ITicket ticket,
+                              java.lang.String dirPath,
+                              java.lang.String startFile,
+                              java.lang.String versionDescription)
+                       throws AccessDeniedException,
+                              InvalidParameterException,
+                              FileException
+
+
Description copied from interface: IRepository
+
Add a new package of files to the repository. If startFile + is not supplied, then it is assumed to be index.html. +

+

+
Specified by:
addPackageItem in interface IRepository
+
+
+
Parameters:
ticket - ticket issued on login. Identifies tool and workspace - mandatory
dirPath - directory path containing files - mandatory
startFile - relative path of initial file - optional
versionDescription - human readable comment about the version - optional +
Returns:
nodeKey (uuid and version) +
Throws: +
AccessDeniedException - if ticket doesn't allow this action +
InvalidParameterException - if a required parameter is missing +
FileException - if unable to save node due to file error
+
+
+
+ +

+getFileItem

+
+public IVersionedNode getFileItem(ITicket ticket,
+                                  java.lang.Long uuid,
+                                  java.lang.Long version)
+                           throws AccessDeniedException,
+                                  ItemNotFoundException,
+                                  FileException
+
+
Description copied from interface: IRepository
+
Get an item from the repository based on the UUID. This + may be either a file or package node. +

+

+
Specified by:
getFileItem in interface IRepository
+
+
+
Parameters:
ticket - ticket issued on login. Identifies tool and workspace - mandatory
uuid - id of the file/package - mandatory
version - desired version - if null gets latest version +
Returns:
node. +
Throws: +
AccessDeniedException +
ItemNotFoundException +
FileException
+
+
+
+ +

+getFileItem

+
+public IVersionedNode getFileItem(ITicket ticket,
+                                  java.lang.Long uuid,
+                                  java.lang.String relPath,
+                                  java.lang.Long version)
+                           throws AccessDeniedException,
+                                  ItemNotFoundException,
+                                  FileException
+
+
Description copied from interface: IRepository
+
Get an item from the repository based on the UUID and relative + path. Only used to get the content from a package. The + UUID is the id of the package, and relPath is the relative + path within the package. + + If the item is a package and relPath is null, return the package node. +

+

+
Specified by:
getFileItem in interface IRepository
+
+
+
Parameters:
ticket - ticket issued on login. Identifies tool and workspace - mandatory
uuid - id of the package - mandatory
relPath - relative path within the package - if null, + returns start file.
version - desired version - if null gets latest version +
Returns:
node. +
Throws: +
AccessDeniedException - if ticket doesn't allow this action +
FileException - if unable to save node due to file error +
ItemNotFoundException - if node with uuid cannot be found
+
+
+
+ +

+getNodeList

+
+public java.util.SortedMap getNodeList(ITicket ticket)
+                                throws AccessDeniedException
+
+
Description copied from interface: IRepository
+
Get a complete list of all nodes in the workspace and their + version histories. +

+ Warning: Once a workspace gets a lot of nodes, this will be + a very very expensive call!!!!! +

+

+

+
Specified by:
getNodeList in interface IRepository
+
+
+
Parameters:
ticket - ticket issued on login. Identifies tool and workspace - mandatory +
Returns:
SortedMap key Long uuid, value IVersionDetail version history +
Throws: +
AccessDeniedException
+
+
+
+ +

+getVersionHistory

+
+public java.util.SortedSet getVersionHistory(ITicket ticket,
+                                             java.lang.Long uuid)
+                                      throws ItemNotFoundException,
+                                             AccessDeniedException
+
+
Description copied from interface: IRepository
+
Get the history for a node. Quite intensive operation the + first time it is run on a node as it has to build all the + data structures. +

+

+
Specified by:
getVersionHistory in interface IRepository
+
+
+
Parameters:
ticket - ticket issued on login. Identifies tool and workspace - mandatory +
Returns:
SortedSet of IVersionDetail objects, ordered by version +
Throws: +
ItemNotFoundException +
AccessDeniedException
+
+
+
+ +

+updateFileItem

+
+public NodeKey updateFileItem(ITicket ticket,
+                              java.lang.Long uuid,
+                              java.lang.String filename,
+                              java.io.InputStream istream,
+                              java.lang.String mimeType,
+                              java.lang.String versionDescription)
+                       throws AccessDeniedException,
+                              ItemNotFoundException,
+                              FileException,
+                              InvalidParameterException
+
+
Description copied from interface: IRepository
+
Update an existing file in the repository. This will create + a new version of this file. +

+

+
Specified by:
updateFileItem in interface IRepository
+
+
+
Parameters:
ticket - ticket issued on login. Identifies tool and workspace - mandatory
uuid - unique id of the file - mandatory
istream - new file, as an input stream - mandatory
versionDescription - human readable comment about the version - optional
mimeType - mime type of file - optional +
Throws: +
FileException - if unable to save node due to file error +
ItemNotFoundException - if node with uuid cannot be found +
AccessDeniedException - if ticket doesn't allow this action +
InvalidParameterException - if a required parameter is missing
+
+
+
+ +

+updatePackageItem

+
+public NodeKey updatePackageItem(ITicket ticket,
+                                 java.lang.Long uuid,
+                                 java.lang.String dirPath,
+                                 java.lang.String startFile,
+                                 java.lang.String versionDescription)
+                          throws AccessDeniedException,
+                                 ItemNotFoundException,
+                                 FileException,
+                                 InvalidParameterException
+
+
Description copied from interface: IRepository
+
Add a new package of files to the repository. If startFile + is not supplied, then it is assumed to be index.html. +

+

+
Specified by:
updatePackageItem in interface IRepository
+
+
+
Parameters:
ticket - ticket issued on login. Identifies tool and workspace - mandatory
uuid - unique id of the package - mandatory
dirPath - directory path containing files - mandatory
startFile - relative path of initial file - optional
versionDescription - human readable comment about the version - optional +
Returns:
nodeKey (uuid and version) +
Throws: +
AccessDeniedException - if ticket doesn't allow this action +
ItemNotFoundException - if node with uuid cannot be found +
InvalidParameterException - if a required parameter is missing +
FileException - if unable to save node due to file error
+
+
+
+ +

+deleteNode

+
+public java.lang.String[] deleteNode(ITicket ticket,
+                                     java.lang.Long uuid)
+                              throws AccessDeniedException,
+                                     InvalidParameterException,
+                                     ItemNotFoundException
+
+
Description copied from interface: IRepository
+
Delete a node and all its versions, returning a list of the files + that could not be deleted properly. If it is a package node, the child + nodes will be deleted. + + A file missing from the disk is ignored, allowing nodes with lost files + to be deleted. +

+

+
Specified by:
deleteNode in interface IRepository
+
+
+ +
Returns:
the list of file(paths) that could not be deleted. The db entries + will have been deleted but these files could not be deleted. +
Throws: +
ItemNotFoundException - if node with uuid cannot be found +
InvalidParameterException - if a required parameter is missing +
AccessDeniedException - if ticket doesn't allow this action
+
+
+
+ +

+deleteVersion

+
+public java.lang.String[] deleteVersion(ITicket ticket,
+                                        java.lang.Long uuid,
+                                        java.lang.Long version)
+                                 throws AccessDeniedException,
+                                        InvalidParameterException,
+                                        ItemNotFoundException
+
+
Description copied from interface: IRepository
+
Delete the current version of a node, returning a list of the files + that could not be deleted properly. If it is a package node, the child + nodes will be deleted. + + If after deleting the version, we find that there a no other versions + for a node, then delete the node. + + A file missing from the disk is ignored, allowing nodes with lost files + to be deleted. +

+

+
Specified by:
deleteVersion in interface IRepository
+
+
+ +
Returns:
the list of file(paths) that could not be deleted. The db entries + will have been deleted but these files could not be deleted. +
Throws: +
InvalidParameterException - if a required parameter is missing +
ItemNotFoundException - if node with uuid cannot be found +
AccessDeniedException - if ticket doesn't allow this action
+
+
+
+ +

+getWorkspaceDAO

+
+public IWorkspaceDAO getWorkspaceDAO()
+
+
+
+
+
+ +
Returns:
Returns the workspaceDAO.
+
+
+
+ +

+setWorkspaceDAO

+
+public void setWorkspaceDAO(IWorkspaceDAO workspaceDAO)
+
+
+
+
+
+
Parameters:
workspaceDAO - The workspaceDAO to set.
+
+
+
+ +

+getCredentialDAO

+
+public ICredentialDAO getCredentialDAO()
+
+
+
+
+
+ +
Returns:
Returns the credentialDAO.
+
+
+
+ +

+setCredentialDAO

+
+public void setCredentialDAO(ICredentialDAO credentialDAO)
+
+
+
+
+
+
Parameters:
credentialDAO - The credentialDAO to set.
+
+
+
+ +

+setBeanFactory

+
+public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
+                    throws org.springframework.beans.BeansException
+
+
+
Specified by:
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
+
+
+ +
Throws: +
org.springframework.beans.BeansException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/SimpleTicket.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/SimpleTicket.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/SimpleTicket.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,352 @@ + + + + + + +SimpleTicket + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Class SimpleTicket

+
+java.lang.Object
+  extended bycom.lamsinternational.lams.contentrepository.SimpleTicket
+
+
+
All Implemented Interfaces:
ITicket
+
+
+
+
public class SimpleTicket
extends java.lang.Object
implements ITicket
+ +

+SimpleTicket is a basic implementation of Ticket. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidclear() + +
+          Make this ticket unusable.
+ booleanequals(java.lang.Object other) + +
+           
+ java.lang.StringgetTicketId() + +
+           
+ java.lang.LonggetWorkspaceId() + +
+          Get the workspace associated with this ticket + Should only be accessed by the content repository package members.
+ inthashCode() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + + + + + +
+Method Detail
+ +

+getWorkspaceId

+
+public java.lang.Long getWorkspaceId()
+
+
Get the workspace associated with this ticket + Should only be accessed by the content repository package members. +

+

+
Specified by:
getWorkspaceId in interface ITicket
+
+
+
+
+
+
+ +

+getTicketId

+
+public java.lang.String getTicketId()
+
+
+
Specified by:
getTicketId in interface ITicket
+
+
+ +
Returns:
Returns the ticketId.
+
+
+
+ +

+clear

+
+public void clear()
+
+
Make this ticket unusable. Called by the repository on logout +

+

+
Specified by:
clear in interface ITicket
+
+
+
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object other)
+
+
+
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/SimpleVersionDetail.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/SimpleVersionDetail.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/SimpleVersionDetail.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,396 @@ + + + + + + +SimpleVersionDetail + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Class SimpleVersionDetail

+
+java.lang.Object
+  extended bycom.lamsinternational.lams.contentrepository.SimpleVersionDetail
+
+
+
All Implemented Interfaces:
java.lang.Comparable, IVersionDetail
+
+
+
+
public class SimpleVersionDetail
extends java.lang.Object
implements IVersionDetail
+ +

+Describes the version details - for displaying a version + history. Thise is a transient object. +

+ +

+

+
Author:
+
Fiona Malikoff
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ intcompareTo(java.lang.Object o) + +
+          Compares this object with the specified object for order.
+ booleanequals(java.lang.Object other) + +
+           
+ java.util.DategetCreatedDateTime() + +
+          Get the date/time of when this version was created.
+ java.lang.StringgetDescription() + +
+          Get the general text string describing the version.
+ java.lang.LonggetVersionId() + +
+          Get the version id.
+ inthashCode() + +
+           
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + + + + + +
+Method Detail
+ +

+getCreatedDateTime

+
+public java.util.Date getCreatedDateTime()
+
+
Description copied from interface: IVersionDetail
+
Get the date/time of when this version was created. +

+

+
Specified by:
getCreatedDateTime in interface IVersionDetail
+
+
+ +
Returns:
Returns the createdDateTime.
+
+
+
+ +

+getDescription

+
+public java.lang.String getDescription()
+
+
Description copied from interface: IVersionDetail
+
Get the general text string describing the version. +

+

+
Specified by:
getDescription in interface IVersionDetail
+
+
+ +
Returns:
Returns the description.
+
+
+
+ +

+getVersionId

+
+public java.lang.Long getVersionId()
+
+
Description copied from interface: IVersionDetail
+
Get the version id. This will be a number greater than 0. +

+

+
Specified by:
getVersionId in interface IVersionDetail
+
+
+ +
Returns:
Returns the versionId.
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
+
+
+
+
+
+
+ +

+equals

+
+public boolean equals(java.lang.Object other)
+
+
+
+
+
+
+
+
+
+ +

+hashCode

+
+public int hashCode()
+
+
+
+
+
+
+
+
+
+ +

+compareTo

+
+public int compareTo(java.lang.Object o)
+              throws java.lang.ClassCastException
+
+
Compares this object with the specified object for order. + Returns a negative integer, zero, or a positive integer as this + object is less than, equal to, or greater than the specified + object. If o is null, then -1 is returned. + + Compares version id first, then if both equals compares date. + If still both equals, compares strings. This means the comparator + should be compatible with the equals method +

+

+
Specified by:
compareTo in interface java.lang.Comparable
+
+
+ +
Throws: +
java.lang.ClassCastException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/SimpleVersionedNode.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/SimpleVersionedNode.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/SimpleVersionedNode.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,1195 @@ + + + + + + +SimpleVersionedNode + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Class SimpleVersionedNode

+
+java.lang.Object
+  extended bycom.lamsinternational.lams.contentrepository.SimpleVersionedNode
+
+
+
All Implemented Interfaces:
org.springframework.beans.factory.BeanFactoryAware, IVersionedNode, IVersionedNodeAdmin
+
+
+
+
public class SimpleVersionedNode
extends java.lang.Object
implements org.springframework.beans.factory.BeanFactoryAware, IVersionedNodeAdmin
+ +

+This is the default implementation for IVersionedNode. + All the properties in the database. One file can be attached. +

+ The object should be created as follows: +

+ If using the Spring factory, you nodeDAO and loadData() are called + automatically, but you will still need to set the workspace. +

+ Many methods in this class will throw a RepositoryRuntimeException + if the internal data is missing. This is not indicated + on the method signatures. + + TODO instead of creating a new prototype node each time we want + one of these, use a pool. There is a significant overhead to creating + an object via the spring framework! +

+ +

+

+
Author:
+
Fiona Malikoff
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
SimpleVersionedNode() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.util.ListdeleteNode() + +
+          Delete all versions of this node, returning the number of nodes + deleted.
+ java.util.ListdeleteVersion() + +
+          Delete the current version of this node, returning a list of the files + that could not be deleted properly.
+ voiddestroy() + +
+          Clean up any resources that will not be cleaned up by the garbage + collector after this object is destroyed.
+ java.util.DategetCreatedDateTime() + +
+          Get the date/time of when this node was created.
+ java.io.InputStreamgetFile() + +
+          Get the file, as an inputstream.
+ IFileDAOgetFileDAO() + +
+           
+ IVersionedNodegetNode(java.lang.String relPath) + +
+          Another case for the factory?
+ INodeDAOgetNodeDAO() + +
+           
+ NodeKeygetNodeKey() + +
+          Get the uuid and version of this node/version
+ java.util.SetgetNodes() + +
+          If no nodes are found, returns an empty set.
+ java.lang.StringgetNodeType() + +
+          Gets the type of the current node.
+ java.lang.StringgetPath() + +
+          Get the path of this node
+ java.util.SetgetProperties() + +
+          Returns a set of IValue objects - this method could cause a problem + when lazy initialised.
+ IValuegetProperty(java.lang.String name) + +
+          Returns the property at relPath relative to this + node.
+ ITicketgetTicket() + +
+          Get the ticket through which this node was accessed.
+ java.lang.LonggetUUID() + +
+          Returns the UUID of this node as recorded in the node's jcr:UUID + property.
+ java.lang.LonggetVersion() + +
+          Get the version of this node.
+ java.util.SortedSetgetVersionHistory() + +
+          Get the history for this node.
+ booleanhasNode(java.lang.String relPath) + +
+          Indicates whether a node exists at relPath + Returns true if a node exists at relPath and + false otherwise.
+ booleanhasNodes() + +
+          Indicates whether this node has child nodes.
+ booleanhasProperties() + +
+          Indicates whether this node has properties.
+ booleanhasProperty(java.lang.String name) + +
+          Indicates whether a property exists for this name + Returns true if a property exists and false otherwise.
+ booleanisNodeType(java.lang.String nodeTypeName) + +
+          (non-Javadoc)
+ voidsetBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) + +
+           
+ voidsetFile(java.io.InputStream iStream, + java.lang.String filename, + java.lang.String mimeType) + +
+          Set the file, passed in as an inputstream.
+ voidsetFileDAO(IFileDAO fileDAO) + +
+           
+ voidsetNodeDAO(INodeDAO nodeDAO) + +
+           
+ voidsetProperty(java.lang.String name, + boolean value) + +
+          Sets the property to a BOOLEAN value.
+ voidsetProperty(java.lang.String name, + java.util.Calendar value) + +
+          Sets the property a CALENDAR value.
+ voidsetProperty(java.lang.String name, + double value) + +
+          Sets the property to a DOUBLE value.
+ voidsetProperty(java.lang.String name, + long value) + +
+          Sets the property to a LONG value.
+ voidsetProperty(java.lang.String name, + java.lang.String value) + +
+          Sets the property to a STRING value.
+ voidsetProperty(java.lang.String name, + java.lang.String value, + int type) + +
+          Sets the property to a value, based on the specified type, after converting + from the string.
+ java.lang.StringtoString() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+SimpleVersionedNode

+
+public SimpleVersionedNode()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getNodeKey

+
+public NodeKey getNodeKey()
+
+
Description copied from interface: IVersionedNode
+
Get the uuid and version of this node/version +

+

+
Specified by:
getNodeKey in interface IVersionedNode
+
+
+
+
+
+
+ +

+setProperty

+
+public void setProperty(java.lang.String name,
+                        java.lang.String value,
+                        int type)
+
+
Description copied from interface: IVersionedNodeAdmin
+
Sets the property to a value, based on the specified type, after converting + from the string. +

+

+
Specified by:
setProperty in interface IVersionedNodeAdmin
+
+
+
Parameters:
name - The name of a property of this node
value - The value to be assigned
type - The type of the property
+
+
+
+ +

+setProperty

+
+public void setProperty(java.lang.String name,
+                        java.lang.String value)
+                 throws RepositoryRuntimeException
+
+
Description copied from interface: IVersionedNodeAdmin
+
Sets the property to a STRING value. + To remove a property, set the value to null. +

+

+
Specified by:
setProperty in interface IVersionedNodeAdmin
+
+
+
Parameters:
name - The name of a property of this node
value - The value to be assigned +
Throws: +
RepositoryRuntimeException
+
+
+
+ +

+setProperty

+
+public void setProperty(java.lang.String name,
+                        boolean value)
+
+
Description copied from interface: IVersionedNodeAdmin
+
Sets the property to a BOOLEAN value. Creates the property if required. + To remove a property, set the value to null. +

+

+
Specified by:
setProperty in interface IVersionedNodeAdmin
+
+
+
Parameters:
name - The name of a property of this node
value - The value to be assigned
+
+
+
+ +

+setProperty

+
+public void setProperty(java.lang.String name,
+                        double value)
+
+
Description copied from interface: IVersionedNodeAdmin
+
Sets the property to a DOUBLE value. + To remove a property, set the value to null. +

+

+
Specified by:
setProperty in interface IVersionedNodeAdmin
+
+
+
Parameters:
name - The name of a property of this node
value - The value to be assigned
+
+
+
+ +

+setProperty

+
+public void setProperty(java.lang.String name,
+                        long value)
+
+
Description copied from interface: IVersionedNodeAdmin
+
Sets the property to a LONG value. + To remove a property, set the value to null. +

+

+
Specified by:
setProperty in interface IVersionedNodeAdmin
+
+
+
Parameters:
name - The name of a property of this node
value - The value to be assigned
+
+
+
+ +

+setProperty

+
+public void setProperty(java.lang.String name,
+                        java.util.Calendar value)
+
+
Description copied from interface: IVersionedNodeAdmin
+
Sets the property a CALENDAR value. + To remove a property, set the value to null. +

+

+
Specified by:
setProperty in interface IVersionedNodeAdmin
+
+
+
Parameters:
name - The name of a property of this node
value - The value to be assigned
+
+
+
+ +

+getProperty

+
+public IValue getProperty(java.lang.String name)
+
+
Description copied from interface: IVersionedNode
+
Returns the property at relPath relative to this + node. +

+

+
Specified by:
getProperty in interface IVersionedNode
+
+
+
Parameters:
name - +
Returns:
The property value at name, NULL if no such property exists.
See Also:
IVersionedNode.getProperty(java.lang.String)
+
+
+
+ +

+getProperties

+
+public java.util.Set getProperties()
+
+
Returns a set of IValue objects - this method could cause a problem + when lazy initialised. +

+

+
Specified by:
getProperties in interface IVersionedNode
+
+
+ +
Returns:
A Set of IValue objects
+
+
+
+ +

+getUUID

+
+public java.lang.Long getUUID()
+
+
Description copied from interface: IVersionedNode
+
Returns the UUID of this node as recorded in the node's jcr:UUID + property. +

+

+
Specified by:
getUUID in interface IVersionedNode
+
+
+ +
Returns:
the UUID of this node
See Also:
IVersionedNode.getUUID()
+
+
+
+ +

+hasProperty

+
+public boolean hasProperty(java.lang.String name)
+
+
Description copied from interface: IVersionedNode
+
Indicates whether a property exists for this name + Returns true if a property exists and false otherwise. +

+

+
Specified by:
hasProperty in interface IVersionedNode
+
+
+
Parameters:
name - The name of a (possible) property. +
Returns:
true if a property exists at relPath; + false otherwise.
See Also:
IVersionedNode.hasProperty(java.lang.String)
+
+
+
+ +

+hasProperties

+
+public boolean hasProperties()
+
+
Description copied from interface: IVersionedNode
+
Indicates whether this node has properties. + Returns true if this node has one or more properties; + false otherwise. +

+

+
Specified by:
hasProperties in interface IVersionedNode
+
+
+ +
Returns:
true if this node has one or more properties; + false otherwise.
See Also:
IVersionedNode.hasProperties()
+
+
+
+ +

+getNodeType

+
+public java.lang.String getNodeType()
+
+
Description copied from interface: IVersionedNode
+
Gets the type of the current node. See NodeType for + possible node types. Note: the node type is shared across all + versions of a node +

+

+
Specified by:
getNodeType in interface IVersionedNode
+
+
+ +
Returns:
node type name
See Also:
IVersionedNode.getNodeType()
+
+
+
+ +

+isNodeType

+
+public boolean isNodeType(java.lang.String nodeTypeName)
+
+
(non-Javadoc) +

+

+
Specified by:
isNodeType in interface IVersionedNode
+
+
+
Parameters:
nodeTypeName - the name of a node type. +
Returns:
true if this node is of the specified node type + or a subtype of the specified node type; returns false otherwise.
See Also:
IVersionedNode.isNodeType(java.lang.String)
+
+
+
+ +

+getVersionHistory

+
+public java.util.SortedSet getVersionHistory()
+
+
Get the history for this node. Quite intensive operation the + first time it is run on a node as it has to build all the + data structures. +

+

+
Specified by:
getVersionHistory in interface IVersionedNode
+
+
+ +
Returns:
SortedSet of IVersionDetail objects, ordered by version
+
+
+
+ +

+getPath

+
+public java.lang.String getPath()
+
+
Description copied from interface: IVersionedNode
+
Get the path of this node +

+

+
Specified by:
getPath in interface IVersionedNode
+
+
+ +
Returns:
relative path (from parent)
See Also:
IVersionedNode.getPath()
+
+
+
+ +

+getTicket

+
+public ITicket getTicket()
+
+
Description copied from interface: IVersionedNode
+
Get the ticket through which this node was accessed. +

+

+
Specified by:
getTicket in interface IVersionedNode
+
+
+ +
Returns:
A (@link ITicket} object.
See Also:
IVersionedNode.getTicket()
+
+
+
+ +

+getVersion

+
+public java.lang.Long getVersion()
+
+
Description copied from interface: IVersionedNode
+
Get the version of this node. +

+

+
Specified by:
getVersion in interface IVersionedNode
+
+
+ +
Returns:
The version number, which will be greater than 0.
See Also:
IVersionedNode.getVersion()
+
+
+
+ +

+getCreatedDateTime

+
+public java.util.Date getCreatedDateTime()
+
+
Description copied from interface: IVersionedNode
+
Get the date/time of when this node was created. +

+

+
Specified by:
getCreatedDateTime in interface IVersionedNode
+
+
+ +
Returns:
date/time stamp of creation
See Also:
IVersionedNode.getCreatedDateTime()
+
+
+
+ +

+getFile

+
+public java.io.InputStream getFile()
+                            throws FileException
+
+
Get the file, as an inputstream. It is the responsibility + of the caller to close the stream. Note: this should only be + called once the node is saved - do not call it directly after + setting the file stream + + If the node is a package node, it will get the input stream + of the first file. +

+

+
Specified by:
getFile in interface IVersionedNode
+
+
+ +
Throws: +
FileException
+
+
+
+ +

+setFile

+
+public void setFile(java.io.InputStream iStream,
+                    java.lang.String filename,
+                    java.lang.String mimeType)
+             throws InvalidParameterException
+
+
Set the file, passed in as an inputstream. The stream will be closed + when the file is saved. Only nodes of type FILENODE can have a file! +

+

+
Specified by:
setFile in interface IVersionedNodeAdmin
+
+
+
Parameters:
iStream - mandatory
filename - mandatory
mimeType - optional +
Throws: +
InvalidParameterException
+
+
+
+ +

+toString

+
+public java.lang.String toString()
+
+
+
+
+
+
+
+
+
+ +

+getNode

+
+public IVersionedNode getNode(java.lang.String relPath)
+                       throws ItemNotFoundException
+
+
Another case for the factory? +

+

+
Specified by:
getNode in interface IVersionedNode
+
+
+
Parameters:
relPath - The relative path of the node to retrieve. +
Returns:
The node +
Throws: +
ItemNotFoundException - If no node exists at the + specified path.
See Also:
IVersionedNode.getNode(String relPath)
+
+
+
+ +

+getNodes

+
+public java.util.Set getNodes()
+
+
If no nodes are found, returns an empty set. +

+

+
Specified by:
getNodes in interface IVersionedNode
+
+
+ +
Returns:
Set of nodes.
See Also:
IVersionedNode.getNodes()
+
+
+
+ +

+hasNode

+
+public boolean hasNode(java.lang.String relPath)
+
+
Description copied from interface: IVersionedNode
+
Indicates whether a node exists at relPath + Returns true if a node exists at relPath and + false otherwise. +

+

+
Specified by:
hasNode in interface IVersionedNode
+
+
+
Parameters:
relPath - The path of a (possible) node. +
Returns:
true if a node exists at relPath; + false otherwise.
See Also:
IVersionedNode.hasNode(String relPath)
+
+
+
+ +

+hasNodes

+
+public boolean hasNodes()
+
+
Description copied from interface: IVersionedNode
+
Indicates whether this node has child nodes. + Returns true if this node has one or more child nodes; + false otherwise. +

+

+
Specified by:
hasNodes in interface IVersionedNode
+
+
+ +
Returns:
true if this node has one or more child nodes; + false otherwise.
See Also:
IVersionedNode.hasNodes()
+
+
+
+ +

+deleteNode

+
+public java.util.List deleteNode()
+
+
Delete all versions of this node, returning the number of nodes + deleted. If it is a package node, all child nodes will be deleted. +

+

+
Specified by:
deleteNode in interface IVersionedNodeAdmin
+
+
+ +
Returns:
the list of file(paths) that could not be deleted. The db entries + will have been deleted but these files could not be deleted.
See Also:
IVersionedNodeAdmin.deleteNode()
+
+
+
+ +

+deleteVersion

+
+public java.util.List deleteVersion()
+
+
Description copied from interface: IVersionedNodeAdmin
+
Delete the current version of this node, returning a list of the files + that could not be deleted properly. If it is a package node, the child + nodes will be deleted. + + If after deleting the version, we find that there a no other versions + for a node, then delete the node. + + A file missing from the disk is ignored, allowing nodes with lost files + to be deleted. +

+

+
Specified by:
deleteVersion in interface IVersionedNodeAdmin
+
+
+ +
Returns:
the list of file(paths) that could not be deleted. The db entries + will have been deleted but these files could not be deleted.
See Also:
IVersionedNodeAdmin.deleteVersion()
+
+
+
+ +

+getNodeDAO

+
+public INodeDAO getNodeDAO()
+
+
+
+
+
+ +
Returns:
Returns the nodeDAO.
+
+
+
+ +

+setNodeDAO

+
+public void setNodeDAO(INodeDAO nodeDAO)
+
+
+
+
+
+
Parameters:
nodeDAO - The nodeDAO to set.
+
+
+
+ +

+getFileDAO

+
+public IFileDAO getFileDAO()
+
+
+
+
+
+ +
Returns:
Returns the fileDAO.
+
+
+
+ +

+setFileDAO

+
+public void setFileDAO(IFileDAO fileDAO)
+
+
+
+
+
+
Parameters:
fileDAO - The fileDAO to set.
+
+
+
+ +

+destroy

+
+public void destroy()
+
+
Clean up any resources that will not be cleaned up by the garbage + collector after this object is destroyed. At present, all it does is + close the filestream if needed +

+

+
+
+
+
+
+
+
+ +

+setBeanFactory

+
+public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
+                    throws org.springframework.beans.BeansException
+
+
+
Specified by:
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
+
+
+ +
Throws: +
org.springframework.beans.BeansException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/TestSimpleRepository.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/TestSimpleRepository.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/TestSimpleRepository.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,508 @@ + + + + + + +TestSimpleRepository + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Class TestSimpleRepository

+
+java.lang.Object
+  extended byjunit.framework.Assert
+      extended byjunit.framework.TestCase
+          extended bycom.lamsinternational.lams.contentrepository.BaseTestCase
+              extended bycom.lamsinternational.lams.contentrepository.TestSimpleRepository
+
+
+
All Implemented Interfaces:
junit.framework.Test
+
+
+
+
public class TestSimpleRepository
extends BaseTestCase
+ +

+Test SimpleRepository and the Credentials code. +

+ +

+

+
Author:
+
Fiona Malikoff
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
TestSimpleRepository() + +
+          Constructor for SimpleRepositoryTest.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidtestAddWorkspace() + +
+           
+ voidtestFileItemDeleteNode() + +
+          create a node with two versions and test deleting them using delete node
+ voidtestFileItemDeleteNodeFileProb() + +
+          create a node with two versions and test deleting them using delete node + but first rig the files so one of them is already gone and the other one is + read only.
+ voidtestFileItemDeleteVersion() + +
+          create a node with two versions and test deleting them using delete version
+ voidtestLoginFailWrongPassword() + +
+           
+ voidtestLoginFailWrongUser() + +
+           
+ voidtestLoginFailWrongWorkspaceDoesNotExist() + +
+           
+ voidtestLoginFailWrongWorkspaceExists() + +
+           
+ voidtestLoginPass() + +
+           
+ voidtestLogout() + +
+           
+ voidtestPackageItem() + +
+           
+ voidtestUserAdmin() + +
+          Tests adding a new user and changing a password
+ + + + + + + +
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, setName, toString
+ + + + + + + +
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+TestSimpleRepository

+
+public TestSimpleRepository()
+
+
Constructor for SimpleRepositoryTest. +

+

+ + + + + + + + +
+Method Detail
+ +

+testLoginPass

+
+public void testLoginPass()
+
+
+
+
+
+
+ +

+testLoginFailWrongUser

+
+public void testLoginFailWrongUser()
+
+
+
+
+
+
+ +

+testLoginFailWrongPassword

+
+public void testLoginFailWrongPassword()
+
+
+
+
+
+
+ +

+testLoginFailWrongWorkspaceExists

+
+public void testLoginFailWrongWorkspaceExists()
+
+
+
+
+
+
+ +

+testLoginFailWrongWorkspaceDoesNotExist

+
+public void testLoginFailWrongWorkspaceDoesNotExist()
+
+
+
+
+
+
+ +

+testAddWorkspace

+
+public void testAddWorkspace()
+
+
+
+
+
+
+ +

+testUserAdmin

+
+public void testUserAdmin()
+
+
Tests adding a new user and changing a password +

+

+
+
+
+
+ +

+testFileItemDeleteVersion

+
+public void testFileItemDeleteVersion()
+
+
create a node with two versions and test deleting them using delete version +

+

+
+
+
+
+ +

+testFileItemDeleteNode

+
+public void testFileItemDeleteNode()
+
+
create a node with two versions and test deleting them using delete node +

+

+
+
+
+
+ +

+testFileItemDeleteNodeFileProb

+
+public void testFileItemDeleteNodeFileProb()
+
+
create a node with two versions and test deleting them using delete node + but first rig the files so one of them is already gone and the other one is + read only. Note: java can delete a read only file - the status just + stops you from writing it. +

+

+
+
+
+
+ +

+testPackageItem

+
+public void testPackageItem()
+
+
+
+
+
+
+ +

+testLogout

+
+public void testLogout()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/TestSimpleTicket.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/TestSimpleTicket.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/TestSimpleTicket.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,313 @@ + + + + + + +TestSimpleTicket + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Class TestSimpleTicket

+
+java.lang.Object
+  extended byjunit.framework.Assert
+      extended byjunit.framework.TestCase
+          extended bycom.lamsinternational.lams.contentrepository.BaseTestCase
+              extended bycom.lamsinternational.lams.contentrepository.TestSimpleTicket
+
+
+
All Implemented Interfaces:
junit.framework.Test
+
+
+
+
public class TestSimpleTicket
extends BaseTestCase
+ +

+Test the SimpleTicket class. Tests the methods for + the ITicket interface. +

+ +

+

+
Author:
+
Fiona Malikoff
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
TestSimpleTicket() + +
+          Constructor for TestSimpleTicket.
+  + + + + + + + + + + + + + + + +
+Method Summary
+ voidtestGetTicketId() + +
+           
+ voidtestGetWorkspaceId() + +
+           
+ + + + + + + +
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, setName, toString
+ + + + + + + +
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+TestSimpleTicket

+
+public TestSimpleTicket()
+                 throws LoginException,
+                        AccessDeniedException,
+                        WorkspaceNotFoundException
+
+
Constructor for TestSimpleTicket. +

+ +

Throws: +
WorkspaceNotFoundException +
AccessDeniedException +
LoginException
+ + + + + + + + +
+Method Detail
+ +

+testGetWorkspaceId

+
+public void testGetWorkspaceId()
+
+
+
+
+
+
+ +

+testGetTicketId

+
+public void testGetTicketId()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/TestSimpleVersionDetail.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/TestSimpleVersionDetail.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/TestSimpleVersionDetail.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,363 @@ + + + + + + +TestSimpleVersionDetail + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Class TestSimpleVersionDetail

+
+java.lang.Object
+  extended byjunit.framework.Assert
+      extended byjunit.framework.TestCase
+          extended bycom.lamsinternational.lams.contentrepository.TestSimpleVersionDetail
+
+
+
All Implemented Interfaces:
junit.framework.Test
+
+
+
+
public class TestSimpleVersionDetail
extends junit.framework.TestCase
+ +

+Checks creation and ordering of SimpleVersionDetail objects, + using the IVersionDetail interface. + + Needs to be in the same package as SimpleVersionDetail + to access protected constructor. +

+ +

+

+
Author:
+
Fiona Malikoff
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
TestSimpleVersionDetail() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidtestCompareTo() + +
+           
+ voidtestEqualsObject() + +
+           
+ voidtestGetCreatedDateTime() + +
+           
+ voidtestGetDescription() + +
+           
+ voidtestGetVersionId() + +
+           
+ + + + + + + +
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, setName, toString
+ + + + + + + +
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+TestSimpleVersionDetail

+
+public TestSimpleVersionDetail()
+
+
+ + + + + + + + +
+Method Detail
+ +

+testGetCreatedDateTime

+
+public void testGetCreatedDateTime()
+
+
+
+
+
+
+ +

+testGetDescription

+
+public void testGetDescription()
+
+
+
+
+
+
+ +

+testGetVersionId

+
+public void testGetVersionId()
+
+
+
+
+
+
+ +

+testEqualsObject

+
+public void testEqualsObject()
+
+
+
+
+
+
+ +

+testCompareTo

+
+public void testCompareTo()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/TestSimpleVersionedNode.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/TestSimpleVersionedNode.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/TestSimpleVersionedNode.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,660 @@ + + + + + + +TestSimpleVersionedNode + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Class TestSimpleVersionedNode

+
+java.lang.Object
+  extended byjunit.framework.Assert
+      extended byjunit.framework.TestCase
+          extended bycom.lamsinternational.lams.contentrepository.BaseTestCase
+              extended bycom.lamsinternational.lams.contentrepository.TestSimpleVersionedNode
+
+
+
All Implemented Interfaces:
junit.framework.Test
+
+
+
+
public class TestSimpleVersionedNode
extends BaseTestCase
+ +

+

+
Author:
+
Fiona Malikoff + + Test the non-persistence related features of a SimpleVersionedNode. + Unable to test the ids as these are generated when written to the database. + + When running tests, please make sure the FILEPATH is set to a file on your PC + or comment out the file tests. + + Needs to be in the same package as SimpleVersionedNode + to access protected methods.
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
TestSimpleVersionedNode() + +
+          Constructor for TestSimpleVersionedNode.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidtestAddNode() + +
+           
+ voidtestAddNodeBadType() + +
+           
+ voidtestBinaryFileNode() + +
+           
+ voidtestGetCreatedDateTime() + +
+           
+ voidtestGetNodeType() + +
+           
+ voidtestGetPath() + +
+           
+ voidtestGetProperties() + +
+           
+ voidtestGetVersion() + +
+           
+ voidtestGetVersionHistory() + +
+           
+ voidtestHasProperties() + +
+           
+ voidtestHasProperty() + +
+           
+ voidtestIsNodeType() + +
+           
+ voidtestSetPropertySpecifiedType() + +
+           
+ voidtestSetPropertyStringboolean() + +
+           
+ voidtestSetPropertyStringCalendar() + +
+           
+ voidtestSetPropertyStringdouble() + +
+           
+ voidtestSetPropertyStringIValue() + +
+           
+ voidtestSetPropertyStringlong() + +
+           
+ voidtestSetPropertyStringString() + +
+           
+ voidtestTextFileNode() + +
+           
+ + + + + + + +
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, setName, toString
+ + + + + + + +
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+TestSimpleVersionedNode

+
+public TestSimpleVersionedNode()
+                        throws ItemExistsException,
+                               NoSuchNodeTypeException,
+                               RepositoryCheckedException
+
+
Constructor for TestSimpleVersionedNode. Called for each test, so the stuff + is sets up is static and is only done once. +

+ +

Throws: +
RepositoryCheckedException +
NoSuchNodeTypeException +
ItemExistsException
+ + + + + + + + +
+Method Detail
+ +

+testSetPropertyStringIValue

+
+public void testSetPropertyStringIValue()
+
+
+
+
+
+
+ +

+testSetPropertySpecifiedType

+
+public void testSetPropertySpecifiedType()
+
+
+
+
+
+
+ +

+testSetPropertyStringString

+
+public void testSetPropertyStringString()
+
+
+
+
+
+
+ +

+testSetPropertyStringboolean

+
+public void testSetPropertyStringboolean()
+
+
+
+
+
+
+ +

+testSetPropertyStringdouble

+
+public void testSetPropertyStringdouble()
+
+
+
+
+
+
+ +

+testSetPropertyStringlong

+
+public void testSetPropertyStringlong()
+
+
+
+
+
+
+ +

+testSetPropertyStringCalendar

+
+public void testSetPropertyStringCalendar()
+
+
+
+
+
+
+ +

+testGetProperties

+
+public void testGetProperties()
+
+
+
+
+
+
+ +

+testHasProperty

+
+public void testHasProperty()
+
+
+
+
+
+
+ +

+testHasProperties

+
+public void testHasProperties()
+
+
+
+
+
+
+ +

+testGetNodeType

+
+public void testGetNodeType()
+
+
+
+
+
+
+ +

+testIsNodeType

+
+public void testIsNodeType()
+
+
+
+
+
+
+ +

+testGetVersionHistory

+
+public void testGetVersionHistory()
+
+
+
+
+
+
+ +

+testGetPath

+
+public void testGetPath()
+
+
+
+
+
+
+ +

+testGetVersion

+
+public void testGetVersion()
+
+
+
+
+
+
+ +

+testGetCreatedDateTime

+
+public void testGetCreatedDateTime()
+
+
+
+
+
+
+ +

+testAddNode

+
+public void testAddNode()
+
+
+
+
+
+
+ +

+testTextFileNode

+
+public void testTextFileNode()
+
+
+
+
+
+
+ +

+testBinaryFileNode

+
+public void testBinaryFileNode()
+
+
+
+
+
+
+ +

+testAddNodeBadType

+
+public void testAddNodeBadType()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/ValidationException.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/ValidationException.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/ValidationException.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,307 @@ + + + + + + +ValidationException + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Class ValidationException

+
+java.lang.Object
+  extended byjava.lang.Throwable
+      extended byjava.lang.Exception
+          extended bycom.lamsinternational.lams.contentrepository.RepositoryCheckedException
+              extended bycom.lamsinternational.lams.contentrepository.ValidationException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class ValidationException
extends RepositoryCheckedException
+ +

+The node is invalid for some reason. The reason should be given in + the exception message. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
ValidationException() + +
+          Constructs a new instance of this class.
ValidationException(java.lang.String s) + +
+          Constructs a new instance of this class given a message describing the + failure cause.
ValidationException(java.lang.String s, + java.lang.Throwable cause) + +
+          Constructs a new instance of this class given a message describing the + failure and a root throwable.
ValidationException(java.lang.Throwable cause) + +
+          Constructs a new instance of this class given a root throwable.
+  + + + + + + + + + + +
Methods inherited from class com.lamsinternational.lams.contentrepository.RepositoryCheckedException
getMessage
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+ValidationException

+
+public ValidationException()
+
+
Constructs a new instance of this class. +

+

+
+ +

+ValidationException

+
+public ValidationException(java.lang.String s)
+
+
Constructs a new instance of this class given a message describing the + failure cause. +

+

Parameters:
s - description
+
+ +

+ValidationException

+
+public ValidationException(java.lang.String s,
+                           java.lang.Throwable cause)
+
+
Constructs a new instance of this class given a message describing the + failure and a root throwable. +

+

Parameters:
s - description
cause - root throwable cause
+
+ +

+ValidationException

+
+public ValidationException(java.lang.Throwable cause)
+
+
Constructs a new instance of this class given a root throwable. +

+

Parameters:
cause - root failure cause
+ + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/ValueFormatException.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/ValueFormatException.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/ValueFormatException.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,307 @@ + + + + + + +ValueFormatException + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Class ValueFormatException

+
+java.lang.Object
+  extended byjava.lang.Throwable
+      extended byjava.lang.Exception
+          extended bycom.lamsinternational.lams.contentrepository.RepositoryCheckedException
+              extended bycom.lamsinternational.lams.contentrepository.ValueFormatException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class ValueFormatException
extends RepositoryCheckedException
+ +

+Thrown when value is assigned to a propery of the wrong type, or some + other formatting type problem. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
ValueFormatException() + +
+          Constructs a new instance of this class.
ValueFormatException(java.lang.String s) + +
+          Constructs a new instance of this class given a message describing the + failure cause.
ValueFormatException(java.lang.String s, + java.lang.Throwable cause) + +
+          Constructs a new instance of this class given a message describing the + failure and a root throwable.
ValueFormatException(java.lang.Throwable cause) + +
+          Constructs a new instance of this class given a root throwable.
+  + + + + + + + + + + +
Methods inherited from class com.lamsinternational.lams.contentrepository.RepositoryCheckedException
getMessage
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+ValueFormatException

+
+public ValueFormatException()
+
+
Constructs a new instance of this class. +

+

+
+ +

+ValueFormatException

+
+public ValueFormatException(java.lang.String s)
+
+
Constructs a new instance of this class given a message describing the + failure cause. +

+

Parameters:
s - description
+
+ +

+ValueFormatException

+
+public ValueFormatException(java.lang.String s,
+                            java.lang.Throwable cause)
+
+
Constructs a new instance of this class given a message describing the + failure and a root throwable. +

+

Parameters:
s - description
cause - root throwable cause
+
+ +

+ValueFormatException

+
+public ValueFormatException(java.lang.Throwable cause)
+
+
Constructs a new instance of this class given a root throwable. +

+

Parameters:
cause - root failure cause
+ + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/WorkspaceNotFoundException.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/WorkspaceNotFoundException.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/WorkspaceNotFoundException.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,306 @@ + + + + + + +WorkspaceNotFoundException + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository +
+Class WorkspaceNotFoundException

+
+java.lang.Object
+  extended byjava.lang.Throwable
+      extended byjava.lang.Exception
+          extended bycom.lamsinternational.lams.contentrepository.RepositoryCheckedException
+              extended bycom.lamsinternational.lams.contentrepository.WorkspaceNotFoundException
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class WorkspaceNotFoundException
extends RepositoryCheckedException
+ +

+Requested workspace not found. +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Constructor Summary
WorkspaceNotFoundException() + +
+          Constructs a new instance of this class.
WorkspaceNotFoundException(java.lang.String s) + +
+          Constructs a new instance of this class given a message describing the + failure cause.
WorkspaceNotFoundException(java.lang.String s, + java.lang.Throwable cause) + +
+          Constructs a new instance of this class given a message describing the + failure and a root throwable.
WorkspaceNotFoundException(java.lang.Throwable cause) + +
+          Constructs a new instance of this class given a root throwable.
+  + + + + + + + + + + +
Methods inherited from class com.lamsinternational.lams.contentrepository.RepositoryCheckedException
getMessage
+ + + + + + + +
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+WorkspaceNotFoundException

+
+public WorkspaceNotFoundException()
+
+
Constructs a new instance of this class. +

+

+
+ +

+WorkspaceNotFoundException

+
+public WorkspaceNotFoundException(java.lang.String s)
+
+
Constructs a new instance of this class given a message describing the + failure cause. +

+

Parameters:
s - description
+
+ +

+WorkspaceNotFoundException

+
+public WorkspaceNotFoundException(java.lang.String s,
+                                  java.lang.Throwable cause)
+
+
Constructs a new instance of this class given a message describing the + failure and a root throwable. +

+

Parameters:
s - description
cause - root throwable cause
+
+ +

+WorkspaceNotFoundException

+
+public WorkspaceNotFoundException(java.lang.Throwable cause)
+
+
Constructs a new instance of this class given a root throwable. +

+

Parameters:
cause - root failure cause
+ + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/package-frame.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/package-frame.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/package-frame.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,120 @@ + + + + + + +com.lamsinternational.lams.contentrepository + + + + + + + + + + + +com.lamsinternational.lams.contentrepository + + + + +
+Interfaces  + +
+ICredentials +
+IRepository +
+IRepositoryAdmin +
+ITicket +
+IValue +
+IVersionDetail +
+IVersionedNode +
+IVersionedNodeAdmin +
+IWorkspace
+ + + + + + +
+Classes  + +
+CrCredential +
+CrNode +
+CrNodeVersion +
+CrNodeVersionProperty +
+CrWorkspace +
+CrWorkspaceCredential +
+NodeKey +
+NodeType +
+PropertyName +
+PropertyType +
+SimpleCredentials +
+SimpleRepository +
+SimpleTicket +
+SimpleVersionDetail +
+SimpleVersionedNode
+ + + + + + +
+Exceptions  + +
+AccessDeniedException +
+FileException +
+InvalidParameterException +
+ItemExistsException +
+ItemNotFoundException +
+LoginException +
+NoSuchNodeTypeException +
+RepositoryCheckedException +
+RepositoryRuntimeException +
+ValidationException +
+ValueFormatException +
+WorkspaceNotFoundException
+ + + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/package-summary.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/package-summary.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/package-summary.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,561 @@ + + + + + + +com.lamsinternational.lams.contentrepository + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.lamsinternational.lams.contentrepository +

+ +This content repository is designed to store single files and +packages of files on disk in a relatively. +

+See: +
+          Description +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Interface Summary
ICredentialsBase interface for all credentials that may be passed to the + Repository.login() method.
IRepositoryTool access to the repository
IRepositoryAdminAdministrative interface to the Repository.
ITicketTicket represents the "authorisation" key to the repository.
IValueA value is an object which is explicitly marked with a type.
IVersionDetailDescribes the version of a node.
IVersionedNodeThe IVersionedNode interface represents a particular version of a node + in the hierarchy that makes up the repository.
IVersionedNodeAdminIVersionedNodeAdmin represents the full functionality for a versioned node.
IWorkspaceA workspace is a grouping of content, which is accessed by a ticket.
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Class Summary
CrCredential 
CrNode 
CrNodeVersion 
CrNodeVersionProperty 
CrWorkspace 
CrWorkspaceCredential 
NodeKeyRepresents the two part key - UUID and version.
NodeTypeDefines the types of nodes.
PropertyName 
PropertyTypeLAMS property types.
SimpleCredentialsBasic implementation of credentials.
SimpleRepositoryMany methods in this class will throw a RepositoryRuntimeException + if the internal data is missing.
SimpleTicketSimpleTicket is a basic implementation of Ticket.
SimpleVersionDetailDescribes the version details - for displaying a version + history.
SimpleVersionedNodeThis is the default implementation for IVersionedNode.
+  + +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Exception Summary
AccessDeniedExceptionThe current ticket doesn't have sufficient rights for the requested action.
FileExceptionSome error was generated reading or writing the files + to disk.
InvalidParameterExceptionGeneric exception thrown whenever a parameter is missing.
ItemExistsExceptionAn item already exists with the given id or path.
ItemNotFoundExceptionItem requested does not exist.
LoginExceptionLogin failed.
NoSuchNodeTypeExceptionTried to create a node with an unknown type.
RepositoryCheckedExceptionMain exception thrown by content repository classes.
RepositoryRuntimeExceptionMain runtime exception thrown by content repository classes.
ValidationExceptionThe node is invalid for some reason.
ValueFormatExceptionThrown when value is assigned to a propery of the wrong type, or some + other formatting type problem.
WorkspaceNotFoundExceptionRequested workspace not found.
+  + +

+

+Package com.lamsinternational.lams.contentrepository Description +

+ +

+

+This content repository is designed to store single files and +packages of files on disk in a relatively. It is not a full +blown repository as you would find behind a web development +package. +

+

+Each entry in the repository is represented as a "node", which +has a unique id or uuid. Each node belongs to a workspace, and +there may be many versions to the node. The files are stored on disk +and the information about the files is stored in the lams_cr_* tables +in the database. +

+

+A node may represent a single file (a FILENODE) or be a package node. A +package node has a set of child nodes which are file nodes. +

+ + +

The repository keeps a set of properties for each node. At the moment, +these are read only to tools. An additional parameter +containing arbitrary nodes could easily be added to the repository +calls and this would allow the repository to store arbitrary properties +on behalf of tools. +

+ +

Classes

+

The classes of interest to tools are as follows. Apart from SimpleCredentials, tools should use the interfaces +and not the implemented classes to allow the implementation to be changed in the future. + + + + + + + + + + + + +
ICredentials, SimpleCredentialsSimpleCredentials is an implementation of ICredentials. To log in, the +tool will create a SimpleCredentials object.
IRepositoryThe interface used for access to the repository. This is the equivalent of a SLSB interface +to the repository. It is implemented by singleton SimpleRepository and accessed via the Spring context.
ITicketThe Ticket represents the "authorisation" key to the repository. When the tool logs in, it +will be passed a SimpleTicket object, which implements the ITicket interface. This ticket must be supplied +back to the repository to access the tool's nodes.
IValueAn object that allows the value of a property to be used as a String, Long, Double, Boolean +or Calendar. At present, only Strings have been used so other types (particularly Calendar) may not +function correctly. Implemented by CrNodeVersionProperty (a Hibernate based data object).
IVersionDetailDescribes the versions of a node. Useful for displaying a version history if the +user needs to select a particular version. Implemented by SimpleVersionDetail.
IVersionedNodeThe IVersionedNode interface represents a particular version of a node. When +the tool asks for a file or package, it will be returned the node representing the files. This node +will allow the package to get not only the filestream but the original file name and mime type.
NodeKeyThe key to a node is made up of the UUID (Long) and a version (Long). This class +encapsulates both keys, and is used to return the keys when a node is created/updated.
NodeTypeDefines all the valid node types. Used for testing +whether something is a file node or a package node: e.g. isNodeType(NodeType.FILENODE).
PropertyNameDefines all the current property names - such as MIMETYPE, FILENAME. +Used to get the appropriate property from a node. e.g. IValue value = node.getProperty(PropertyName.MIMETYPE).
PropertyTypeDefines what type a property really is - String, Long, Double, etc.
+ +

Note: All interfaces with Admin in their name are only to be used within the repository and must not be used by tools. +It is intended to make these protected interfaces if possible - they are used by Spring so this may be difficult.

+ +

Typical Usage

+ +

+Sample usage of the repository can be seen in example webapp, built as lamscr.war. The struts classes +are in com.lamsinternational.lams.contentrepository.struts (in the src hierarchy) +and the jsps are in the web hierarchy. +

+ +

When a tool is installed, it should identify itself to the repository and create a new workspace

+
+	ApplicationContext context = new ClassPathXmlApplicationContext(IRepository.REPOSITORY_CONTEXT_PATH);
+	IRepository	repository = (IRepository)context.getBean(IRepository.REPOSITORY_SERVICE_ID);
+	ICredentials cred =  new SimpleCredentials(toolName, toolId); 
+	repository.createCredential(cred);
+	repository.addWorkspace(cred, workspaceName);
+
+ +

Before accessing the repository, the tool will need to log in. +Once the tool has been given a ticket, it must use the same repository +object (ie a repository returned by the same context). If it gets a repository +from a different context, the ticket will not be recognised and access denied. +This is a shortcoming in the repository and needs to be fixed. +

+

There is currently no timeout on a ticket (despite what the exception +says) so the tool may keep it for months if it wants. But if the tool +receives an access denied exception, then something has gone wrong and the +ticket is no longer valid so the tool should log in again and get a new +ticket.

+
+	ITicket ticket = repository.login(cred, workspaceName);
+
+ +

Using the ticket, the tool can now add, retrieve and delete nodes. Deleting a package +node deletes all the files in the package. Warning: deleting +removes the node completely - from both the database and the file system.

+
+	NodeKey fileNodeKeyV1 = repository.login.addFileItem(ticket, inputstream, filename, 
+						mimeType, versionDescription);
+	IVersionedNode version1Node = repository.getFileItem(ticket,fileNodeKeyV1.getUuid(), fileNodeKeyV1.getVersion());
+
+	NodeKey fileNodeKeyV2 = getRepository().updateFileItem(ticket, fileNodeKeyV1.getUuid(), filename,
+	IVersionedNode version2Node = repository.getFileItem(ticket,fileNodeKeyV2.getUuid(), fileNodeKeyV2.getVersion());
+	IVersionedNode latestFileVersionNode = repository.getFileItem(ticket,fileNodeKeyV2.getUuid(), null);
+	InputStream isForOutputToScreen1 = latestFileVersionNode.getFile();
+
+	String[] problemFiles = repository.deleteVersion(ticket,fileNodeKeyV1.getUuid(), fileNodeKeyV1.getVersion());
+
+	NodeKey packageNodeKeyV1 = repository.addPackageItem(ticket,directoryName, initialFile, versionDescription);
+	IVersionedNode package1Node = repository.getFileItem(packageNodeKeyV1.getUuid(), packageNodeKeyV1.getVersion());
+
+	NodeKey packageNodeKeyV2 = repository.updatePackageItem(ticket, packageNodeKeyV1.getUuid(), directoryName, initialFile, versionDescription);
+	IVersionedNode package2Node = repository.getFileItem(packageNodeKeyV2.getUuid(), packageNodeKeyV2.getVersion());
+	IVersionedNode latestPackageVersionNode = repository.getFileItem(ticket,fileNodeKeyV2.getUuid(), null);
+	InputStream isForOutputToScreen2 = latestPackageVersionNode();
+
+	String[] problemFiles2 = getRepository().deleteNode(ticket,packageNodeKeyV1.getUuid());
+
+ +

When the tool is complete, it should logout from the repository. This +invalidates the ticket.

+
+	repository.logout(ticket);
+
+

Exceptions and Transactions

+ +

There are two sorts of exceptions - RepositoryCheckedException and +RepositoryRuntimeException.

+ +

RepositoryRuntimeException may be thrown +by any call to the repository irrespective of whether it is defined +in the signature. It is used for internal errors, not errors caused +by bad input from a tool. The repository may also thrown other runtime +errors, such as the Spring runtime errors which wrap Hibernate errors. +

+ +

RepositoryCheckedException is the superclass to 10 detailed +checked exceptions. Most calls throw more than one detailed exception. +Calling code can catch either the detailed exceptions or just +RepositoryCheckedException.

+ +

All the calls on IRepository should be transactional, defined +in the Spring context file. If any are not defined in the context file, then +this is a bug and should be corrected!!!!!!!!!. All +of the transactions should roll back on both the RepositoryCheckedException +(as it is defined in the context file) and RepositoryRuntimeException +as the Spring trasactions will roll back on any RuntimeException. +However, all we can roll back are database changes. We cannot roll back +file system changes. For this reason, we try to do the database changes +first. But it isn't perfect.

+ +

Configuration

+ + + +

Building the Repository

+

After configuring (see previous section) use the ANT Build script to build and deploy +the content repository code. +

+

+ +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/package-tree.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/package-tree.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/package-tree.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,178 @@ + + + + + + +com.lamsinternational.lams.contentrepository Class Hierarchy + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.lamsinternational.lams.contentrepository +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/package-use.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/Attic/package-use.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/package-use.html 21 Jan 2005 00:38:10 -0000 1.1 @@ -0,0 +1,477 @@ + + + + + + +Uses of Package com.lamsinternational.lams.contentrepository + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.lamsinternational.lams.contentrepository

+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+Packages that use com.lamsinternational.lams.contentrepository
com.lamsinternational.lams.contentrepository +This content repository is designed to store single files and +packages of files on disk in a relatively. 
com.lamsinternational.lams.contentrepository.dao  
com.lamsinternational.lams.contentrepository.dao.file  
com.lamsinternational.lams.contentrepository.dao.hibernate  
com.lamsinternational.lams.contentrepository.struts.action  
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Classes in com.lamsinternational.lams.contentrepository used by com.lamsinternational.lams.contentrepository
AccessDeniedException + +
+          The current ticket doesn't have sufficient rights for the requested action.
CrCredential + +
+           
CrNode + +
+           
CrNodeVersion + +
+           
CrNodeVersionProperty + +
+           
CrWorkspace + +
+           
FileException + +
+          Some error was generated reading or writing the files + to disk.
ICredentials + +
+          Base interface for all credentials that may be passed to the + Repository.login() method.
InvalidParameterException + +
+          Generic exception thrown whenever a parameter is missing.
IRepository + +
+          Tool access to the repository
IRepositoryAdmin + +
+          Administrative interface to the Repository.
ItemExistsException + +
+          An item already exists with the given id or path.
ItemNotFoundException + +
+          Item requested does not exist.
ITicket + +
+          Ticket represents the "authorisation" key to the repository.
IValue + +
+          A value is an object which is explicitly marked with a type.
IVersionDetail + +
+          Describes the version of a node.
IVersionedNode + +
+          The IVersionedNode interface represents a particular version of a node + in the hierarchy that makes up the repository.
IVersionedNodeAdmin + +
+          IVersionedNodeAdmin represents the full functionality for a versioned node.
IWorkspace + +
+          A workspace is a grouping of content, which is accessed by a ticket.
LoginException + +
+          Login failed.
NodeKey + +
+          Represents the two part key - UUID and version.
RepositoryCheckedException + +
+          Main exception thrown by content repository classes.
RepositoryRuntimeException + +
+          Main runtime exception thrown by content repository classes.
ValueFormatException + +
+          Thrown when value is assigned to a propery of the wrong type, or some + other formatting type problem.
WorkspaceNotFoundException + +
+          Requested workspace not found.
+  +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Classes in com.lamsinternational.lams.contentrepository used by com.lamsinternational.lams.contentrepository.dao
CrCredential + +
+           
CrWorkspace + +
+           
FileException + +
+          Some error was generated reading or writing the files + to disk.
ICredentials + +
+          Base interface for all credentials that may be passed to the + Repository.login() method.
IWorkspace + +
+          A workspace is a grouping of content, which is accessed by a ticket.
RepositoryRuntimeException + +
+          Main runtime exception thrown by content repository classes.
+  +

+ + + + + + + + +
+Classes in com.lamsinternational.lams.contentrepository used by com.lamsinternational.lams.contentrepository.dao.file
FileException + +
+          Some error was generated reading or writing the files + to disk.
+  +

+ + + + + + + + + + + + + + + + + + + + + + + +
+Classes in com.lamsinternational.lams.contentrepository used by com.lamsinternational.lams.contentrepository.dao.hibernate
CrCredential + +
+           
CrWorkspace + +
+           
ICredentials + +
+          Base interface for all credentials that may be passed to the + Repository.login() method.
IWorkspace + +
+          A workspace is a grouping of content, which is accessed by a ticket.
RepositoryCheckedException + +
+          Main exception thrown by content repository classes.
RepositoryRuntimeException + +
+          Main runtime exception thrown by content repository classes.
+  +

+ + + + + + + + + + + + + + + + + + + + +
+Classes in com.lamsinternational.lams.contentrepository used by com.lamsinternational.lams.contentrepository.struts.action
AccessDeniedException + +
+          The current ticket doesn't have sufficient rights for the requested action.
FileException + +
+          Some error was generated reading or writing the files + to disk.
InvalidParameterException + +
+          Generic exception thrown whenever a parameter is missing.
ItemNotFoundException + +
+          Item requested does not exist.
RepositoryCheckedException + +
+          Main exception thrown by content repository classes.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/AccessDeniedException.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/AccessDeniedException.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/AccessDeniedException.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,455 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.AccessDeniedException + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.AccessDeniedException

+
+ + + + + + + + + + + + + +
+Packages that use AccessDeniedException
com.lamsinternational.lams.contentrepository +This content repository is designed to store single files and +packages of files on disk in a relatively. 
com.lamsinternational.lams.contentrepository.struts.action  
+  +

+ + + + + +
+Uses of AccessDeniedException in com.lamsinternational.lams.contentrepository
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository that throw AccessDeniedException
+ NodeKeySimpleRepository.addFileItem(ITicket ticket, + java.io.InputStream istream, + java.lang.String filename, + java.lang.String mimeType, + java.lang.String versionDescription) + +
+           
+ NodeKeySimpleRepository.addPackageItem(ITicket ticket, + java.lang.String dirPath, + java.lang.String startFile, + java.lang.String versionDescription) + +
+           
+ IVersionedNodeSimpleRepository.getFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.Long version) + +
+           
+ IVersionedNodeSimpleRepository.getFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String relPath, + java.lang.Long version) + +
+           
+ java.util.SortedMapSimpleRepository.getNodeList(ITicket ticket) + +
+           
+ java.util.SortedSetSimpleRepository.getVersionHistory(ITicket ticket, + java.lang.Long uuid) + +
+           
+ NodeKeySimpleRepository.updateFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String filename, + java.io.InputStream istream, + java.lang.String mimeType, + java.lang.String versionDescription) + +
+           
+ NodeKeySimpleRepository.updatePackageItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String dirPath, + java.lang.String startFile, + java.lang.String versionDescription) + +
+           
+ java.lang.String[]SimpleRepository.deleteNode(ITicket ticket, + java.lang.Long uuid) + +
+           
+ java.lang.String[]SimpleRepository.deleteVersion(ITicket ticket, + java.lang.Long uuid, + java.lang.Long version) + +
+           
+ ITicketIRepository.login(ICredentials credentials, + java.lang.String workspaceName) + +
+          Login, creating a new ticket for the given credentials and specified + workspace.
+ NodeKeyIRepository.addFileItem(ITicket ticket, + java.io.InputStream istream, + java.lang.String filename, + java.lang.String mimeType, + java.lang.String versionDescription) + +
+          Add a new file to the repository.
+ NodeKeyIRepository.addPackageItem(ITicket ticket, + java.lang.String dirPath, + java.lang.String startFile, + java.lang.String versionDescription) + +
+          Add a new package of files to the repository.
+ NodeKeyIRepository.updateFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String filename, + java.io.InputStream istream, + java.lang.String mimeType, + java.lang.String versionDescription) + +
+          Update an existing file in the repository.
+ NodeKeyIRepository.updatePackageItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String dirPath, + java.lang.String startFile, + java.lang.String versionDescription) + +
+          Add a new package of files to the repository.
+ IVersionedNodeIRepository.getFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.Long version) + +
+          Get an item from the repository based on the UUID.
+ IVersionedNodeIRepository.getFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String relPath, + java.lang.Long versionId) + +
+          Get an item from the repository based on the UUID and relative + path.
+ java.util.SortedSetIRepository.getVersionHistory(ITicket ticket, + java.lang.Long uuid) + +
+          Get the history for a node.
+ java.lang.String[]IRepository.deleteVersion(ITicket ticket, + java.lang.Long uuid, + java.lang.Long version) + +
+          Delete the current version of a node, returning a list of the files + that could not be deleted properly.
+ java.lang.String[]IRepository.deleteNode(ITicket ticket, + java.lang.Long uuid) + +
+          Delete a node and all its versions, returning a list of the files + that could not be deleted properly.
+ java.util.SortedMapIRepository.getNodeList(ITicket ticket) + +
+          Get a complete list of all nodes in the workspace and their + version histories.
+  +

+ + + + + +
+Uses of AccessDeniedException in com.lamsinternational.lams.contentrepository.struts.action
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository.struts.action that throw AccessDeniedException
+ org.apache.struts.action.ActionForwardNodeSelectionAction.getList(org.apache.struts.action.ActionMapping mapping, + org.apache.struts.action.ActionForm form, + javax.servlet.http.HttpServletRequest request, + javax.servlet.http.HttpServletResponse response) + +
+          Get the list of nodes in the workspace.
+ org.apache.struts.action.ActionForwardNodeSelectionAction.deleteNode(org.apache.struts.action.ActionMapping mapping, + org.apache.struts.action.ActionForm form, + javax.servlet.http.HttpServletRequest request, + javax.servlet.http.HttpServletResponse response) + +
+          Delete a version of a node, or the whole node.
+ org.apache.struts.action.ActionForwardAddFileContentAction.uploadFile(org.apache.struts.action.ActionMapping mapping, + org.apache.struts.action.ActionForm form, + javax.servlet.http.HttpServletRequest request, + javax.servlet.http.HttpServletResponse response) + +
+          Uploads a single file.
+ org.apache.struts.action.ActionForwardAddFileContentAction.uploadPackage(org.apache.struts.action.ActionMapping mapping, + org.apache.struts.action.ActionForm form, + javax.servlet.http.HttpServletRequest request, + javax.servlet.http.HttpServletResponse response) + +
+          Uploads a package
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/AllTests.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/AllTests.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/AllTests.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,136 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.AllTests + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.AllTests

+
+No usage of com.lamsinternational.lams.contentrepository.AllTests +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/BaseTestCase.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/BaseTestCase.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/BaseTestCase.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,219 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.BaseTestCase + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.BaseTestCase

+
+ + + + + + + + + + + + + +
+Packages that use BaseTestCase
com.lamsinternational.lams.contentrepository +This content repository is designed to store single files and +packages of files on disk in a relatively. 
com.lamsinternational.lams.contentrepository.dao.file  
+  +

+ + + + + +
+Uses of BaseTestCase in com.lamsinternational.lams.contentrepository
+  +

+ + + + + + + + + + + + + + + + + +
Subclasses of BaseTestCase in com.lamsinternational.lams.contentrepository
+ classTestSimpleRepository + +
+          Test SimpleRepository and the Credentials code.
+ classTestSimpleTicket + +
+          Test the SimpleTicket class.
+ classTestSimpleVersionedNode + +
+           
+  +

+ + + + + +
+Uses of BaseTestCase in com.lamsinternational.lams.contentrepository.dao.file
+  +

+ + + + + + + + + +
Subclasses of BaseTestCase in com.lamsinternational.lams.contentrepository.dao.file
+ classTestFileDAO + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/CrCredential.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/CrCredential.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/CrCredential.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,263 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.CrCredential + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.CrCredential

+
+ + + + + + + + + + + + + + + + + +
+Packages that use CrCredential
com.lamsinternational.lams.contentrepository +This content repository is designed to store single files and +packages of files on disk in a relatively. 
com.lamsinternational.lams.contentrepository.dao  
com.lamsinternational.lams.contentrepository.dao.hibernate  
+  +

+ + + + + +
+Uses of CrCredential in com.lamsinternational.lams.contentrepository
+  +

+ + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository that return CrCredential
+ CrCredentialCrWorkspaceCredential.getCrCredential() + +
+           
+  +

+ + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository with parameters of type CrCredential
+ voidCrWorkspaceCredential.setCrCredential(CrCredential crCredential) + +
+           
+  +

+ + + + + + + + +
Constructors in com.lamsinternational.lams.contentrepository with parameters of type CrCredential
CrWorkspaceCredential(CrWorkspace crWorkspace, + CrCredential crCredential) + +
+          full constructor
+  +

+ + + + + +
+Uses of CrCredential in com.lamsinternational.lams.contentrepository.dao
+  +

+ + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository.dao that return CrCredential
+ CrCredentialICredentialDAO.findByName(java.lang.String name) + +
+           
+  +

+ + + + + +
+Uses of CrCredential in com.lamsinternational.lams.contentrepository.dao.hibernate
+  +

+ + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository.dao.hibernate that return CrCredential
+ CrCredentialCredentialDAO.findByName(java.lang.String name) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/CrNode.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/CrNode.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/CrNode.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,219 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.CrNode + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.CrNode

+
+ + + + + + + + + +
+Packages that use CrNode
com.lamsinternational.lams.contentrepository +This content repository is designed to store single files and +packages of files on disk in a relatively. 
+  +

+ + + + + +
+Uses of CrNode in com.lamsinternational.lams.contentrepository
+  +

+ + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository that return CrNode
+ CrNodeCrNodeVersion.getNode() + +
+           
+  +

+ + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository with parameters of type CrNode
+ voidCrNodeVersion.setNode(CrNode node) + +
+           
+  +

+ + + + + + + + + + + +
Constructors in com.lamsinternational.lams.contentrepository with parameters of type CrNode
CrNodeVersion(java.lang.Long versionId, + java.util.Date createdDateTime, + CrNode node, + CrNodeVersion parentNodeVersion, + java.util.Set crNodeVersionProperties, + java.util.Set childNodeVersions) + +
+          full constructor
CrNodeVersion(java.lang.Long versionId, + CrNode node, + CrNodeVersion parentNodeVersion, + java.util.Set crNodeVersionProperties, + java.util.Set childNodeVersions) + +
+          minimal constructor
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/CrNodeVersion.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/CrNodeVersion.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/CrNodeVersion.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,276 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.CrNodeVersion + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.CrNodeVersion

+
+ + + + + + + + + +
+Packages that use CrNodeVersion
com.lamsinternational.lams.contentrepository +This content repository is designed to store single files and +packages of files on disk in a relatively. 
+  +

+ + + + + +
+Uses of CrNodeVersion in com.lamsinternational.lams.contentrepository
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository that return CrNodeVersion
+ CrNodeVersionCrNode.getNodeVersion(java.lang.Long versionId) + +
+          Get a particular version of this node
+ CrNodeVersionCrNodeVersion.getParentNodeVersion() + +
+           
+ CrNodeVersionCrNodeVersion.getChildNodeVersion(java.lang.String relPath) + +
+          Remove a child node to the childNodeVersions collection.
+ CrNodeVersionCrNodeVersionProperty.getCrNodeVersion() + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository with parameters of type CrNodeVersion
+ voidCrNodeVersion.setParentNodeVersion(CrNodeVersion parentNodeVersion) + +
+           
+ voidCrNodeVersion.addChildNodeVersion(CrNodeVersion childNode) + +
+          Add a child node to the childNodeVersions collection.
+ voidCrNodeVersion.removeChildNodeVersion(CrNodeVersion childNode) + +
+          Remove a child node to the childNodeVersions collection.
+ voidCrNodeVersionProperty.setCrNodeVersion(CrNodeVersion crNodeVersion) + +
+           
+  +

+ + + + + + + + + + + + + + +
Constructors in com.lamsinternational.lams.contentrepository with parameters of type CrNodeVersion
CrNodeVersion(java.lang.Long versionId, + java.util.Date createdDateTime, + CrNode node, + CrNodeVersion parentNodeVersion, + java.util.Set crNodeVersionProperties, + java.util.Set childNodeVersions) + +
+          full constructor
CrNodeVersion(java.lang.Long versionId, + CrNode node, + CrNodeVersion parentNodeVersion, + java.util.Set crNodeVersionProperties, + java.util.Set childNodeVersions) + +
+          minimal constructor
CrNodeVersionProperty(java.lang.String name, + java.lang.String value, + int type, + CrNodeVersion crNodeVersion) + +
+          full constructor
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/CrNodeVersionProperty.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/CrNodeVersionProperty.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/CrNodeVersionProperty.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,184 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.CrNodeVersionProperty + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.CrNodeVersionProperty

+
+ + + + + + + + + +
+Packages that use CrNodeVersionProperty
com.lamsinternational.lams.contentrepository +This content repository is designed to store single files and +packages of files on disk in a relatively. 
+  +

+ + + + + +
+Uses of CrNodeVersionProperty in com.lamsinternational.lams.contentrepository
+  +

+ + + + + + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository that return CrNodeVersionProperty
+ CrNodeVersionPropertyCrNodeVersion.getProperty(java.lang.String name) + +
+          Get a property value
+ CrNodeVersionPropertyCrNodeVersion.setProperty(java.lang.String name, + java.lang.Object value, + int valueType) + +
+          Set a property value.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/CrWorkspace.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/CrWorkspace.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/CrWorkspace.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,299 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.CrWorkspace + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.CrWorkspace

+
+ + + + + + + + + + + + + + + + + +
+Packages that use CrWorkspace
com.lamsinternational.lams.contentrepository +This content repository is designed to store single files and +packages of files on disk in a relatively. 
com.lamsinternational.lams.contentrepository.dao  
com.lamsinternational.lams.contentrepository.dao.hibernate  
+  +

+ + + + + +
+Uses of CrWorkspace in com.lamsinternational.lams.contentrepository
+  +

+ + + + + + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository that return CrWorkspace
+ CrWorkspaceCrNode.getCrWorkspace() + +
+           
+ CrWorkspaceCrWorkspaceCredential.getCrWorkspace() + +
+           
+  +

+ + + + + + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository with parameters of type CrWorkspace
+ voidCrNode.setCrWorkspace(CrWorkspace crWorkspace) + +
+           
+ voidCrWorkspaceCredential.setCrWorkspace(CrWorkspace crWorkspace) + +
+           
+  +

+ + + + + + + + + + + + + + +
Constructors in com.lamsinternational.lams.contentrepository with parameters of type CrWorkspace
CrNode(java.lang.String path, + java.lang.String type, + java.util.Date createdDateTime, + java.lang.Long nextVersionId, + CrWorkspace crWorkspace, + java.util.Set crNodeVersions) + +
+          full constructor
CrNode(java.lang.String type, + java.lang.Long nextVersionId, + CrWorkspace crWorkspace, + java.util.Set crNodeVersions) + +
+          minimal constructor
CrWorkspaceCredential(CrWorkspace crWorkspace, + CrCredential crCredential) + +
+          full constructor
+  +

+ + + + + +
+Uses of CrWorkspace in com.lamsinternational.lams.contentrepository.dao
+  +

+ + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository.dao that return CrWorkspace
+ CrWorkspaceIWorkspaceDAO.findByName(java.lang.String workspaceName) + +
+          Get a workspace.
+  +

+ + + + + +
+Uses of CrWorkspace in com.lamsinternational.lams.contentrepository.dao.hibernate
+  +

+ + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository.dao.hibernate that return CrWorkspace
+ CrWorkspaceWorkspaceDAO.findByName(java.lang.String workspaceName) + +
+          Get a workspace.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/CrWorkspaceCredential.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/CrWorkspaceCredential.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/CrWorkspaceCredential.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,136 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.CrWorkspaceCredential + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.CrWorkspaceCredential

+
+No usage of com.lamsinternational.lams.contentrepository.CrWorkspaceCredential +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/FileException.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/FileException.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/FileException.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,480 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.FileException + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.FileException

+
+ + + + + + + + + + + + + + + + + + + + + +
+Packages that use FileException
com.lamsinternational.lams.contentrepository +This content repository is designed to store single files and +packages of files on disk in a relatively. 
com.lamsinternational.lams.contentrepository.dao  
com.lamsinternational.lams.contentrepository.dao.file  
com.lamsinternational.lams.contentrepository.struts.action  
+  +

+ + + + + +
+Uses of FileException in com.lamsinternational.lams.contentrepository
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository that throw FileException
+ NodeKeySimpleRepository.addFileItem(ITicket ticket, + java.io.InputStream istream, + java.lang.String filename, + java.lang.String mimeType, + java.lang.String versionDescription) + +
+           
+ NodeKeySimpleRepository.addPackageItem(ITicket ticket, + java.lang.String dirPath, + java.lang.String startFile, + java.lang.String versionDescription) + +
+           
+ IVersionedNodeSimpleRepository.getFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.Long version) + +
+           
+ IVersionedNodeSimpleRepository.getFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String relPath, + java.lang.Long version) + +
+           
+ NodeKeySimpleRepository.updateFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String filename, + java.io.InputStream istream, + java.lang.String mimeType, + java.lang.String versionDescription) + +
+           
+ NodeKeySimpleRepository.updatePackageItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String dirPath, + java.lang.String startFile, + java.lang.String versionDescription) + +
+           
+ java.io.InputStreamIVersionedNode.getFile() + +
+          Get the file, as an inputstream.
+ NodeKeyIRepository.addFileItem(ITicket ticket, + java.io.InputStream istream, + java.lang.String filename, + java.lang.String mimeType, + java.lang.String versionDescription) + +
+          Add a new file to the repository.
+ NodeKeyIRepository.addPackageItem(ITicket ticket, + java.lang.String dirPath, + java.lang.String startFile, + java.lang.String versionDescription) + +
+          Add a new package of files to the repository.
+ NodeKeyIRepository.updateFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String filename, + java.io.InputStream istream, + java.lang.String mimeType, + java.lang.String versionDescription) + +
+          Update an existing file in the repository.
+ NodeKeyIRepository.updatePackageItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String dirPath, + java.lang.String startFile, + java.lang.String versionDescription) + +
+          Add a new package of files to the repository.
+ IVersionedNodeIRepository.getFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.Long version) + +
+          Get an item from the repository based on the UUID.
+ IVersionedNodeIRepository.getFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String relPath, + java.lang.Long versionId) + +
+          Get an item from the repository based on the UUID and relative + path.
+ java.io.InputStreamSimpleVersionedNode.getFile() + +
+          Get the file, as an inputstream.
+  +

+ + + + + +
+Uses of FileException in com.lamsinternational.lams.contentrepository.dao
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository.dao that throw FileException
+ voidIFileDAO.writeFile(java.lang.Long uuid, + java.lang.Long versionId, + java.io.InputStream is) + +
+          Write out a file to the repository.
+ java.io.InputStreamIFileDAO.getFile(java.lang.Long uuid, + java.lang.Long versionId) + +
+          Gets a file from the repository.
+ booleanIFileDAO.delete(java.lang.Long uuid, + java.lang.Long versionId) + +
+          Delete a file from the repository.
+ java.lang.StringIFileDAO.getFilePath(java.lang.Long uuid, + java.lang.Long versionId) + +
+          Get the actual path of the file ie the path on disk
+  +

+ + + + + +
+Uses of FileException in com.lamsinternational.lams.contentrepository.dao.file
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository.dao.file that throw FileException
+ voidFileDAO.writeFile(java.lang.Long uuid, + java.lang.Long versionId, + java.io.InputStream is) + +
+          Write out a file to the repository.
+ java.io.InputStreamFileDAO.getFile(java.lang.Long uuid, + java.lang.Long versionId) + +
+          Gets a file from the repository.
+ booleanFileDAO.delete(java.lang.Long uuid, + java.lang.Long versionId) + +
+          Delete a file from the repository.
+ java.lang.StringFileDAO.getFilePath(java.lang.Long uuid, + java.lang.Long versionId) + +
+          Get the actual path of the file ie the path on disk
+  +

+ + + + + +
+Uses of FileException in com.lamsinternational.lams.contentrepository.struts.action
+  +

+ + + + + + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository.struts.action that throw FileException
+ org.apache.struts.action.ActionForwardAddFileContentAction.uploadFile(org.apache.struts.action.ActionMapping mapping, + org.apache.struts.action.ActionForm form, + javax.servlet.http.HttpServletRequest request, + javax.servlet.http.HttpServletResponse response) + +
+          Uploads a single file.
+ org.apache.struts.action.ActionForwardAddFileContentAction.uploadPackage(org.apache.struts.action.ActionMapping mapping, + org.apache.struts.action.ActionForm form, + javax.servlet.http.HttpServletRequest request, + javax.servlet.http.HttpServletResponse response) + +
+          Uploads a package
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/ICredentials.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/ICredentials.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/ICredentials.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,359 @@ + + + + + + +Uses of Interface com.lamsinternational.lams.contentrepository.ICredentials + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.lamsinternational.lams.contentrepository.ICredentials

+
+ + + + + + + + + + + + + + + + + +
+Packages that use ICredentials
com.lamsinternational.lams.contentrepository +This content repository is designed to store single files and +packages of files on disk in a relatively. 
com.lamsinternational.lams.contentrepository.dao  
com.lamsinternational.lams.contentrepository.dao.hibernate  
+  +

+ + + + + +
+Uses of ICredentials in com.lamsinternational.lams.contentrepository
+  +

+ + + + + + + + + +
Classes in com.lamsinternational.lams.contentrepository that implement ICredentials
+ classSimpleCredentials + +
+          Basic implementation of credentials.
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository with parameters of type ICredentials
+ ITicketSimpleRepository.login(ICredentials credentials, + java.lang.String workspaceName) + +
+           
+ voidSimpleRepository.addWorkspace(ICredentials credentials, + java.lang.String workspaceName) + +
+          Add a workspace, giving the credentials as the user of this workspace.
+ voidSimpleRepository.createCredential(ICredentials newCredential) + +
+          Create a new repository "user" - usually a tool.
+ voidSimpleRepository.updateCredentials(ICredentials oldCredential, + ICredentials newCredential) + +
+          Update a credential.
+ voidSimpleRepository.assignCredentials(ICredentials credentials, + java.lang.String workspaceName) + +
+          Assign credentials to a workspace.
+ voidIRepositoryAdmin.assignCredentials(ICredentials credentials, + java.lang.String workspaceName) + +
+           
+ ITicketIRepository.login(ICredentials credentials, + java.lang.String workspaceName) + +
+          Login, creating a new ticket for the given credentials and specified + workspace.
+ voidIRepository.addWorkspace(ICredentials credentials, + java.lang.String workspaceName) + +
+          Create a new workspace, with the tool identified in the creditials + as the owner.
+ voidIRepository.createCredential(ICredentials newCredential) + +
+          Create a new repository "user" - usually a tool.
+ voidIRepository.updateCredentials(ICredentials oldCredential, + ICredentials newCredential) + +
+          Update a credential.
+  +

+ + + + + +
+Uses of ICredentials in com.lamsinternational.lams.contentrepository.dao
+  +

+ + + + + + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository.dao with parameters of type ICredentials
+ booleanICredentialDAO.checkCredential(ICredentials credential, + IWorkspace workspace) + +
+          Check the supplied credential to the workspace.
+ booleanICredentialDAO.checkCredential(ICredentials credential) + +
+          Check the supplied credential to the repository + By doing the check at this level, the password does + not need to be read from the database.
+  +

+ + + + + +
+Uses of ICredentials in com.lamsinternational.lams.contentrepository.dao.hibernate
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository.dao.hibernate with parameters of type ICredentials
+ booleanCredentialDAO.checkCredential(ICredentials credential, + IWorkspace workspace) + +
+          Checks whether a user can login to this workspace.
+ booleanCredentialDAO.checkCredential(ICredentials credential) + +
+          Checks whether a user can login to the repository.
+ booleanCredentialDAO.checkCredentialInternal(ICredentials credential, + IWorkspace workspace) + +
+          Checks whether a user can login to the repository.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/IRepository.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/IRepository.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/IRepository.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,191 @@ + + + + + + +Uses of Interface com.lamsinternational.lams.contentrepository.IRepository + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.lamsinternational.lams.contentrepository.IRepository

+
+ + + + + + + + + +
+Packages that use IRepository
com.lamsinternational.lams.contentrepository +This content repository is designed to store single files and +packages of files on disk in a relatively. 
+  +

+ + + + + +
+Uses of IRepository in com.lamsinternational.lams.contentrepository
+  +

+ + + + + + + + + +
Subinterfaces of IRepository in com.lamsinternational.lams.contentrepository
+ interfaceIRepositoryAdmin + +
+          Administrative interface to the Repository.
+  +

+ + + + + + + + + +
Classes in com.lamsinternational.lams.contentrepository that implement IRepository
+ classSimpleRepository + +
+          Many methods in this class will throw a RepositoryRuntimeException + if the internal data is missing.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/IRepositoryAdmin.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/IRepositoryAdmin.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/IRepositoryAdmin.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,175 @@ + + + + + + +Uses of Interface com.lamsinternational.lams.contentrepository.IRepositoryAdmin + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.lamsinternational.lams.contentrepository.IRepositoryAdmin

+
+ + + + + + + + + +
+Packages that use IRepositoryAdmin
com.lamsinternational.lams.contentrepository +This content repository is designed to store single files and +packages of files on disk in a relatively. 
+  +

+ + + + + +
+Uses of IRepositoryAdmin in com.lamsinternational.lams.contentrepository
+  +

+ + + + + + + + + +
Classes in com.lamsinternational.lams.contentrepository that implement IRepositoryAdmin
+ classSimpleRepository + +
+          Many methods in this class will throw a RepositoryRuntimeException + if the internal data is missing.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/ITicket.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/ITicket.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/ITicket.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,455 @@ + + + + + + +Uses of Interface com.lamsinternational.lams.contentrepository.ITicket + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.lamsinternational.lams.contentrepository.ITicket

+
+ + + + + + + + + +
+Packages that use ITicket
com.lamsinternational.lams.contentrepository +This content repository is designed to store single files and +packages of files on disk in a relatively. 
+  +

+ + + + + +
+Uses of ITicket in com.lamsinternational.lams.contentrepository
+  +

+ + + + + + + + + +
Classes in com.lamsinternational.lams.contentrepository that implement ITicket
+ classSimpleTicket + +
+          SimpleTicket is a basic implementation of Ticket.
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository that return ITicket
+ ITicketSimpleRepository.login(ICredentials credentials, + java.lang.String workspaceName) + +
+           
+ ITicketIVersionedNode.getTicket() + +
+          Get the ticket through which this node was accessed.
+ ITicketIRepository.login(ICredentials credentials, + java.lang.String workspaceName) + +
+          Login, creating a new ticket for the given credentials and specified + workspace.
+ ITicketSimpleVersionedNode.getTicket() + +
+           
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository with parameters of type ITicket
+ voidSimpleRepository.logout(ITicket ticket) + +
+           
+ NodeKeySimpleRepository.addFileItem(ITicket ticket, + java.io.InputStream istream, + java.lang.String filename, + java.lang.String mimeType, + java.lang.String versionDescription) + +
+           
+ NodeKeySimpleRepository.addPackageItem(ITicket ticket, + java.lang.String dirPath, + java.lang.String startFile, + java.lang.String versionDescription) + +
+           
+ IVersionedNodeSimpleRepository.getFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.Long version) + +
+           
+ IVersionedNodeSimpleRepository.getFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String relPath, + java.lang.Long version) + +
+           
+ java.util.SortedMapSimpleRepository.getNodeList(ITicket ticket) + +
+           
+ java.util.SortedSetSimpleRepository.getVersionHistory(ITicket ticket, + java.lang.Long uuid) + +
+           
+ NodeKeySimpleRepository.updateFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String filename, + java.io.InputStream istream, + java.lang.String mimeType, + java.lang.String versionDescription) + +
+           
+ NodeKeySimpleRepository.updatePackageItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String dirPath, + java.lang.String startFile, + java.lang.String versionDescription) + +
+           
+ java.lang.String[]SimpleRepository.deleteNode(ITicket ticket, + java.lang.Long uuid) + +
+           
+ java.lang.String[]SimpleRepository.deleteVersion(ITicket ticket, + java.lang.Long uuid, + java.lang.Long version) + +
+           
+ NodeKeyIRepository.addFileItem(ITicket ticket, + java.io.InputStream istream, + java.lang.String filename, + java.lang.String mimeType, + java.lang.String versionDescription) + +
+          Add a new file to the repository.
+ NodeKeyIRepository.addPackageItem(ITicket ticket, + java.lang.String dirPath, + java.lang.String startFile, + java.lang.String versionDescription) + +
+          Add a new package of files to the repository.
+ NodeKeyIRepository.updateFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String filename, + java.io.InputStream istream, + java.lang.String mimeType, + java.lang.String versionDescription) + +
+          Update an existing file in the repository.
+ NodeKeyIRepository.updatePackageItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String dirPath, + java.lang.String startFile, + java.lang.String versionDescription) + +
+          Add a new package of files to the repository.
+ IVersionedNodeIRepository.getFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.Long version) + +
+          Get an item from the repository based on the UUID.
+ IVersionedNodeIRepository.getFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String relPath, + java.lang.Long versionId) + +
+          Get an item from the repository based on the UUID and relative + path.
+ java.util.SortedSetIRepository.getVersionHistory(ITicket ticket, + java.lang.Long uuid) + +
+          Get the history for a node.
+ java.lang.String[]IRepository.deleteVersion(ITicket ticket, + java.lang.Long uuid, + java.lang.Long version) + +
+          Delete the current version of a node, returning a list of the files + that could not be deleted properly.
+ java.lang.String[]IRepository.deleteNode(ITicket ticket, + java.lang.Long uuid) + +
+          Delete a node and all its versions, returning a list of the files + that could not be deleted properly.
+ voidIRepository.logout(ITicket ticket) + +
+          Finish using this ticket.
+ java.util.SortedMapIRepository.getNodeList(ITicket ticket) + +
+          Get a complete list of all nodes in the workspace and their + version histories.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/IValue.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/IValue.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/IValue.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,199 @@ + + + + + + +Uses of Interface com.lamsinternational.lams.contentrepository.IValue + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.lamsinternational.lams.contentrepository.IValue

+
+ + + + + + + + + +
+Packages that use IValue
com.lamsinternational.lams.contentrepository +This content repository is designed to store single files and +packages of files on disk in a relatively. 
+  +

+ + + + + +
+Uses of IValue in com.lamsinternational.lams.contentrepository
+  +

+ + + + + + + + + +
Classes in com.lamsinternational.lams.contentrepository that implement IValue
+ classCrNodeVersionProperty + +
+           
+  +

+ + + + + + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository that return IValue
+ IValueIVersionedNode.getProperty(java.lang.String name) + +
+          Returns the property at relPath relative to this + node.
+ IValueSimpleVersionedNode.getProperty(java.lang.String name) + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/IVersionDetail.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/IVersionDetail.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/IVersionDetail.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,175 @@ + + + + + + +Uses of Interface com.lamsinternational.lams.contentrepository.IVersionDetail + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.lamsinternational.lams.contentrepository.IVersionDetail

+
+ + + + + + + + + +
+Packages that use IVersionDetail
com.lamsinternational.lams.contentrepository +This content repository is designed to store single files and +packages of files on disk in a relatively. 
+  +

+ + + + + +
+Uses of IVersionDetail in com.lamsinternational.lams.contentrepository
+  +

+ + + + + + + + + +
Classes in com.lamsinternational.lams.contentrepository that implement IVersionDetail
+ classSimpleVersionDetail + +
+          Describes the version details - for displaying a version + history.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/IVersionedNode.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/IVersionedNode.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/IVersionedNode.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,257 @@ + + + + + + +Uses of Interface com.lamsinternational.lams.contentrepository.IVersionedNode + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.lamsinternational.lams.contentrepository.IVersionedNode

+
+ + + + + + + + + +
+Packages that use IVersionedNode
com.lamsinternational.lams.contentrepository +This content repository is designed to store single files and +packages of files on disk in a relatively. 
+  +

+ + + + + +
+Uses of IVersionedNode in com.lamsinternational.lams.contentrepository
+  +

+ + + + + + + + + +
Subinterfaces of IVersionedNode in com.lamsinternational.lams.contentrepository
+ interfaceIVersionedNodeAdmin + +
+          IVersionedNodeAdmin represents the full functionality for a versioned node.
+  +

+ + + + + + + + + +
Classes in com.lamsinternational.lams.contentrepository that implement IVersionedNode
+ classSimpleVersionedNode + +
+          This is the default implementation for IVersionedNode.
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository that return IVersionedNode
+ IVersionedNodeSimpleRepository.getFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.Long version) + +
+           
+ IVersionedNodeSimpleRepository.getFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String relPath, + java.lang.Long version) + +
+           
+ IVersionedNodeIVersionedNode.getNode(java.lang.String relPath) + +
+          Returns the node at relPath, which is a child of this node.
+ IVersionedNodeIRepository.getFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.Long version) + +
+          Get an item from the repository based on the UUID.
+ IVersionedNodeIRepository.getFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String relPath, + java.lang.Long versionId) + +
+          Get an item from the repository based on the UUID and relative + path.
+ IVersionedNodeSimpleVersionedNode.getNode(java.lang.String relPath) + +
+          Another case for the factory?
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/IVersionedNodeAdmin.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/IVersionedNodeAdmin.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/IVersionedNodeAdmin.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,174 @@ + + + + + + +Uses of Interface com.lamsinternational.lams.contentrepository.IVersionedNodeAdmin + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.lamsinternational.lams.contentrepository.IVersionedNodeAdmin

+
+ + + + + + + + + +
+Packages that use IVersionedNodeAdmin
com.lamsinternational.lams.contentrepository +This content repository is designed to store single files and +packages of files on disk in a relatively. 
+  +

+ + + + + +
+Uses of IVersionedNodeAdmin in com.lamsinternational.lams.contentrepository
+  +

+ + + + + + + + + +
Classes in com.lamsinternational.lams.contentrepository that implement IVersionedNodeAdmin
+ classSimpleVersionedNode + +
+          This is the default implementation for IVersionedNode.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/IWorkspace.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/IWorkspace.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/IWorkspace.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,243 @@ + + + + + + +Uses of Interface com.lamsinternational.lams.contentrepository.IWorkspace + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.lamsinternational.lams.contentrepository.IWorkspace

+
+ + + + + + + + + + + + + + + + + +
+Packages that use IWorkspace
com.lamsinternational.lams.contentrepository +This content repository is designed to store single files and +packages of files on disk in a relatively. 
com.lamsinternational.lams.contentrepository.dao  
com.lamsinternational.lams.contentrepository.dao.hibernate  
+  +

+ + + + + +
+Uses of IWorkspace in com.lamsinternational.lams.contentrepository
+  +

+ + + + + + + + + +
Classes in com.lamsinternational.lams.contentrepository that implement IWorkspace
+ classCrWorkspace + +
+           
+  +

+ + + + + +
+Uses of IWorkspace in com.lamsinternational.lams.contentrepository.dao
+  +

+ + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository.dao with parameters of type IWorkspace
+ booleanICredentialDAO.checkCredential(ICredentials credential, + IWorkspace workspace) + +
+          Check the supplied credential to the workspace.
+  +

+ + + + + +
+Uses of IWorkspace in com.lamsinternational.lams.contentrepository.dao.hibernate
+  +

+ + + + + + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository.dao.hibernate with parameters of type IWorkspace
+ booleanCredentialDAO.checkCredential(ICredentials credential, + IWorkspace workspace) + +
+          Checks whether a user can login to this workspace.
+ booleanCredentialDAO.checkCredentialInternal(ICredentials credential, + IWorkspace workspace) + +
+          Checks whether a user can login to the repository.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/InvalidParameterException.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/InvalidParameterException.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/InvalidParameterException.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,376 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.InvalidParameterException + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.InvalidParameterException

+
+ + + + + + + + + + + + + +
+Packages that use InvalidParameterException
com.lamsinternational.lams.contentrepository +This content repository is designed to store single files and +packages of files on disk in a relatively. 
com.lamsinternational.lams.contentrepository.struts.action  
+  +

+ + + + + +
+Uses of InvalidParameterException in com.lamsinternational.lams.contentrepository
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository that throw InvalidParameterException
+ voidIVersionedNodeAdmin.setFile(java.io.InputStream iStream, + java.lang.String filename, + java.lang.String mimeType) + +
+          Set the file, passed in as an inputstream.
+ NodeKeySimpleRepository.addFileItem(ITicket ticket, + java.io.InputStream istream, + java.lang.String filename, + java.lang.String mimeType, + java.lang.String versionDescription) + +
+           
+ NodeKeySimpleRepository.addPackageItem(ITicket ticket, + java.lang.String dirPath, + java.lang.String startFile, + java.lang.String versionDescription) + +
+           
+ NodeKeySimpleRepository.updateFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String filename, + java.io.InputStream istream, + java.lang.String mimeType, + java.lang.String versionDescription) + +
+           
+ NodeKeySimpleRepository.updatePackageItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String dirPath, + java.lang.String startFile, + java.lang.String versionDescription) + +
+           
+ java.lang.String[]SimpleRepository.deleteNode(ITicket ticket, + java.lang.Long uuid) + +
+           
+ java.lang.String[]SimpleRepository.deleteVersion(ITicket ticket, + java.lang.Long uuid, + java.lang.Long version) + +
+           
+ NodeKeyIRepository.addFileItem(ITicket ticket, + java.io.InputStream istream, + java.lang.String filename, + java.lang.String mimeType, + java.lang.String versionDescription) + +
+          Add a new file to the repository.
+ NodeKeyIRepository.addPackageItem(ITicket ticket, + java.lang.String dirPath, + java.lang.String startFile, + java.lang.String versionDescription) + +
+          Add a new package of files to the repository.
+ NodeKeyIRepository.updateFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String filename, + java.io.InputStream istream, + java.lang.String mimeType, + java.lang.String versionDescription) + +
+          Update an existing file in the repository.
+ NodeKeyIRepository.updatePackageItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String dirPath, + java.lang.String startFile, + java.lang.String versionDescription) + +
+          Add a new package of files to the repository.
+ java.lang.String[]IRepository.deleteVersion(ITicket ticket, + java.lang.Long uuid, + java.lang.Long version) + +
+          Delete the current version of a node, returning a list of the files + that could not be deleted properly.
+ java.lang.String[]IRepository.deleteNode(ITicket ticket, + java.lang.Long uuid) + +
+          Delete a node and all its versions, returning a list of the files + that could not be deleted properly.
+ voidSimpleVersionedNode.setFile(java.io.InputStream iStream, + java.lang.String filename, + java.lang.String mimeType) + +
+          Set the file, passed in as an inputstream.
+  +

+ + + + + +
+Uses of InvalidParameterException in com.lamsinternational.lams.contentrepository.struts.action
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository.struts.action that throw InvalidParameterException
+ org.apache.struts.action.ActionForwardNodeSelectionAction.deleteNode(org.apache.struts.action.ActionMapping mapping, + org.apache.struts.action.ActionForm form, + javax.servlet.http.HttpServletRequest request, + javax.servlet.http.HttpServletResponse response) + +
+          Delete a version of a node, or the whole node.
+ org.apache.struts.action.ActionForwardAddFileContentAction.uploadFile(org.apache.struts.action.ActionMapping mapping, + org.apache.struts.action.ActionForm form, + javax.servlet.http.HttpServletRequest request, + javax.servlet.http.HttpServletResponse response) + +
+          Uploads a single file.
+ org.apache.struts.action.ActionForwardAddFileContentAction.uploadPackage(org.apache.struts.action.ActionMapping mapping, + org.apache.struts.action.ActionForm form, + javax.servlet.http.HttpServletRequest request, + javax.servlet.http.HttpServletResponse response) + +
+          Uploads a package
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/ItemExistsException.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/ItemExistsException.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/ItemExistsException.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,185 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.ItemExistsException + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.ItemExistsException

+
+ + + + + + + + + +
+Packages that use ItemExistsException
com.lamsinternational.lams.contentrepository +This content repository is designed to store single files and +packages of files on disk in a relatively. 
+  +

+ + + + + +
+Uses of ItemExistsException in com.lamsinternational.lams.contentrepository
+  +

+ + + + + + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository that throw ItemExistsException
+ voidSimpleRepository.addWorkspace(ICredentials credentials, + java.lang.String workspaceName) + +
+          Add a workspace, giving the credentials as the user of this workspace.
+ voidIRepository.addWorkspace(ICredentials credentials, + java.lang.String workspaceName) + +
+          Create a new workspace, with the tool identified in the creditials + as the owner.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/ItemNotFoundException.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/ItemNotFoundException.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/ItemNotFoundException.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,387 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.ItemNotFoundException + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.ItemNotFoundException

+
+ + + + + + + + + + + + + +
+Packages that use ItemNotFoundException
com.lamsinternational.lams.contentrepository +This content repository is designed to store single files and +packages of files on disk in a relatively. 
com.lamsinternational.lams.contentrepository.struts.action  
+  +

+ + + + + +
+Uses of ItemNotFoundException in com.lamsinternational.lams.contentrepository
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository that throw ItemNotFoundException
+ IVersionedNodeSimpleRepository.getFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.Long version) + +
+           
+ IVersionedNodeSimpleRepository.getFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String relPath, + java.lang.Long version) + +
+           
+ java.util.SortedSetSimpleRepository.getVersionHistory(ITicket ticket, + java.lang.Long uuid) + +
+           
+ NodeKeySimpleRepository.updateFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String filename, + java.io.InputStream istream, + java.lang.String mimeType, + java.lang.String versionDescription) + +
+           
+ NodeKeySimpleRepository.updatePackageItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String dirPath, + java.lang.String startFile, + java.lang.String versionDescription) + +
+           
+ java.lang.String[]SimpleRepository.deleteNode(ITicket ticket, + java.lang.Long uuid) + +
+           
+ java.lang.String[]SimpleRepository.deleteVersion(ITicket ticket, + java.lang.Long uuid, + java.lang.Long version) + +
+           
+ IVersionedNodeIVersionedNode.getNode(java.lang.String relPath) + +
+          Returns the node at relPath, which is a child of this node.
+ NodeKeyIRepository.updateFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String filename, + java.io.InputStream istream, + java.lang.String mimeType, + java.lang.String versionDescription) + +
+          Update an existing file in the repository.
+ NodeKeyIRepository.updatePackageItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String dirPath, + java.lang.String startFile, + java.lang.String versionDescription) + +
+          Add a new package of files to the repository.
+ IVersionedNodeIRepository.getFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.Long version) + +
+          Get an item from the repository based on the UUID.
+ IVersionedNodeIRepository.getFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String relPath, + java.lang.Long versionId) + +
+          Get an item from the repository based on the UUID and relative + path.
+ java.util.SortedSetIRepository.getVersionHistory(ITicket ticket, + java.lang.Long uuid) + +
+          Get the history for a node.
+ java.lang.String[]IRepository.deleteVersion(ITicket ticket, + java.lang.Long uuid, + java.lang.Long version) + +
+          Delete the current version of a node, returning a list of the files + that could not be deleted properly.
+ java.lang.String[]IRepository.deleteNode(ITicket ticket, + java.lang.Long uuid) + +
+          Delete a node and all its versions, returning a list of the files + that could not be deleted properly.
+ IVersionedNodeSimpleVersionedNode.getNode(java.lang.String relPath) + +
+          Another case for the factory?
+  +

+ + + + + +
+Uses of ItemNotFoundException in com.lamsinternational.lams.contentrepository.struts.action
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository.struts.action that throw ItemNotFoundException
+ org.apache.struts.action.ActionForwardNodeSelectionAction.deleteNode(org.apache.struts.action.ActionMapping mapping, + org.apache.struts.action.ActionForm form, + javax.servlet.http.HttpServletRequest request, + javax.servlet.http.HttpServletResponse response) + +
+          Delete a version of a node, or the whole node.
+ org.apache.struts.action.ActionForwardAddFileContentAction.uploadFile(org.apache.struts.action.ActionMapping mapping, + org.apache.struts.action.ActionForm form, + javax.servlet.http.HttpServletRequest request, + javax.servlet.http.HttpServletResponse response) + +
+          Uploads a single file.
+ org.apache.struts.action.ActionForwardAddFileContentAction.uploadPackage(org.apache.struts.action.ActionMapping mapping, + org.apache.struts.action.ActionForm form, + javax.servlet.http.HttpServletRequest request, + javax.servlet.http.HttpServletResponse response) + +
+          Uploads a package
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/LoginException.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/LoginException.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/LoginException.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,222 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.LoginException + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.LoginException

+
+ + + + + + + + + +
+Packages that use LoginException
com.lamsinternational.lams.contentrepository +This content repository is designed to store single files and +packages of files on disk in a relatively. 
+  +

+ + + + + +
+Uses of LoginException in com.lamsinternational.lams.contentrepository
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository that throw LoginException
+ ITicketSimpleRepository.login(ICredentials credentials, + java.lang.String workspaceName) + +
+           
+ voidSimpleRepository.addWorkspace(ICredentials credentials, + java.lang.String workspaceName) + +
+          Add a workspace, giving the credentials as the user of this workspace.
+ voidSimpleRepository.updateCredentials(ICredentials oldCredential, + ICredentials newCredential) + +
+          Update a credential.
+ voidSimpleRepository.assignCredentials(ICredentials credentials, + java.lang.String workspaceName) + +
+          Assign credentials to a workspace.
+ ITicketIRepository.login(ICredentials credentials, + java.lang.String workspaceName) + +
+          Login, creating a new ticket for the given credentials and specified + workspace.
+ voidIRepository.addWorkspace(ICredentials credentials, + java.lang.String workspaceName) + +
+          Create a new workspace, with the tool identified in the creditials + as the owner.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/NoSuchNodeTypeException.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/NoSuchNodeTypeException.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/NoSuchNodeTypeException.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,136 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.NoSuchNodeTypeException + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.NoSuchNodeTypeException

+
+No usage of com.lamsinternational.lams.contentrepository.NoSuchNodeTypeException +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/NodeKey.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/NodeKey.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/NodeKey.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,278 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.NodeKey + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.NodeKey

+
+ + + + + + + + + +
+Packages that use NodeKey
com.lamsinternational.lams.contentrepository +This content repository is designed to store single files and +packages of files on disk in a relatively. 
+  +

+ + + + + +
+Uses of NodeKey in com.lamsinternational.lams.contentrepository
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository that return NodeKey
+ NodeKeySimpleRepository.addFileItem(ITicket ticket, + java.io.InputStream istream, + java.lang.String filename, + java.lang.String mimeType, + java.lang.String versionDescription) + +
+           
+ NodeKeySimpleRepository.addPackageItem(ITicket ticket, + java.lang.String dirPath, + java.lang.String startFile, + java.lang.String versionDescription) + +
+           
+ NodeKeySimpleRepository.updateFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String filename, + java.io.InputStream istream, + java.lang.String mimeType, + java.lang.String versionDescription) + +
+           
+ NodeKeySimpleRepository.updatePackageItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String dirPath, + java.lang.String startFile, + java.lang.String versionDescription) + +
+           
+ NodeKeyIVersionedNode.getNodeKey() + +
+          Get the uuid and version of this node/version
+ NodeKeyIRepository.addFileItem(ITicket ticket, + java.io.InputStream istream, + java.lang.String filename, + java.lang.String mimeType, + java.lang.String versionDescription) + +
+          Add a new file to the repository.
+ NodeKeyIRepository.addPackageItem(ITicket ticket, + java.lang.String dirPath, + java.lang.String startFile, + java.lang.String versionDescription) + +
+          Add a new package of files to the repository.
+ NodeKeyIRepository.updateFileItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String filename, + java.io.InputStream istream, + java.lang.String mimeType, + java.lang.String versionDescription) + +
+          Update an existing file in the repository.
+ NodeKeyIRepository.updatePackageItem(ITicket ticket, + java.lang.Long uuid, + java.lang.String dirPath, + java.lang.String startFile, + java.lang.String versionDescription) + +
+          Add a new package of files to the repository.
+ NodeKeySimpleVersionedNode.getNodeKey() + +
+           
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/NodeTransactionTest.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/NodeTransactionTest.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/NodeTransactionTest.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,136 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.NodeTransactionTest + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.NodeTransactionTest

+
+No usage of com.lamsinternational.lams.contentrepository.NodeTransactionTest +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/NodeType.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/NodeType.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/NodeType.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,136 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.NodeType + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.NodeType

+
+No usage of com.lamsinternational.lams.contentrepository.NodeType +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/PropertyName.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/PropertyName.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/PropertyName.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,136 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.PropertyName + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.PropertyName

+
+No usage of com.lamsinternational.lams.contentrepository.PropertyName +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/PropertyType.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/PropertyType.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/PropertyType.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,136 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.PropertyType + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.PropertyType

+
+No usage of com.lamsinternational.lams.contentrepository.PropertyType +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/RepositoryCheckedException.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/RepositoryCheckedException.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/RepositoryCheckedException.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,493 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.RepositoryCheckedException + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.RepositoryCheckedException

+
+ + + + + + + + + + + + + + + + + +
+Packages that use RepositoryCheckedException
com.lamsinternational.lams.contentrepository +This content repository is designed to store single files and +packages of files on disk in a relatively. 
com.lamsinternational.lams.contentrepository.dao.hibernate  
com.lamsinternational.lams.contentrepository.struts.action  
+  +

+ + + + + +
+Uses of RepositoryCheckedException in com.lamsinternational.lams.contentrepository
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Subclasses of RepositoryCheckedException in com.lamsinternational.lams.contentrepository
+ classAccessDeniedException + +
+          The current ticket doesn't have sufficient rights for the requested action.
+ classFileException + +
+          Some error was generated reading or writing the files + to disk.
+ classInvalidParameterException + +
+          Generic exception thrown whenever a parameter is missing.
+ classItemExistsException + +
+          An item already exists with the given id or path.
+ classItemNotFoundException + +
+          Item requested does not exist.
+ classLoginException + +
+          Login failed.
+ classNoSuchNodeTypeException + +
+          Tried to create a node with an unknown type.
+ classValidationException + +
+          The node is invalid for some reason.
+ classValueFormatException + +
+          Thrown when value is assigned to a propery of the wrong type, or some + other formatting type problem.
+ classWorkspaceNotFoundException + +
+          Requested workspace not found.
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository that throw RepositoryCheckedException
+ voidIVersionedNodeAdmin.setProperty(java.lang.String name, + java.lang.String value, + int type) + +
+          Sets the property to a value, based on the specified type, after converting + from the string.
+ voidIVersionedNodeAdmin.setProperty(java.lang.String name, + java.lang.String value) + +
+          Sets the property to a STRING value.
+ voidIVersionedNodeAdmin.setProperty(java.lang.String name, + boolean value) + +
+          Sets the property to a BOOLEAN value.
+ voidIVersionedNodeAdmin.setProperty(java.lang.String name, + double value) + +
+          Sets the property to a DOUBLE value.
+ voidIVersionedNodeAdmin.setProperty(java.lang.String name, + long value) + +
+          Sets the property to a LONG value.
+ voidIVersionedNodeAdmin.setProperty(java.lang.String name, + java.util.Calendar value) + +
+          Sets the property a CALENDAR value.
+ voidSimpleRepository.addWorkspace(ICredentials credentials, + java.lang.String workspaceName) + +
+          Add a workspace, giving the credentials as the user of this workspace.
+ voidSimpleRepository.createCredential(ICredentials newCredential) + +
+          Create a new repository "user" - usually a tool.
+ voidSimpleRepository.updateCredentials(ICredentials oldCredential, + ICredentials newCredential) + +
+          Update a credential.
+ voidSimpleRepository.assignCredentials(ICredentials credentials, + java.lang.String workspaceName) + +
+          Assign credentials to a workspace.
+static java.lang.StringPropertyType.nameFromValue(int type) + +
+          Returns the name of the specified type.
+static intPropertyType.valueFromName(java.lang.String name) + +
+          Returns the numeric constant value of the type with the specified name.
+ voidIRepositoryAdmin.assignCredentials(ICredentials credentials, + java.lang.String workspaceName) + +
+           
+ voidIRepository.addWorkspace(ICredentials credentials, + java.lang.String workspaceName) + +
+          Create a new workspace, with the tool identified in the creditials + as the owner.
+ voidIRepository.createCredential(ICredentials newCredential) + +
+          Create a new repository "user" - usually a tool.
+ voidIRepository.updateCredentials(ICredentials oldCredential, + ICredentials newCredential) + +
+          Update a credential.
+  +

+ + + + + +
+Uses of RepositoryCheckedException in com.lamsinternational.lams.contentrepository.dao.hibernate
+  +

+ + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository.dao.hibernate that throw RepositoryCheckedException
+ voidWorkspaceDAO.flushSession() + +
+           
+  +

+ + + + + +
+Uses of RepositoryCheckedException in com.lamsinternational.lams.contentrepository.struts.action
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository.struts.action that throw RepositoryCheckedException
+ org.apache.struts.action.ActionForwardRepositoryDispatchAction.logout(org.apache.struts.action.ActionMapping mapping, + org.apache.struts.action.ActionForm form, + javax.servlet.http.HttpServletRequest request, + javax.servlet.http.HttpServletResponse response) + +
+          Logout of the workspace.
+ org.apache.struts.action.ActionForwardNodeSelectionAction.getNode(org.apache.struts.action.ActionMapping mapping, + org.apache.struts.action.ActionForm form, + javax.servlet.http.HttpServletRequest request, + javax.servlet.http.HttpServletResponse response) + +
+          Get the file specified by this node.
+ org.apache.struts.action.ActionForwardLoginRepositoryAction.loginToWorkspace(org.apache.struts.action.ActionMapping mapping, + org.apache.struts.action.ActionForm form, + javax.servlet.http.HttpServletRequest request, + javax.servlet.http.HttpServletResponse response) + +
+          Login to the repository
+ org.apache.struts.action.ActionForwardLoginRepositoryAction.createNewWorkspace(org.apache.struts.action.ActionMapping mapping, + org.apache.struts.action.ActionForm form, + javax.servlet.http.HttpServletRequest request, + javax.servlet.http.HttpServletResponse response) + +
+          Create and login to a new workspace
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/RepositoryRuntimeException.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/RepositoryRuntimeException.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/RepositoryRuntimeException.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,281 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.RepositoryRuntimeException + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.RepositoryRuntimeException

+
+ + + + + + + + + + + + + + + + + +
+Packages that use RepositoryRuntimeException
com.lamsinternational.lams.contentrepository +This content repository is designed to store single files and +packages of files on disk in a relatively. 
com.lamsinternational.lams.contentrepository.dao  
com.lamsinternational.lams.contentrepository.dao.hibernate  
+  +

+ + + + + +
+Uses of RepositoryRuntimeException in com.lamsinternational.lams.contentrepository
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository that throw RepositoryRuntimeException
+ voidSimpleRepository.updateCredentials(ICredentials oldCredential, + ICredentials newCredential) + +
+          Update a credential.
+ CrNodeVersionPropertyCrNodeVersion.setProperty(java.lang.String name, + java.lang.Object value, + int valueType) + +
+          Set a property value.
+ voidSimpleVersionedNode.setProperty(java.lang.String name, + java.lang.String value) + +
+           
+  +

+ + + + + +
+Uses of RepositoryRuntimeException in com.lamsinternational.lams.contentrepository.dao
+  +

+ + + + + + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository.dao that throw RepositoryRuntimeException
+ booleanICredentialDAO.checkCredential(ICredentials credential, + IWorkspace workspace) + +
+          Check the supplied credential to the workspace.
+ booleanICredentialDAO.checkCredential(ICredentials credential) + +
+          Check the supplied credential to the repository + By doing the check at this level, the password does + not need to be read from the database.
+  +

+ + + + + +
+Uses of RepositoryRuntimeException in com.lamsinternational.lams.contentrepository.dao.hibernate
+  +

+ + + + + + + + + + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository.dao.hibernate that throw RepositoryRuntimeException
+ booleanCredentialDAO.checkCredential(ICredentials credential, + IWorkspace workspace) + +
+          Checks whether a user can login to this workspace.
+ booleanCredentialDAO.checkCredential(ICredentials credential) + +
+          Checks whether a user can login to the repository.
+ booleanCredentialDAO.checkCredentialInternal(ICredentials credential, + IWorkspace workspace) + +
+          Checks whether a user can login to the repository.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/SimpleCredentials.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/SimpleCredentials.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/SimpleCredentials.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,136 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.SimpleCredentials + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.SimpleCredentials

+
+No usage of com.lamsinternational.lams.contentrepository.SimpleCredentials +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/SimpleRepository.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/SimpleRepository.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/SimpleRepository.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,136 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.SimpleRepository + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.SimpleRepository

+
+No usage of com.lamsinternational.lams.contentrepository.SimpleRepository +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/SimpleTicket.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/SimpleTicket.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/SimpleTicket.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,136 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.SimpleTicket + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.SimpleTicket

+
+No usage of com.lamsinternational.lams.contentrepository.SimpleTicket +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/SimpleVersionDetail.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/SimpleVersionDetail.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/SimpleVersionDetail.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,136 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.SimpleVersionDetail + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.SimpleVersionDetail

+
+No usage of com.lamsinternational.lams.contentrepository.SimpleVersionDetail +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/SimpleVersionedNode.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/SimpleVersionedNode.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/SimpleVersionedNode.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,136 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.SimpleVersionedNode + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.SimpleVersionedNode

+
+No usage of com.lamsinternational.lams.contentrepository.SimpleVersionedNode +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/TestSimpleRepository.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/TestSimpleRepository.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/TestSimpleRepository.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,136 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.TestSimpleRepository + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.TestSimpleRepository

+
+No usage of com.lamsinternational.lams.contentrepository.TestSimpleRepository +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/TestSimpleTicket.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/TestSimpleTicket.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/TestSimpleTicket.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,136 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.TestSimpleTicket + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.TestSimpleTicket

+
+No usage of com.lamsinternational.lams.contentrepository.TestSimpleTicket +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/TestSimpleVersionDetail.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/TestSimpleVersionDetail.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/TestSimpleVersionDetail.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,136 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.TestSimpleVersionDetail + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.TestSimpleVersionDetail

+
+No usage of com.lamsinternational.lams.contentrepository.TestSimpleVersionDetail +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/TestSimpleVersionedNode.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/TestSimpleVersionedNode.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/TestSimpleVersionedNode.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,136 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.TestSimpleVersionedNode + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.TestSimpleVersionedNode

+
+No usage of com.lamsinternational.lams.contentrepository.TestSimpleVersionedNode +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/ValidationException.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/ValidationException.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/ValidationException.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,136 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.ValidationException + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.ValidationException

+
+No usage of com.lamsinternational.lams.contentrepository.ValidationException +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/ValueFormatException.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/ValueFormatException.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/ValueFormatException.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,238 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.ValueFormatException + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.ValueFormatException

+
+ + + + + + + + + +
+Packages that use ValueFormatException
com.lamsinternational.lams.contentrepository +This content repository is designed to store single files and +packages of files on disk in a relatively. 
+  +

+ + + + + +
+Uses of ValueFormatException in com.lamsinternational.lams.contentrepository
+  +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository that throw ValueFormatException
+ java.lang.StringIValue.getString() + +
+          Returns a string representation of the value.
+ doubleIValue.getDouble() + +
+          Returns a double representation of the value.
+ java.util.CalendarIValue.getDate() + +
+          Returns a Calendar representation of the value.
+ longIValue.getLong() + +
+          Returns a long representation of the value.
+ booleanIValue.getBoolean() + +
+          Returns a boolean representation of the value.
+ doubleCrNodeVersionProperty.getDouble() + +
+          Returns a double representation of the value.
+ java.util.CalendarCrNodeVersionProperty.getDate() + +
+          Returns a Calendar representation of the value.
+ longCrNodeVersionProperty.getLong() + +
+          Returns a long representation of the value.
+ booleanCrNodeVersionProperty.getBoolean() + +
+          Returns a boolean representation of the value.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/WorkspaceNotFoundException.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/Attic/WorkspaceNotFoundException.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/class-use/WorkspaceNotFoundException.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,203 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.WorkspaceNotFoundException + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.WorkspaceNotFoundException

+
+ + + + + + + + + +
+Packages that use WorkspaceNotFoundException
com.lamsinternational.lams.contentrepository +This content repository is designed to store single files and +packages of files on disk in a relatively. 
+  +

+ + + + + +
+Uses of WorkspaceNotFoundException in com.lamsinternational.lams.contentrepository
+  +

+ + + + + + + + + + + + + + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository that throw WorkspaceNotFoundException
+ ITicketSimpleRepository.login(ICredentials credentials, + java.lang.String workspaceName) + +
+           
+ voidSimpleRepository.assignCredentials(ICredentials credentials, + java.lang.String workspaceName) + +
+          Assign credentials to a workspace.
+ voidIRepositoryAdmin.assignCredentials(ICredentials credentials, + java.lang.String workspaceName) + +
+           
+ ITicketIRepository.login(ICredentials credentials, + java.lang.String workspaceName) + +
+          Login, creating a new ticket for the given credentials and specified + workspace.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/ICredentialDAO.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/Attic/ICredentialDAO.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/ICredentialDAO.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,332 @@ + + + + + + +ICredentialDAO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository.dao +
+Interface ICredentialDAO

+
+
All Known Implementing Classes:
CredentialDAO
+
+
+
+
public interface ICredentialDAO
+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleancheckCredential(ICredentials credential) + +
+          Check the supplied credential to the repository + By doing the check at this level, the password does + not need to be read from the database.
+ booleancheckCredential(ICredentials credential, + IWorkspace workspace) + +
+          Check the supplied credential to the workspace.
+ voiddelete(java.lang.Object object) + +
+           
+ CrCredentialfindByName(java.lang.String name) + +
+           
+ voidinsert(java.lang.Object object) + +
+           
+ voidupdate(java.lang.Object object) + +
+           
+  +

+ + + + + + + + + + + + + + +
+Method Detail
+ +

+checkCredential

+
+public boolean checkCredential(ICredentials credential,
+                               IWorkspace workspace)
+                        throws RepositoryRuntimeException
+
+
Check the supplied credential to the workspace. + By doing the check at this level, the password does + not need to be read from the database. +

+

+ +
Returns:
true if credential is found +
Throws: +
repository - exception if an internal (db) error occurs +
RepositoryRuntimeException
+
+
+
+ +

+checkCredential

+
+public boolean checkCredential(ICredentials credential)
+                        throws RepositoryRuntimeException
+
+
Check the supplied credential to the repository + By doing the check at this level, the password does + not need to be read from the database. +

+

+ +
Returns:
true if credential is found +
Throws: +
repository - exception if an internal (db) error occurs +
RepositoryRuntimeException
+
+
+
+ +

+insert

+
+public void insert(java.lang.Object object)
+
+
+
+
+
+
+ +

+update

+
+public void update(java.lang.Object object)
+
+
+
+
+
+
+ +

+delete

+
+public void delete(java.lang.Object object)
+
+
+
+
+
+
+ +

+findByName

+
+public CrCredential findByName(java.lang.String name)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/IFileDAO.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/Attic/IFileDAO.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/IFileDAO.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,312 @@ + + + + + + +IFileDAO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository.dao +
+Interface IFileDAO

+
+
All Known Implementing Classes:
FileDAO
+
+
+
+
public interface IFileDAO
+ +

+Manages the reading and writing of files to the repository directories. +

+ +

+

+
Author:
+
Fiona Malikoff
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleandelete(java.lang.Long uuid, + java.lang.Long versionId) + +
+          Delete a file from the repository.
+ java.io.InputStreamgetFile(java.lang.Long uuid, + java.lang.Long versionId) + +
+          Gets a file from the repository.
+ java.lang.StringgetFilePath(java.lang.Long uuid, + java.lang.Long versionId) + +
+          Get the actual path of the file ie the path on disk
+ voidwriteFile(java.lang.Long uuid, + java.lang.Long versionId, + java.io.InputStream is) + +
+          Write out a file to the repository.
+  +

+ + + + + + + + + + + + + + +
+Method Detail
+ +

+writeFile

+
+public void writeFile(java.lang.Long uuid,
+                      java.lang.Long versionId,
+                      java.io.InputStream is)
+               throws FileException
+
+
Write out a file to the repository. Closes the stream. +

+

+ +
Throws: +
FileException
+
+
+
+ +

+getFile

+
+public java.io.InputStream getFile(java.lang.Long uuid,
+                                   java.lang.Long versionId)
+                            throws FileException
+
+
Gets a file from the repository. +

+

+ +
Throws: +
FileException
+
+
+
+ +

+delete

+
+public boolean delete(java.lang.Long uuid,
+                      java.lang.Long versionId)
+               throws FileException
+
+
Delete a file from the repository. If this makes the directory + empty, then the directory should be deleted. +

+

+ +
Returns:
true if deleted successfully. +
Throws: +
FileException
+
+
+
+ +

+getFilePath

+
+public java.lang.String getFilePath(java.lang.Long uuid,
+                                    java.lang.Long versionId)
+                             throws FileException
+
+
Get the actual path of the file ie the path on disk +

+

+ +
Throws: +
FileException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/INodeDAO.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/Attic/INodeDAO.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/INodeDAO.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,323 @@ + + + + + + +INodeDAO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository.dao +
+Interface INodeDAO

+
+
All Known Implementing Classes:
NodeDAO
+
+
+
+
public interface INodeDAO
+ +

+Data access routines for Nodes, versions and properties +

+ +

+

+
Author:
+
Fiona Malikoff
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voiddelete(java.lang.Object object) + +
+           
+ java.lang.Objectfind(java.lang.Class objClass, + java.io.Serializable id) + +
+          Finds an object.
+ java.util.ListfindAll(java.lang.Class objClass) + +
+           
+ java.util.ListfindAllNodesInWorkspace(java.lang.Long workspaceId) + +
+           
+ voidinsert(java.lang.Object object) + +
+           
+ voidupdate(java.lang.Object object) + +
+           
+  +

+ + + + + + + + + + + + + + +
+Method Detail
+ +

+find

+
+public java.lang.Object find(java.lang.Class objClass,
+                             java.io.Serializable id)
+
+
Finds an object. Return null if not found (note: this + is not the standard behaviour for Spring and Hibernate combined.) +

+

+
+
+
+
+ +

+insert

+
+public void insert(java.lang.Object object)
+
+
+
+
+
+
+ +

+update

+
+public void update(java.lang.Object object)
+
+
+
+
+
+
+ +

+delete

+
+public void delete(java.lang.Object object)
+
+
+
+
+
+
+ +

+findAllNodesInWorkspace

+
+public java.util.List findAllNodesInWorkspace(java.lang.Long workspaceId)
+
+
+
+
+
+
+ +

+findAll

+
+public java.util.List findAll(java.lang.Class objClass)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/IWorkspaceDAO.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/Attic/IWorkspaceDAO.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/IWorkspaceDAO.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,327 @@ + + + + + + +IWorkspaceDAO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository.dao +
+Interface IWorkspaceDAO

+
+
All Known Implementing Classes:
WorkspaceDAO
+
+
+
+
public interface IWorkspaceDAO
+ +

+Data access routines for Workspaces. +

+ +

+

+
Author:
+
Fiona Malikoff
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voiddelete(java.lang.Object object) + +
+           
+ java.lang.Objectfind(java.lang.Class objClass, + java.io.Serializable id) + +
+          Finds an object.
+ java.util.ListfindAll(java.lang.Class objClass) + +
+           
+ CrWorkspacefindByName(java.lang.String workspaceName) + +
+          Get a workspace.
+ voidinsert(java.lang.Object object) + +
+           
+ voidupdate(java.lang.Object object) + +
+           
+  +

+ + + + + + + + + + + + + + +
+Method Detail
+ +

+findByName

+
+public CrWorkspace findByName(java.lang.String workspaceName)
+
+
Get a workspace. +

+

+
Parameters:
workspaceName - +
Returns:
first (and expected only) workspace with this name.
+
+
+
+ +

+find

+
+public java.lang.Object find(java.lang.Class objClass,
+                             java.io.Serializable id)
+
+
Finds an object. Return null if not found (note: this + is not the standard behaviour for Spring and Hibernate combined.) +

+

+
Parameters:
objClass -
id - +
Returns:
object built from database
+
+
+
+ +

+insert

+
+public void insert(java.lang.Object object)
+
+
+
+
+
+
+ +

+update

+
+public void update(java.lang.Object object)
+
+
+
+
+
+
+ +

+delete

+
+public void delete(java.lang.Object object)
+
+
+
+
+
+
+ +

+findAll

+
+public java.util.List findAll(java.lang.Class objClass)
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/package-frame.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/Attic/package-frame.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/package-frame.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,38 @@ + + + + + + +com.lamsinternational.lams.contentrepository.dao + + + + + + + + + + + +com.lamsinternational.lams.contentrepository.dao + + + + +
+Interfaces  + +
+ICredentialDAO +
+IFileDAO +
+INodeDAO +
+IWorkspaceDAO
+ + + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/package-summary.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/Attic/package-summary.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/package-summary.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,160 @@ + + + + + + +com.lamsinternational.lams.contentrepository.dao + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.lamsinternational.lams.contentrepository.dao +

+ + + + + + + + + + + + + + + + + + + + + +
+Interface Summary
ICredentialDAO 
IFileDAOManages the reading and writing of files to the repository directories.
INodeDAOData access routines for Nodes, versions and properties
IWorkspaceDAOData access routines for Workspaces.
+  + +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/package-tree.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/Attic/package-tree.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/package-tree.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,143 @@ + + + + + + +com.lamsinternational.lams.contentrepository.dao Class Hierarchy + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.lamsinternational.lams.contentrepository.dao +

+
+
+
Package Hierarchies:
All Packages
+
+

+Interface Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/package-use.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/Attic/package-use.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/package-use.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,232 @@ + + + + + + +Uses of Package com.lamsinternational.lams.contentrepository.dao + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.lamsinternational.lams.contentrepository.dao

+
+ + + + + + + + + + + + + + + + + +
+Packages that use com.lamsinternational.lams.contentrepository.dao
com.lamsinternational.lams.contentrepository +This content repository is designed to store single files and +packages of files on disk in a relatively. 
com.lamsinternational.lams.contentrepository.dao.file  
com.lamsinternational.lams.contentrepository.dao.hibernate  
+  +

+ + + + + + + + + + + + + + + + + +
+Classes in com.lamsinternational.lams.contentrepository.dao used by com.lamsinternational.lams.contentrepository
ICredentialDAO + +
+           
IFileDAO + +
+          Manages the reading and writing of files to the repository directories.
INodeDAO + +
+          Data access routines for Nodes, versions and properties
IWorkspaceDAO + +
+          Data access routines for Workspaces.
+  +

+ + + + + + + + +
+Classes in com.lamsinternational.lams.contentrepository.dao used by com.lamsinternational.lams.contentrepository.dao.file
IFileDAO + +
+          Manages the reading and writing of files to the repository directories.
+  +

+ + + + + + + + + + + + + + +
+Classes in com.lamsinternational.lams.contentrepository.dao used by com.lamsinternational.lams.contentrepository.dao.hibernate
ICredentialDAO + +
+           
INodeDAO + +
+          Data access routines for Nodes, versions and properties
IWorkspaceDAO + +
+          Data access routines for Workspaces.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/class-use/ICredentialDAO.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/class-use/Attic/ICredentialDAO.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/class-use/ICredentialDAO.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,219 @@ + + + + + + +Uses of Interface com.lamsinternational.lams.contentrepository.dao.ICredentialDAO + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.lamsinternational.lams.contentrepository.dao.ICredentialDAO

+
+ + + + + + + + + + + + + +
+Packages that use ICredentialDAO
com.lamsinternational.lams.contentrepository +This content repository is designed to store single files and +packages of files on disk in a relatively. 
com.lamsinternational.lams.contentrepository.dao.hibernate  
+  +

+ + + + + +
+Uses of ICredentialDAO in com.lamsinternational.lams.contentrepository
+  +

+ + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository that return ICredentialDAO
+ ICredentialDAOSimpleRepository.getCredentialDAO() + +
+           
+  +

+ + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository with parameters of type ICredentialDAO
+ voidSimpleRepository.setCredentialDAO(ICredentialDAO credentialDAO) + +
+           
+  +

+ + + + + +
+Uses of ICredentialDAO in com.lamsinternational.lams.contentrepository.dao.hibernate
+  +

+ + + + + + + + + +
Classes in com.lamsinternational.lams.contentrepository.dao.hibernate that implement ICredentialDAO
+ classCredentialDAO + +
+          Implements the credentials lookup using Hibernate.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/class-use/IFileDAO.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/class-use/Attic/IFileDAO.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/class-use/IFileDAO.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,219 @@ + + + + + + +Uses of Interface com.lamsinternational.lams.contentrepository.dao.IFileDAO + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.lamsinternational.lams.contentrepository.dao.IFileDAO

+
+ + + + + + + + + + + + + +
+Packages that use IFileDAO
com.lamsinternational.lams.contentrepository +This content repository is designed to store single files and +packages of files on disk in a relatively. 
com.lamsinternational.lams.contentrepository.dao.file  
+  +

+ + + + + +
+Uses of IFileDAO in com.lamsinternational.lams.contentrepository
+  +

+ + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository that return IFileDAO
+ IFileDAOSimpleVersionedNode.getFileDAO() + +
+           
+  +

+ + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository with parameters of type IFileDAO
+ voidSimpleVersionedNode.setFileDAO(IFileDAO fileDAO) + +
+           
+  +

+ + + + + +
+Uses of IFileDAO in com.lamsinternational.lams.contentrepository.dao.file
+  +

+ + + + + + + + + +
Classes in com.lamsinternational.lams.contentrepository.dao.file that implement IFileDAO
+ classFileDAO + +
+          Manages the reading and writing of files to the repository directories.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/class-use/INodeDAO.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/class-use/Attic/INodeDAO.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/class-use/INodeDAO.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,219 @@ + + + + + + +Uses of Interface com.lamsinternational.lams.contentrepository.dao.INodeDAO + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.lamsinternational.lams.contentrepository.dao.INodeDAO

+
+ + + + + + + + + + + + + +
+Packages that use INodeDAO
com.lamsinternational.lams.contentrepository +This content repository is designed to store single files and +packages of files on disk in a relatively. 
com.lamsinternational.lams.contentrepository.dao.hibernate  
+  +

+ + + + + +
+Uses of INodeDAO in com.lamsinternational.lams.contentrepository
+  +

+ + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository that return INodeDAO
+ INodeDAOSimpleVersionedNode.getNodeDAO() + +
+           
+  +

+ + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository with parameters of type INodeDAO
+ voidSimpleVersionedNode.setNodeDAO(INodeDAO nodeDAO) + +
+           
+  +

+ + + + + +
+Uses of INodeDAO in com.lamsinternational.lams.contentrepository.dao.hibernate
+  +

+ + + + + + + + + +
Classes in com.lamsinternational.lams.contentrepository.dao.hibernate that implement INodeDAO
+ classNodeDAO + +
+          Data access routines for Nodes
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/class-use/IWorkspaceDAO.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/class-use/Attic/IWorkspaceDAO.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/class-use/IWorkspaceDAO.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,219 @@ + + + + + + +Uses of Interface com.lamsinternational.lams.contentrepository.dao.IWorkspaceDAO + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Interface
com.lamsinternational.lams.contentrepository.dao.IWorkspaceDAO

+
+ + + + + + + + + + + + + +
+Packages that use IWorkspaceDAO
com.lamsinternational.lams.contentrepository +This content repository is designed to store single files and +packages of files on disk in a relatively. 
com.lamsinternational.lams.contentrepository.dao.hibernate  
+  +

+ + + + + +
+Uses of IWorkspaceDAO in com.lamsinternational.lams.contentrepository
+  +

+ + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository that return IWorkspaceDAO
+ IWorkspaceDAOSimpleRepository.getWorkspaceDAO() + +
+           
+  +

+ + + + + + + + + +
Methods in com.lamsinternational.lams.contentrepository with parameters of type IWorkspaceDAO
+ voidSimpleRepository.setWorkspaceDAO(IWorkspaceDAO workspaceDAO) + +
+           
+  +

+ + + + + +
+Uses of IWorkspaceDAO in com.lamsinternational.lams.contentrepository.dao.hibernate
+  +

+ + + + + + + + + +
Classes in com.lamsinternational.lams.contentrepository.dao.hibernate that implement IWorkspaceDAO
+ classWorkspaceDAO + +
+          Data access routines for Workspaces.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/file/FileDAO.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/file/Attic/FileDAO.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/file/FileDAO.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,410 @@ + + + + + + +FileDAO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository.dao.file +
+Class FileDAO

+
+java.lang.Object
+  extended bycom.lamsinternational.lams.contentrepository.dao.file.FileDAO
+
+
+
All Implemented Interfaces:
IFileDAO
+
+
+
+
public class FileDAO
extends java.lang.Object
implements IFileDAO
+ +

+Manages the reading and writing of files to the repository directories. + Note: this does not involve the database - so no Hibernate! +

+ +

+

+
Author:
+
Fiona Malikoff
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
FileDAO() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleandelete(java.lang.Long uuid, + java.lang.Long versionId) + +
+          Delete a file from the repository.
+ java.io.InputStreamgetFile(java.lang.Long uuid, + java.lang.Long versionId) + +
+          Gets a file from the repository.
+ java.lang.StringgetFilePath(java.lang.Long uuid, + java.lang.Long versionId) + +
+          Get the actual path of the file ie the path on disk
+ java.lang.StringgetRepositoryLocation() + +
+           
+ voidsetRepositoryLocation(java.lang.String repositoryLocation) + +
+           
+ voidwriteFile(java.lang.Long uuid, + java.lang.Long versionId, + java.io.InputStream is) + +
+          Write out a file to the repository.
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+FileDAO

+
+public FileDAO()
+
+
+ + + + + + + + +
+Method Detail
+ +

+writeFile

+
+public void writeFile(java.lang.Long uuid,
+                      java.lang.Long versionId,
+                      java.io.InputStream is)
+               throws FileException
+
+
Write out a file to the repository. Closes the stream. +

+

+
Specified by:
writeFile in interface IFileDAO
+
+
+ +
Throws: +
FileException
+
+
+
+ +

+getFile

+
+public java.io.InputStream getFile(java.lang.Long uuid,
+                                   java.lang.Long versionId)
+                            throws FileException
+
+
Gets a file from the repository. +

+

+
Specified by:
getFile in interface IFileDAO
+
+
+
Parameters:
uuid - node id
versionId - version id +
Throws: +
FileException
+
+
+
+ +

+delete

+
+public boolean delete(java.lang.Long uuid,
+                      java.lang.Long versionId)
+               throws FileException
+
+
Delete a file from the repository. If this makes the directory + empty, then the directory should be deleted. +

+

+
Specified by:
delete in interface IFileDAO
+
+
+ +
Returns:
true if file does not exist or has been deleted successfully. +
Throws: +
FileException
+
+
+
+ +

+getFilePath

+
+public java.lang.String getFilePath(java.lang.Long uuid,
+                                    java.lang.Long versionId)
+                             throws FileException
+
+
Get the actual path of the file ie the path on disk +

+

+
Specified by:
getFilePath in interface IFileDAO
+
+
+ +
Throws: +
FileException
+
+
+
+ +

+getRepositoryLocation

+
+public java.lang.String getRepositoryLocation()
+
+
+
+
+
+ +
Returns:
Returns the repositoryLocation.
+
+
+
+ +

+setRepositoryLocation

+
+public void setRepositoryLocation(java.lang.String repositoryLocation)
+
+
+
+
+
+
Parameters:
repositoryLocation - The repositoryLocation to set.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/file/TestFileDAO.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/file/Attic/TestFileDAO.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/file/TestFileDAO.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,359 @@ + + + + + + +TestFileDAO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository.dao.file +
+Class TestFileDAO

+
+java.lang.Object
+  extended byjunit.framework.Assert
+      extended byjunit.framework.TestCase
+          extended bycom.lamsinternational.lams.contentrepository.BaseTestCase
+              extended bycom.lamsinternational.lams.contentrepository.dao.file.TestFileDAO
+
+
+
All Implemented Interfaces:
junit.framework.Test
+
+
+
+
public class TestFileDAO
extends BaseTestCase
+ +

+

+
Author:
+
Fiona Malikoff + + Tests just the generation of file names. The actual writing is + tested via the save/get file functions on SimpleVersionedNode
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
TestFileDAO() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voidsetUp() + +
+           
+ voidtestGenerateFilePathEven1() + +
+           
+ voidtestGenerateFilePathEven101() + +
+           
+ voidtestGenerateFilePathOdd1() + +
+           
+ voidtestGenerateFilePathOdd101() + +
+           
+ + + + + + + +
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, setName, toString
+ + + + + + + +
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+TestFileDAO

+
+public TestFileDAO()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setUp

+
+public void setUp()
+
+
+
+
+
+
+ +

+testGenerateFilePathEven1

+
+public void testGenerateFilePathEven1()
+
+
+
+
+
+
+ +

+testGenerateFilePathEven101

+
+public void testGenerateFilePathEven101()
+
+
+
+
+
+
+ +

+testGenerateFilePathOdd1

+
+public void testGenerateFilePathOdd1()
+
+
+
+
+
+
+ +

+testGenerateFilePathOdd101

+
+public void testGenerateFilePathOdd101()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/file/package-frame.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/file/Attic/package-frame.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/file/package-frame.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,32 @@ + + + + + + +com.lamsinternational.lams.contentrepository.dao.file + + + + + + + + + + + +com.lamsinternational.lams.contentrepository.dao.file + + + + +
+Classes  + +
+FileDAO
+ + + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/file/package-summary.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/file/Attic/package-summary.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/file/package-summary.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,148 @@ + + + + + + +com.lamsinternational.lams.contentrepository.dao.file + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.lamsinternational.lams.contentrepository.dao.file +

+ + + + + + + + + +
+Class Summary
FileDAOManages the reading and writing of files to the repository directories.
+  + +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/file/package-tree.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/file/Attic/package-tree.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/file/package-tree.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,146 @@ + + + + + + +com.lamsinternational.lams.contentrepository.dao.file Class Hierarchy + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.lamsinternational.lams.contentrepository.dao.file +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/file/package-use.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/file/Attic/package-use.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/file/package-use.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,136 @@ + + + + + + +Uses of Package com.lamsinternational.lams.contentrepository.dao.file + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.lamsinternational.lams.contentrepository.dao.file

+
+No usage of com.lamsinternational.lams.contentrepository.dao.file +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/file/class-use/FileDAO.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/file/class-use/Attic/FileDAO.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/file/class-use/FileDAO.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,136 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.dao.file.FileDAO + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.dao.file.FileDAO

+
+No usage of com.lamsinternational.lams.contentrepository.dao.file.FileDAO +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/file/class-use/TestFileDAO.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/file/class-use/Attic/TestFileDAO.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/file/class-use/TestFileDAO.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,136 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.dao.file.TestFileDAO + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.dao.file.TestFileDAO

+
+No usage of com.lamsinternational.lams.contentrepository.dao.file.TestFileDAO +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/hibernate/CredentialDAO.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/hibernate/Attic/CredentialDAO.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/hibernate/CredentialDAO.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,456 @@ + + + + + + +CredentialDAO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository.dao.hibernate +
+Class CredentialDAO

+
+java.lang.Object
+  extended byorg.springframework.orm.hibernate.support.HibernateDaoSupport
+      extended bycom.lamsinternational.lams.contentrepository.dao.hibernate.CredentialDAO
+
+
+
All Implemented Interfaces:
ICredentialDAO, org.springframework.beans.factory.InitializingBean
+
+
+
+
public class CredentialDAO
extends org.springframework.orm.hibernate.support.HibernateDaoSupport
implements ICredentialDAO
+ +

+Implements the credentials lookup using Hibernate. +

+ +

+

+
Author:
+
Fiona Malikoff
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
CredentialDAO() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ booleancheckCredential(ICredentials credential) + +
+          Checks whether a user can login to the repository.
+ booleancheckCredential(ICredentials credential, + IWorkspace workspace) + +
+          Checks whether a user can login to this workspace.
+ booleancheckCredentialInternal(ICredentials credential, + IWorkspace workspace) + +
+          Checks whether a user can login to the repository.
+ voiddelete(java.lang.Object object) + +
+           
+ java.util.ListfindAll(java.lang.Class objClass) + +
+           
+ CrCredentialfindByName(java.lang.String name) + +
+           
+ voidinsert(java.lang.Object object) + +
+           
+ voidupdate(java.lang.Object object) + +
+           
+ + + + + + + +
Methods inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport
afterPropertiesSet, getHibernateTemplate, getSessionFactory, setHibernateTemplate, setSessionFactory
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+CredentialDAO

+
+public CredentialDAO()
+
+
+ + + + + + + + +
+Method Detail
+ +

+checkCredential

+
+public boolean checkCredential(ICredentials credential,
+                               IWorkspace workspace)
+                        throws RepositoryRuntimeException
+
+
Checks whether a user can login to this workspace. The + Credential must include the password. +

+

+
Specified by:
checkCredential in interface ICredentialDAO
+
+
+ +
Returns:
true if credential is found +
Throws: +
RepositoryRuntimeException
+
+
+
+ +

+checkCredential

+
+public boolean checkCredential(ICredentials credential)
+                        throws RepositoryRuntimeException
+
+
Checks whether a user can login to the repository. The + Credential must include the password. +

+

+
Specified by:
checkCredential in interface ICredentialDAO
+
+
+ +
Returns:
true if credential is found +
Throws: +
RepositoryRuntimeException
+
+
+
+ +

+checkCredentialInternal

+
+public boolean checkCredentialInternal(ICredentials credential,
+                                       IWorkspace workspace)
+                                throws RepositoryRuntimeException
+
+
Checks whether a user can login to the repository. The + Credential must include the password. + + If workspace defined then checks workspace, otherwise just checks password +

+

+
+
+
+ +
Throws: +
RepositoryRuntimeException
+
+
+
+ +

+insert

+
+public void insert(java.lang.Object object)
+
+
+
Specified by:
insert in interface ICredentialDAO
+
+
+
+
+
+
+ +

+update

+
+public void update(java.lang.Object object)
+
+
+
Specified by:
update in interface ICredentialDAO
+
+
+
+
+
+
+ +

+delete

+
+public void delete(java.lang.Object object)
+
+
+
Specified by:
delete in interface ICredentialDAO
+
+
+
+
+
+
+ +

+findByName

+
+public CrCredential findByName(java.lang.String name)
+
+
+
Specified by:
findByName in interface ICredentialDAO
+
+
+
+
+
+
+ +

+findAll

+
+public java.util.List findAll(java.lang.Class objClass)
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/hibernate/NodeDAO.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/hibernate/Attic/NodeDAO.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/hibernate/NodeDAO.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,392 @@ + + + + + + +NodeDAO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository.dao.hibernate +
+Class NodeDAO

+
+java.lang.Object
+  extended byorg.springframework.orm.hibernate.support.HibernateDaoSupport
+      extended bycom.lamsinternational.lams.contentrepository.dao.hibernate.NodeDAO
+
+
+
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, INodeDAO
+
+
+
+
public class NodeDAO
extends org.springframework.orm.hibernate.support.HibernateDaoSupport
implements INodeDAO
+ +

+Data access routines for Nodes +

+ +

+

+
Author:
+
Fiona Malikoff
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
NodeDAO() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voiddelete(java.lang.Object object) + +
+           
+ java.lang.Objectfind(java.lang.Class objClass, + java.io.Serializable id) + +
+          Finds an object.
+ java.util.ListfindAll(java.lang.Class objClass) + +
+           
+ java.util.ListfindAllNodesInWorkspace(java.lang.Long workspaceId) + +
+           
+ voidinsert(java.lang.Object object) + +
+           
+ voidupdate(java.lang.Object object) + +
+           
+ + + + + + + +
Methods inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport
afterPropertiesSet, getHibernateTemplate, getSessionFactory, setHibernateTemplate, setSessionFactory
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+NodeDAO

+
+public NodeDAO()
+
+
+ + + + + + + + +
+Method Detail
+ +

+find

+
+public java.lang.Object find(java.lang.Class objClass,
+                             java.io.Serializable id)
+
+
Description copied from interface: INodeDAO
+
Finds an object. Return null if not found (note: this + is not the standard behaviour for Spring and Hibernate combined.) +

+

+
Specified by:
find in interface INodeDAO
+
+
+
+
+
+
+ +

+insert

+
+public void insert(java.lang.Object object)
+
+
+
Specified by:
insert in interface INodeDAO
+
+
+
+
+
+
+ +

+update

+
+public void update(java.lang.Object object)
+
+
+
Specified by:
update in interface INodeDAO
+
+
+
+
+
+
+ +

+delete

+
+public void delete(java.lang.Object object)
+
+
+
Specified by:
delete in interface INodeDAO
+
+
+
+
+
+
+ +

+findAllNodesInWorkspace

+
+public java.util.List findAllNodesInWorkspace(java.lang.Long workspaceId)
+
+
+
Specified by:
findAllNodesInWorkspace in interface INodeDAO
+
+
+
+
+
+
+ +

+findAll

+
+public java.util.List findAll(java.lang.Class objClass)
+
+
+
Specified by:
findAll in interface INodeDAO
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/hibernate/WorkspaceDAO.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/hibernate/Attic/WorkspaceDAO.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/hibernate/WorkspaceDAO.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,421 @@ + + + + + + +WorkspaceDAO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository.dao.hibernate +
+Class WorkspaceDAO

+
+java.lang.Object
+  extended byorg.springframework.orm.hibernate.support.HibernateDaoSupport
+      extended bycom.lamsinternational.lams.contentrepository.dao.hibernate.WorkspaceDAO
+
+
+
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, IWorkspaceDAO
+
+
+
+
public class WorkspaceDAO
extends org.springframework.orm.hibernate.support.HibernateDaoSupport
implements IWorkspaceDAO
+ +

+Data access routines for Workspaces. +

+ +

+

+
Author:
+
Fiona Malikoff
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
WorkspaceDAO() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voiddelete(java.lang.Object object) + +
+           
+ java.lang.Objectfind(java.lang.Class objClass, + java.io.Serializable id) + +
+          Finds an object.
+ java.util.ListfindAll(java.lang.Class objClass) + +
+           
+ CrWorkspacefindByName(java.lang.String workspaceName) + +
+          Get a workspace.
+ voidflushSession() + +
+           
+ voidinsert(java.lang.Object object) + +
+           
+ voidupdate(java.lang.Object object) + +
+           
+ + + + + + + +
Methods inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport
afterPropertiesSet, getHibernateTemplate, getSessionFactory, setHibernateTemplate, setSessionFactory
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+WorkspaceDAO

+
+public WorkspaceDAO()
+
+
+ + + + + + + + +
+Method Detail
+ +

+findByName

+
+public CrWorkspace findByName(java.lang.String workspaceName)
+
+
Get a workspace. Credentials to be checked by calling code. +

+

+
Specified by:
findByName in interface IWorkspaceDAO
+
+
+
Parameters:
workspaceName - +
Returns:
first (and expected only) workspace with this name.
+
+
+
+ +

+find

+
+public java.lang.Object find(java.lang.Class objClass,
+                             java.io.Serializable id)
+
+
Description copied from interface: IWorkspaceDAO
+
Finds an object. Return null if not found (note: this + is not the standard behaviour for Spring and Hibernate combined.) +

+

+
Specified by:
find in interface IWorkspaceDAO
+
+
+
Parameters:
objClass -
id - +
Returns:
object built from database
+
+
+
+ +

+insert

+
+public void insert(java.lang.Object object)
+
+
+
Specified by:
insert in interface IWorkspaceDAO
+
+
+
+
+
+
+ +

+update

+
+public void update(java.lang.Object object)
+
+
+
Specified by:
update in interface IWorkspaceDAO
+
+
+
+
+
+
+ +

+delete

+
+public void delete(java.lang.Object object)
+
+
+
Specified by:
delete in interface IWorkspaceDAO
+
+
+
+
+
+
+ +

+findAll

+
+public java.util.List findAll(java.lang.Class objClass)
+
+
+
Specified by:
findAll in interface IWorkspaceDAO
+
+
+
+
+
+
+ +

+flushSession

+
+public void flushSession()
+                  throws RepositoryCheckedException
+
+
+
+
+
+ +
Throws: +
RepositoryCheckedException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/hibernate/package-frame.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/hibernate/Attic/package-frame.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/hibernate/package-frame.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,36 @@ + + + + + + +com.lamsinternational.lams.contentrepository.dao.hibernate + + + + + + + + + + + +com.lamsinternational.lams.contentrepository.dao.hibernate + + + + +
+Classes  + +
+CredentialDAO +
+NodeDAO +
+WorkspaceDAO
+ + + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/hibernate/package-summary.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/hibernate/Attic/package-summary.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/hibernate/package-summary.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,156 @@ + + + + + + +com.lamsinternational.lams.contentrepository.dao.hibernate + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.lamsinternational.lams.contentrepository.dao.hibernate +

+ + + + + + + + + + + + + + + + + +
+Class Summary
CredentialDAOImplements the credentials lookup using Hibernate.
NodeDAOData access routines for Nodes
WorkspaceDAOData access routines for Workspaces.
+  + +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/hibernate/package-tree.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/hibernate/Attic/package-tree.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/hibernate/package-tree.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,151 @@ + + + + + + +com.lamsinternational.lams.contentrepository.dao.hibernate Class Hierarchy + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.lamsinternational.lams.contentrepository.dao.hibernate +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/hibernate/package-use.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/hibernate/Attic/package-use.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/hibernate/package-use.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,136 @@ + + + + + + +Uses of Package com.lamsinternational.lams.contentrepository.dao.hibernate + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.lamsinternational.lams.contentrepository.dao.hibernate

+
+No usage of com.lamsinternational.lams.contentrepository.dao.hibernate +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/hibernate/class-use/CredentialDAO.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/hibernate/class-use/Attic/CredentialDAO.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/hibernate/class-use/CredentialDAO.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,136 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.dao.hibernate.CredentialDAO + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.dao.hibernate.CredentialDAO

+
+No usage of com.lamsinternational.lams.contentrepository.dao.hibernate.CredentialDAO +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/hibernate/class-use/NodeDAO.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/hibernate/class-use/Attic/NodeDAO.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/hibernate/class-use/NodeDAO.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,136 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.dao.hibernate.NodeDAO + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.dao.hibernate.NodeDAO

+
+No usage of com.lamsinternational.lams.contentrepository.dao.hibernate.NodeDAO +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/hibernate/class-use/WorkspaceDAO.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/hibernate/class-use/Attic/WorkspaceDAO.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/dao/hibernate/class-use/WorkspaceDAO.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,136 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.dao.hibernate.WorkspaceDAO + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.dao.hibernate.WorkspaceDAO

+
+No usage of com.lamsinternational.lams.contentrepository.dao.hibernate.WorkspaceDAO +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/AddFileContentAction.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/Attic/AddFileContentAction.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/AddFileContentAction.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,369 @@ + + + + + + +AddFileContentAction + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository.struts.action +
+Class AddFileContentAction

+
+java.lang.Object
+  extended byorg.apache.struts.action.Action
+      extended byorg.apache.struts.actions.DispatchAction
+          extended bycom.lamsinternational.lams.contentrepository.struts.action.RepositoryDispatchAction
+              extended bycom.lamsinternational.lams.contentrepository.struts.action.AddFileContentAction
+
+
+
+
public class AddFileContentAction
extends RepositoryDispatchAction
+ +

+MyEclipse Struts + Creation date: 11-30-2004 + + XDoclet definition: +

+ +

+


+ +

+ + + + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class com.lamsinternational.lams.contentrepository.struts.action.RepositoryDispatchAction
ERROR_PATH, LOGOUT_PATH, NODE_CACHE, NODE_MAP_NAME, SUCCESS_PATH, TICKET_NAME, UUID_NAME, VERSION_NAME
+ + + + + + + +
Fields inherited from class org.apache.struts.action.Action
ACTION_SERVLET_KEY, APPLICATION_KEY, DATA_SOURCE_KEY, ERROR_KEY, EXCEPTION_KEY, FORM_BEANS_KEY, FORWARDS_KEY, LOCALE_KEY, MAPPING_KEY, MAPPINGS_KEY, MESSAGE_KEY, MESSAGES_KEY, MULTIPART_KEY, PLUG_INS_KEY, REQUEST_PROCESSOR_KEY, SERVLET_KEY, TRANSACTION_TOKEN_KEY
+  + + + + + + + + + + +
+Constructor Summary
AddFileContentAction() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ org.apache.struts.action.ActionForwarduploadFile(org.apache.struts.action.ActionMapping mapping, + org.apache.struts.action.ActionForm form, + javax.servlet.http.HttpServletRequest request, + javax.servlet.http.HttpServletResponse response) + +
+          Uploads a single file.
+ org.apache.struts.action.ActionForwarduploadPackage(org.apache.struts.action.ActionMapping mapping, + org.apache.struts.action.ActionForm form, + javax.servlet.http.HttpServletRequest request, + javax.servlet.http.HttpServletResponse response) + +
+          Uploads a package
+ + + + + + + +
Methods inherited from class com.lamsinternational.lams.contentrepository.struts.action.RepositoryDispatchAction
logout
+ + + + + + + +
Methods inherited from class org.apache.struts.actions.DispatchAction
execute
+ + + + + + + +
Methods inherited from class org.apache.struts.action.Action
execute, getServlet, perform, perform, setServlet
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+AddFileContentAction

+
+public AddFileContentAction()
+
+
+ + + + + + + + +
+Method Detail
+ +

+uploadFile

+
+public org.apache.struts.action.ActionForward uploadFile(org.apache.struts.action.ActionMapping mapping,
+                                                         org.apache.struts.action.ActionForm form,
+                                                         javax.servlet.http.HttpServletRequest request,
+                                                         javax.servlet.http.HttpServletResponse response)
+                                                  throws FileException,
+                                                         AccessDeniedException,
+                                                         InvalidParameterException,
+                                                         ItemNotFoundException
+
+
Uploads a single file. +

+

+
Parameters:
mapping -
form -
request -
response - +
Returns:
ActionForward +
Throws: +
FileException +
AccessDeniedException +
InvalidParameterException +
ItemNotFoundException
+
+
+
+ +

+uploadPackage

+
+public org.apache.struts.action.ActionForward uploadPackage(org.apache.struts.action.ActionMapping mapping,
+                                                            org.apache.struts.action.ActionForm form,
+                                                            javax.servlet.http.HttpServletRequest request,
+                                                            javax.servlet.http.HttpServletResponse response)
+                                                     throws FileException,
+                                                            AccessDeniedException,
+                                                            InvalidParameterException,
+                                                            ItemNotFoundException
+
+
Uploads a package +

+

+
Parameters:
mapping -
form -
request -
response - +
Returns:
ActionForward +
Throws: +
FileException +
AccessDeniedException +
InvalidParameterException +
ItemNotFoundException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/LoginRepositoryAction.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/Attic/LoginRepositoryAction.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/LoginRepositoryAction.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,360 @@ + + + + + + +LoginRepositoryAction + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository.struts.action +
+Class LoginRepositoryAction

+
+java.lang.Object
+  extended byorg.apache.struts.action.Action
+      extended byorg.apache.struts.actions.DispatchAction
+          extended bycom.lamsinternational.lams.contentrepository.struts.action.RepositoryDispatchAction
+              extended bycom.lamsinternational.lams.contentrepository.struts.action.LoginRepositoryAction
+
+
+
+
public class LoginRepositoryAction
extends RepositoryDispatchAction
+ +

+MyEclipse Struts + Creation date: 01-13-2005 + + The exceptions will be handled by struts but are listed explicitly + here so (1) I can log them and (2) you can see what exceptions are thrown. + + XDoclet definition: +

+ +

+


+ +

+ + + + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class com.lamsinternational.lams.contentrepository.struts.action.RepositoryDispatchAction
ERROR_PATH, LOGOUT_PATH, NODE_CACHE, NODE_MAP_NAME, SUCCESS_PATH, TICKET_NAME, UUID_NAME, VERSION_NAME
+ + + + + + + +
Fields inherited from class org.apache.struts.action.Action
ACTION_SERVLET_KEY, APPLICATION_KEY, DATA_SOURCE_KEY, ERROR_KEY, EXCEPTION_KEY, FORM_BEANS_KEY, FORWARDS_KEY, LOCALE_KEY, MAPPING_KEY, MAPPINGS_KEY, MESSAGE_KEY, MESSAGES_KEY, MULTIPART_KEY, PLUG_INS_KEY, REQUEST_PROCESSOR_KEY, SERVLET_KEY, TRANSACTION_TOKEN_KEY
+  + + + + + + + + + + +
+Constructor Summary
LoginRepositoryAction() + +
+           
+  + + + + + + + + + + + + + + + +
+Method Summary
+ org.apache.struts.action.ActionForwardcreateNewWorkspace(org.apache.struts.action.ActionMapping mapping, + org.apache.struts.action.ActionForm form, + javax.servlet.http.HttpServletRequest request, + javax.servlet.http.HttpServletResponse response) + +
+          Create and login to a new workspace
+ org.apache.struts.action.ActionForwardloginToWorkspace(org.apache.struts.action.ActionMapping mapping, + org.apache.struts.action.ActionForm form, + javax.servlet.http.HttpServletRequest request, + javax.servlet.http.HttpServletResponse response) + +
+          Login to the repository
+ + + + + + + +
Methods inherited from class com.lamsinternational.lams.contentrepository.struts.action.RepositoryDispatchAction
logout
+ + + + + + + +
Methods inherited from class org.apache.struts.actions.DispatchAction
execute
+ + + + + + + +
Methods inherited from class org.apache.struts.action.Action
execute, getServlet, perform, perform, setServlet
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+LoginRepositoryAction

+
+public LoginRepositoryAction()
+
+
+ + + + + + + + +
+Method Detail
+ +

+loginToWorkspace

+
+public org.apache.struts.action.ActionForward loginToWorkspace(org.apache.struts.action.ActionMapping mapping,
+                                                               org.apache.struts.action.ActionForm form,
+                                                               javax.servlet.http.HttpServletRequest request,
+                                                               javax.servlet.http.HttpServletResponse response)
+                                                        throws RepositoryCheckedException
+
+
Login to the repository +

+

+
Parameters:
mapping -
form -
request -
response - +
Returns:
ActionForward +
Throws: +
RepositoryCheckedException
+
+
+
+ +

+createNewWorkspace

+
+public org.apache.struts.action.ActionForward createNewWorkspace(org.apache.struts.action.ActionMapping mapping,
+                                                                 org.apache.struts.action.ActionForm form,
+                                                                 javax.servlet.http.HttpServletRequest request,
+                                                                 javax.servlet.http.HttpServletResponse response)
+                                                          throws RepositoryCheckedException
+
+
Create and login to a new workspace +

+

+
Parameters:
mapping -
form -
request -
response - +
Returns:
ActionForward +
Throws: +
RepositoryCheckedException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/NodeSelectionAction.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/Attic/NodeSelectionAction.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/NodeSelectionAction.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,403 @@ + + + + + + +NodeSelectionAction + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository.struts.action +
+Class NodeSelectionAction

+
+java.lang.Object
+  extended byorg.apache.struts.action.Action
+      extended byorg.apache.struts.actions.DispatchAction
+          extended bycom.lamsinternational.lams.contentrepository.struts.action.RepositoryDispatchAction
+              extended bycom.lamsinternational.lams.contentrepository.struts.action.NodeSelectionAction
+
+
+
+
public class NodeSelectionAction
extends RepositoryDispatchAction
+ +

+MyEclipse Struts + Creation date: 01-13-2005 + + The exceptions will be handled by struts but are listed explicitly + here so (1) I can log them and (2) you can see what exceptions are thrown. + + XDoclet definition: +

+ +

+


+ +

+ + + + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class com.lamsinternational.lams.contentrepository.struts.action.RepositoryDispatchAction
ERROR_PATH, LOGOUT_PATH, NODE_CACHE, NODE_MAP_NAME, SUCCESS_PATH, TICKET_NAME, UUID_NAME, VERSION_NAME
+ + + + + + + +
Fields inherited from class org.apache.struts.action.Action
ACTION_SERVLET_KEY, APPLICATION_KEY, DATA_SOURCE_KEY, ERROR_KEY, EXCEPTION_KEY, FORM_BEANS_KEY, FORWARDS_KEY, LOCALE_KEY, MAPPING_KEY, MAPPINGS_KEY, MESSAGE_KEY, MESSAGES_KEY, MULTIPART_KEY, PLUG_INS_KEY, REQUEST_PROCESSOR_KEY, SERVLET_KEY, TRANSACTION_TOKEN_KEY
+  + + + + + + + + + + +
+Constructor Summary
NodeSelectionAction() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ org.apache.struts.action.ActionForwarddeleteNode(org.apache.struts.action.ActionMapping mapping, + org.apache.struts.action.ActionForm form, + javax.servlet.http.HttpServletRequest request, + javax.servlet.http.HttpServletResponse response) + +
+          Delete a version of a node, or the whole node.
+ org.apache.struts.action.ActionForwardgetList(org.apache.struts.action.ActionMapping mapping, + org.apache.struts.action.ActionForm form, + javax.servlet.http.HttpServletRequest request, + javax.servlet.http.HttpServletResponse response) + +
+          Get the list of nodes in the workspace.
+ org.apache.struts.action.ActionForwardgetNode(org.apache.struts.action.ActionMapping mapping, + org.apache.struts.action.ActionForm form, + javax.servlet.http.HttpServletRequest request, + javax.servlet.http.HttpServletResponse response) + +
+          Get the file specified by this node.
+ + + + + + + +
Methods inherited from class com.lamsinternational.lams.contentrepository.struts.action.RepositoryDispatchAction
logout
+ + + + + + + +
Methods inherited from class org.apache.struts.actions.DispatchAction
execute
+ + + + + + + +
Methods inherited from class org.apache.struts.action.Action
execute, getServlet, perform, perform, setServlet
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+NodeSelectionAction

+
+public NodeSelectionAction()
+
+
+ + + + + + + + +
+Method Detail
+ +

+getList

+
+public org.apache.struts.action.ActionForward getList(org.apache.struts.action.ActionMapping mapping,
+                                                      org.apache.struts.action.ActionForm form,
+                                                      javax.servlet.http.HttpServletRequest request,
+                                                      javax.servlet.http.HttpServletResponse response)
+                                               throws AccessDeniedException
+
+
Get the list of nodes in the workspace. Displays the node list + screen. +

+

+
Parameters:
mapping -
form -
request -
response - +
Returns:
ActionForward +
Throws: +
AccessDeniedException
+
+
+
+ +

+getNode

+
+public org.apache.struts.action.ActionForward getNode(org.apache.struts.action.ActionMapping mapping,
+                                                      org.apache.struts.action.ActionForm form,
+                                                      javax.servlet.http.HttpServletRequest request,
+                                                      javax.servlet.http.HttpServletResponse response)
+                                               throws RepositoryCheckedException,
+                                                      java.io.IOException,
+                                                      java.lang.Exception
+
+
Get the file specified by this node. Replaces the + normal forward with a "redirect" to the filestream + from the repository +

+

+
Parameters:
mapping -
form -
request -
response - +
Returns:
ActionForward +
Throws: +
RepositoryCheckedException +
java.io.IOException +
java.lang.Exception
+
+
+
+ +

+deleteNode

+
+public org.apache.struts.action.ActionForward deleteNode(org.apache.struts.action.ActionMapping mapping,
+                                                         org.apache.struts.action.ActionForm form,
+                                                         javax.servlet.http.HttpServletRequest request,
+                                                         javax.servlet.http.HttpServletResponse response)
+                                                  throws ItemNotFoundException,
+                                                         InvalidParameterException,
+                                                         AccessDeniedException
+
+
Delete a version of a node, or the whole node. +

+

+
Parameters:
mapping -
form -
request -
response - +
Returns:
ActionForward +
Throws: +
ItemNotFoundException +
InvalidParameterException +
AccessDeniedException +
java.lang.Exception
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/RepositoryDispatchAction.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/Attic/RepositoryDispatchAction.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/RepositoryDispatchAction.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,458 @@ + + + + + + +RepositoryDispatchAction + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository.struts.action +
+Class RepositoryDispatchAction

+
+java.lang.Object
+  extended byorg.apache.struts.action.Action
+      extended byorg.apache.struts.actions.DispatchAction
+          extended bycom.lamsinternational.lams.contentrepository.struts.action.RepositoryDispatchAction
+
+
+
Direct Known Subclasses:
AddFileContentAction, LoginRepositoryAction, NodeSelectionAction
+
+
+
+
public class RepositoryDispatchAction
extends org.apache.struts.actions.DispatchAction
+ +

+Base class for the dispatch actions used in the repository tests. + Shares functionality such as checking ticket. +

+ +

+


+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static java.lang.StringERROR_PATH + +
+           
+static java.lang.StringLOGOUT_PATH + +
+           
+static java.lang.StringNODE_CACHE + +
+           
+static java.lang.StringNODE_MAP_NAME + +
+           
+static java.lang.StringSUCCESS_PATH + +
+           
+static java.lang.StringTICKET_NAME + +
+           
+static java.lang.StringUUID_NAME + +
+           
+static java.lang.StringVERSION_NAME + +
+           
+ + + + + + + +
Fields inherited from class org.apache.struts.action.Action
ACTION_SERVLET_KEY, APPLICATION_KEY, DATA_SOURCE_KEY, ERROR_KEY, EXCEPTION_KEY, FORM_BEANS_KEY, FORWARDS_KEY, LOCALE_KEY, MAPPING_KEY, MAPPINGS_KEY, MESSAGE_KEY, MESSAGES_KEY, MULTIPART_KEY, PLUG_INS_KEY, REQUEST_PROCESSOR_KEY, SERVLET_KEY, TRANSACTION_TOKEN_KEY
+  + + + + + + + + + + +
+Constructor Summary
RepositoryDispatchAction() + +
+           
+  + + + + + + + + + + + +
+Method Summary
+ org.apache.struts.action.ActionForwardlogout(org.apache.struts.action.ActionMapping mapping, + org.apache.struts.action.ActionForm form, + javax.servlet.http.HttpServletRequest request, + javax.servlet.http.HttpServletResponse response) + +
+          Logout of the workspace.
+ + + + + + + +
Methods inherited from class org.apache.struts.actions.DispatchAction
execute
+ + + + + + + +
Methods inherited from class org.apache.struts.action.Action
execute, getServlet, perform, perform, setServlet
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Field Detail
+ +

+TICKET_NAME

+
+public static final java.lang.String TICKET_NAME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NODE_MAP_NAME

+
+public static final java.lang.String NODE_MAP_NAME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+UUID_NAME

+
+public static final java.lang.String UUID_NAME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+VERSION_NAME

+
+public static final java.lang.String VERSION_NAME
+
+
+
See Also:
Constant Field Values
+
+
+ +

+SUCCESS_PATH

+
+public static final java.lang.String SUCCESS_PATH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+ERROR_PATH

+
+public static final java.lang.String ERROR_PATH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+LOGOUT_PATH

+
+public static final java.lang.String LOGOUT_PATH
+
+
+
See Also:
Constant Field Values
+
+
+ +

+NODE_CACHE

+
+public static final java.lang.String NODE_CACHE
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+RepositoryDispatchAction

+
+public RepositoryDispatchAction()
+
+
+ + + + + + + + +
+Method Detail
+ +

+logout

+
+public org.apache.struts.action.ActionForward logout(org.apache.struts.action.ActionMapping mapping,
+                                                     org.apache.struts.action.ActionForm form,
+                                                     javax.servlet.http.HttpServletRequest request,
+                                                     javax.servlet.http.HttpServletResponse response)
+                                              throws RepositoryCheckedException
+
+
Logout of the workspace. Doesn't need a form. +

+

+
Parameters:
mapping -
form -
request -
response - +
Returns:
ActionForward +
Throws: +
RepositoryCheckedException
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/package-frame.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/Attic/package-frame.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/package-frame.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,38 @@ + + + + + + +com.lamsinternational.lams.contentrepository.struts.action + + + + + + + + + + + +com.lamsinternational.lams.contentrepository.struts.action + + + + +
+Classes  + +
+AddFileContentAction +
+LoginRepositoryAction +
+NodeSelectionAction +
+RepositoryDispatchAction
+ + + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/package-summary.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/Attic/package-summary.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/package-summary.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,171 @@ + + + + + + +com.lamsinternational.lams.contentrepository.struts.action + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.lamsinternational.lams.contentrepository.struts.action +

+ + + + + + + + + + + + + + + + + + + + + +
+Class Summary
AddFileContentActionMyEclipse Struts + Creation date: 11-30-2004 + + XDoclet definition:
LoginRepositoryActionMyEclipse Struts + Creation date: 01-13-2005 + + The exceptions will be handled by struts but are listed explicitly + here so (1) I can log them and (2) you can see what exceptions are thrown.
NodeSelectionActionMyEclipse Struts + Creation date: 01-13-2005 + + The exceptions will be handled by struts but are listed explicitly + here so (1) I can log them and (2) you can see what exceptions are thrown.
RepositoryDispatchActionBase class for the dispatch actions used in the repository tests.
+  + +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/package-tree.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/Attic/package-tree.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/package-tree.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,151 @@ + + + + + + +com.lamsinternational.lams.contentrepository.struts.action Class Hierarchy + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.lamsinternational.lams.contentrepository.struts.action +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/package-use.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/Attic/package-use.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/package-use.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,162 @@ + + + + + + +Uses of Package com.lamsinternational.lams.contentrepository.struts.action + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.lamsinternational.lams.contentrepository.struts.action

+
+ + + + + + + + + +
+Packages that use com.lamsinternational.lams.contentrepository.struts.action
com.lamsinternational.lams.contentrepository.struts.action  
+  +

+ + + + + + + + +
+Classes in com.lamsinternational.lams.contentrepository.struts.action used by com.lamsinternational.lams.contentrepository.struts.action
RepositoryDispatchAction + +
+          Base class for the dispatch actions used in the repository tests.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/class-use/AddFileContentAction.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/class-use/Attic/AddFileContentAction.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/class-use/AddFileContentAction.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,136 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.struts.action.AddFileContentAction + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.struts.action.AddFileContentAction

+
+No usage of com.lamsinternational.lams.contentrepository.struts.action.AddFileContentAction +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/class-use/LoginRepositoryAction.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/class-use/Attic/LoginRepositoryAction.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/class-use/LoginRepositoryAction.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,136 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.struts.action.LoginRepositoryAction + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.struts.action.LoginRepositoryAction

+
+No usage of com.lamsinternational.lams.contentrepository.struts.action.LoginRepositoryAction +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/class-use/NodeSelectionAction.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/class-use/Attic/NodeSelectionAction.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/class-use/NodeSelectionAction.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,136 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.struts.action.NodeSelectionAction + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.struts.action.NodeSelectionAction

+
+No usage of com.lamsinternational.lams.contentrepository.struts.action.NodeSelectionAction +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/class-use/RepositoryDispatchAction.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/class-use/Attic/RepositoryDispatchAction.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/action/class-use/RepositoryDispatchAction.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,199 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.struts.action.RepositoryDispatchAction + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.struts.action.RepositoryDispatchAction

+
+ + + + + + + + + +
+Packages that use RepositoryDispatchAction
com.lamsinternational.lams.contentrepository.struts.action  
+  +

+ + + + + +
+Uses of RepositoryDispatchAction in com.lamsinternational.lams.contentrepository.struts.action
+  +

+ + + + + + + + + + + + + + + + + +
Subclasses of RepositoryDispatchAction in com.lamsinternational.lams.contentrepository.struts.action
+ classAddFileContentAction + +
+          MyEclipse Struts + Creation date: 11-30-2004 + + XDoclet definition:
+ classLoginRepositoryAction + +
+          MyEclipse Struts + Creation date: 01-13-2005 + + The exceptions will be handled by struts but are listed explicitly + here so (1) I can log them and (2) you can see what exceptions are thrown.
+ classNodeSelectionAction + +
+          MyEclipse Struts + Creation date: 01-13-2005 + + The exceptions will be handled by struts but are listed explicitly + here so (1) I can log them and (2) you can see what exceptions are thrown.
+  +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/form/AddFileContentForm.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/form/Attic/AddFileContentForm.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/form/AddFileContentForm.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,540 @@ + + + + + + +AddFileContentForm + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository.struts.form +
+Class AddFileContentForm

+
+java.lang.Object
+  extended byorg.apache.struts.action.ActionForm
+      extended bycom.lamsinternational.lams.contentrepository.struts.form.AddFileContentForm
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class AddFileContentForm
extends org.apache.struts.action.ActionForm
+ +

+MyEclipse Struts + Creation date: 11-30-2004 + + XDoclet definition: +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
AddFileContentForm() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetDescription() + +
+           
+ java.lang.StringgetDirName() + +
+           
+ java.lang.StringgetEntryString() + +
+           
+ java.lang.StringgetMethod() + +
+           
+ org.apache.struts.upload.FormFilegetTheFile() + +
+          Returns the theFile.
+ java.lang.LonggetUuid() + +
+           
+ voidreset(org.apache.struts.action.ActionMapping mapping, + javax.servlet.http.HttpServletRequest request) + +
+          Method reset
+ voidsetDescription(java.lang.String description) + +
+           
+ voidsetDirName(java.lang.String dirName) + +
+           
+ voidsetEntryString(java.lang.String entryString) + +
+           
+ voidsetMethod(java.lang.String method) + +
+           
+ voidsetTheFile(org.apache.struts.upload.FormFile theFile) + +
+          Set the theFile.
+ voidsetUuid(java.lang.Long uuid) + +
+           
+ org.apache.struts.action.ActionErrorsvalidate(org.apache.struts.action.ActionMapping mapping, + javax.servlet.http.HttpServletRequest request) + +
+          Method validate
+ + + + + + + +
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+AddFileContentForm

+
+public AddFileContentForm()
+
+
+ + + + + + + + +
+Method Detail
+ +

+validate

+
+public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
+                                                      javax.servlet.http.HttpServletRequest request)
+
+
Method validate +

+

+
Parameters:
mapping -
request - +
Returns:
ActionErrors
+
+
+
+ +

+reset

+
+public void reset(org.apache.struts.action.ActionMapping mapping,
+                  javax.servlet.http.HttpServletRequest request)
+
+
Method reset +

+

+
Parameters:
mapping -
request -
+
+
+
+ +

+getTheFile

+
+public org.apache.struts.upload.FormFile getTheFile()
+
+
Returns the theFile. +

+

+ +
Returns:
FormFile
+
+
+
+ +

+setTheFile

+
+public void setTheFile(org.apache.struts.upload.FormFile theFile)
+
+
Set the theFile. +

+

+
Parameters:
theFile - The theFile to set
+
+
+
+ +

+getDirName

+
+public java.lang.String getDirName()
+
+
+ +
Returns:
Returns dirName
+
+
+
+ +

+setDirName

+
+public void setDirName(java.lang.String dirName)
+
+
+
Parameters:
dirName - Sets dirName
+
+
+
+ +

+getUuid

+
+public java.lang.Long getUuid()
+
+
+ +
Returns:
Returns the uuid.
+
+
+
+ +

+setUuid

+
+public void setUuid(java.lang.Long uuid)
+
+
+
Parameters:
uuid - The uuid to set.
+
+
+
+ +

+getEntryString

+
+public java.lang.String getEntryString()
+
+
+ +
Returns:
Returns the entryString.
+
+
+
+ +

+setEntryString

+
+public void setEntryString(java.lang.String entryString)
+
+
+
Parameters:
entryString - The entryString to set.
+
+
+
+ +

+getMethod

+
+public java.lang.String getMethod()
+
+
+ +
Returns:
Returns the method.
+
+
+
+ +

+setMethod

+
+public void setMethod(java.lang.String method)
+
+
+
Parameters:
method - The method to set.
+
+
+
+ +

+getDescription

+
+public java.lang.String getDescription()
+
+
+ +
Returns:
Returns the description.
+
+
+
+ +

+setDescription

+
+public void setDescription(java.lang.String description)
+
+
+
Parameters:
description - The description to set.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/form/LoginRepositoryForm.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/form/Attic/LoginRepositoryForm.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/form/LoginRepositoryForm.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,431 @@ + + + + + + +LoginRepositoryForm + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository.struts.form +
+Class LoginRepositoryForm

+
+java.lang.Object
+  extended byorg.apache.struts.action.ActionForm
+      extended bycom.lamsinternational.lams.contentrepository.struts.form.LoginRepositoryForm
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class LoginRepositoryForm
extends org.apache.struts.action.ActionForm
+ +

+MyEclipse Struts + Creation date: 01-13-2005 + + XDoclet definition: +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
LoginRepositoryForm() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.StringgetIndentificationString() + +
+          Returns the indentificationString.
+ java.lang.StringgetToolName() + +
+          Returns the toolName.
+ java.lang.StringgetWorkspaceName() + +
+          Returns the workspaceName.
+ voidreset(org.apache.struts.action.ActionMapping mapping, + javax.servlet.http.HttpServletRequest request) + +
+          Method reset
+ voidsetIndentificationString(java.lang.String indentificationString) + +
+          Set the indentificationString.
+ voidsetToolName(java.lang.String toolName) + +
+          Set the toolName.
+ voidsetWorkspaceName(java.lang.String workspaceName) + +
+          Set the workspaceName.
+ org.apache.struts.action.ActionErrorsvalidate(org.apache.struts.action.ActionMapping mapping, + javax.servlet.http.HttpServletRequest request) + +
+          Method validate
+ + + + + + + +
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+LoginRepositoryForm

+
+public LoginRepositoryForm()
+
+
+ + + + + + + + +
+Method Detail
+ +

+validate

+
+public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
+                                                      javax.servlet.http.HttpServletRequest request)
+
+
Method validate +

+

+
Parameters:
mapping -
request - +
Returns:
ActionErrors
+
+
+
+ +

+reset

+
+public void reset(org.apache.struts.action.ActionMapping mapping,
+                  javax.servlet.http.HttpServletRequest request)
+
+
Method reset +

+

+
Parameters:
mapping -
request -
+
+
+
+ +

+getToolName

+
+public java.lang.String getToolName()
+
+
Returns the toolName. +

+

+ +
Returns:
String
+
+
+
+ +

+setToolName

+
+public void setToolName(java.lang.String toolName)
+
+
Set the toolName. +

+

+
Parameters:
toolName - The toolName to set
+
+
+
+ +

+getWorkspaceName

+
+public java.lang.String getWorkspaceName()
+
+
Returns the workspaceName. +

+

+ +
Returns:
String
+
+
+
+ +

+setWorkspaceName

+
+public void setWorkspaceName(java.lang.String workspaceName)
+
+
Set the workspaceName. +

+

+
Parameters:
workspaceName - The workspaceName to set
+
+
+
+ +

+getIndentificationString

+
+public java.lang.String getIndentificationString()
+
+
Returns the indentificationString. +

+

+ +
Returns:
String
+
+
+
+ +

+setIndentificationString

+
+public void setIndentificationString(java.lang.String indentificationString)
+
+
Set the indentificationString. +

+

+
Parameters:
indentificationString - The indentificationString to set
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/form/NodeSelectionForm.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/form/Attic/NodeSelectionForm.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/form/NodeSelectionForm.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,340 @@ + + + + + + +NodeSelectionForm + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +com.lamsinternational.lams.contentrepository.struts.form +
+Class NodeSelectionForm

+
+java.lang.Object
+  extended byorg.apache.struts.action.ActionForm
+      extended bycom.lamsinternational.lams.contentrepository.struts.form.NodeSelectionForm
+
+
+
All Implemented Interfaces:
java.io.Serializable
+
+
+
+
public class NodeSelectionForm
extends org.apache.struts.action.ActionForm
+ +

+Didn't want to create this class, but I keep getting "Cannot retrieve definition for form bean null" + exception so it was just easier to write it and ignore it... + XDoclet definition: +

+ +

+

+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
NodeSelectionForm() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.util.MapgetNodeMap() + +
+           
+ voidreset(org.apache.struts.action.ActionMapping mapping, + javax.servlet.http.HttpServletRequest request) + +
+          Method reset
+ voidsetNodeMap(java.util.Map nodeMap) + +
+           
+ org.apache.struts.action.ActionErrorsvalidate(org.apache.struts.action.ActionMapping mapping, + javax.servlet.http.HttpServletRequest request) + +
+          Method validate
+ + + + + + + +
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+NodeSelectionForm

+
+public NodeSelectionForm()
+
+
+ + + + + + + + +
+Method Detail
+ +

+validate

+
+public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
+                                                      javax.servlet.http.HttpServletRequest request)
+
+
Method validate +

+

+
Parameters:
mapping -
request - +
Returns:
ActionErrors
+
+
+
+ +

+reset

+
+public void reset(org.apache.struts.action.ActionMapping mapping,
+                  javax.servlet.http.HttpServletRequest request)
+
+
Method reset +

+

+
Parameters:
mapping -
request -
+
+
+
+ +

+getNodeMap

+
+public java.util.Map getNodeMap()
+
+
+ +
Returns:
Returns the nodeMap.
+
+
+
+ +

+setNodeMap

+
+public void setNodeMap(java.util.Map nodeMap)
+
+
+
Parameters:
nodeMap - The nodeMap to set.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/form/package-frame.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/form/Attic/package-frame.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/form/package-frame.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,36 @@ + + + + + + +com.lamsinternational.lams.contentrepository.struts.form + + + + + + + + + + + +com.lamsinternational.lams.contentrepository.struts.form + + + + +
+Classes  + +
+AddFileContentForm +
+LoginRepositoryForm +
+NodeSelectionForm
+ + + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/form/package-summary.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/form/Attic/package-summary.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/form/package-summary.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,163 @@ + + + + + + +com.lamsinternational.lams.contentrepository.struts.form + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+

+Package com.lamsinternational.lams.contentrepository.struts.form +

+ + + + + + + + + + + + + + + + + +
+Class Summary
AddFileContentFormMyEclipse Struts + Creation date: 11-30-2004 + + XDoclet definition:
LoginRepositoryFormMyEclipse Struts + Creation date: 01-13-2005 + + XDoclet definition:
NodeSelectionFormDidn't want to create this class, but I keep getting "Cannot retrieve definition for form bean null" + exception so it was just easier to write it and ignore it...
+  + +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/form/package-tree.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/form/Attic/package-tree.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/form/package-tree.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,148 @@ + + + + + + +com.lamsinternational.lams.contentrepository.struts.form Class Hierarchy + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Hierarchy For Package com.lamsinternational.lams.contentrepository.struts.form +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/form/package-use.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/form/Attic/package-use.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/form/package-use.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,136 @@ + + + + + + +Uses of Package com.lamsinternational.lams.contentrepository.struts.form + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Package
com.lamsinternational.lams.contentrepository.struts.form

+
+No usage of com.lamsinternational.lams.contentrepository.struts.form +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/form/class-use/AddFileContentForm.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/form/class-use/Attic/AddFileContentForm.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/form/class-use/AddFileContentForm.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,136 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.struts.form.AddFileContentForm + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.struts.form.AddFileContentForm

+
+No usage of com.lamsinternational.lams.contentrepository.struts.form.AddFileContentForm +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/form/class-use/LoginRepositoryForm.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/form/class-use/Attic/LoginRepositoryForm.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/form/class-use/LoginRepositoryForm.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,136 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.struts.form.LoginRepositoryForm + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.struts.form.LoginRepositoryForm

+
+No usage of com.lamsinternational.lams.contentrepository.struts.form.LoginRepositoryForm +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/form/class-use/NodeSelectionForm.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/form/class-use/Attic/NodeSelectionForm.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/com/lamsinternational/lams/contentrepository/struts/form/class-use/NodeSelectionForm.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,136 @@ + + + + + + +Uses of Class com.lamsinternational.lams.contentrepository.struts.form.NodeSelectionForm + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+
+

+Uses of Class
com.lamsinternational.lams.contentrepository.struts.form.NodeSelectionForm

+
+No usage of com.lamsinternational.lams.contentrepository.struts.form.NodeSelectionForm +

+


+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/index-files/index-1.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/index-files/index-1.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/index-files/index-1.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,188 @@ + + + + + + +A-Index + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+

+A

+
+
AccessDeniedException - exception com.lamsinternational.lams.contentrepository.AccessDeniedException.
The current ticket doesn't have sufficient rights for the requested action.
AccessDeniedException() - +Constructor for class com.lamsinternational.lams.contentrepository.AccessDeniedException +
Constructs a new instance of this class. +
AccessDeniedException(String) - +Constructor for class com.lamsinternational.lams.contentrepository.AccessDeniedException +
Constructs a new instance of this class given a message describing the + failure cause. +
AccessDeniedException(String, Throwable) - +Constructor for class com.lamsinternational.lams.contentrepository.AccessDeniedException +
Constructs a new instance of this class given a message describing the + failure and a root throwable. +
AccessDeniedException(Throwable) - +Constructor for class com.lamsinternational.lams.contentrepository.AccessDeniedException +
Constructs a new instance of this class given a root throwable. +
AddFileContentAction - class com.lamsinternational.lams.contentrepository.struts.action.AddFileContentAction.
MyEclipse Struts + Creation date: 11-30-2004 + + XDoclet definition:
AddFileContentAction() - +Constructor for class com.lamsinternational.lams.contentrepository.struts.action.AddFileContentAction +
  +
AddFileContentForm - class com.lamsinternational.lams.contentrepository.struts.form.AddFileContentForm.
MyEclipse Struts + Creation date: 11-30-2004 + + XDoclet definition:
AddFileContentForm() - +Constructor for class com.lamsinternational.lams.contentrepository.struts.form.AddFileContentForm +
  +
addChildNodeVersion(CrNodeVersion) - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersion +
Add a child node to the childNodeVersions collection. +
addFileItem(ITicket, InputStream, String, String, String) - +Method in interface com.lamsinternational.lams.contentrepository.IRepository +
Add a new file to the repository. +
addFileItem(ITicket, InputStream, String, String, String) - +Method in class com.lamsinternational.lams.contentrepository.SimpleRepository +
  +
addPackageItem(ITicket, String, String, String) - +Method in interface com.lamsinternational.lams.contentrepository.IRepository +
Add a new package of files to the repository. +
addPackageItem(ITicket, String, String, String) - +Method in class com.lamsinternational.lams.contentrepository.SimpleRepository +
  +
addWorkspace(ICredentials, String) - +Method in interface com.lamsinternational.lams.contentrepository.IRepository +
Create a new workspace, with the tool identified in the creditials + as the owner. +
addWorkspace(ICredentials, String) - +Method in class com.lamsinternational.lams.contentrepository.SimpleRepository +
Add a workspace, giving the credentials as the user of this workspace. +
assignCredentials(ICredentials, String) - +Method in interface com.lamsinternational.lams.contentrepository.IRepositoryAdmin +
  +
assignCredentials(ICredentials, String) - +Method in class com.lamsinternational.lams.contentrepository.SimpleRepository +
Assign credentials to a workspace. +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+ + + Index: lams_contentrepository/doc/index-files/index-10.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/index-files/index-10.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/index-files/index-10.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,186 @@ + + + + + + +L-Index + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+

+L

+
+
LOGOUT_PATH - +Static variable in class com.lamsinternational.lams.contentrepository.struts.action.RepositoryDispatchAction +
  +
LONG - +Static variable in class com.lamsinternational.lams.contentrepository.PropertyType +
Long property type +
LoginException - exception com.lamsinternational.lams.contentrepository.LoginException.
Login failed.
LoginException() - +Constructor for class com.lamsinternational.lams.contentrepository.LoginException +
Constructs a new instance of this class. +
LoginException(String) - +Constructor for class com.lamsinternational.lams.contentrepository.LoginException +
Constructs a new instance of this class given a message describing the + failure cause. +
LoginException(String, Throwable) - +Constructor for class com.lamsinternational.lams.contentrepository.LoginException +
Constructs a new instance of this class given a message describing the + failure and a root throwable. +
LoginException(Throwable) - +Constructor for class com.lamsinternational.lams.contentrepository.LoginException +
Constructs a new instance of this class given a root throwable. +
LoginRepositoryAction - class com.lamsinternational.lams.contentrepository.struts.action.LoginRepositoryAction.
MyEclipse Struts + Creation date: 01-13-2005 + + The exceptions will be handled by struts but are listed explicitly + here so (1) I can log them and (2) you can see what exceptions are thrown.
LoginRepositoryAction() - +Constructor for class com.lamsinternational.lams.contentrepository.struts.action.LoginRepositoryAction +
  +
LoginRepositoryForm - class com.lamsinternational.lams.contentrepository.struts.form.LoginRepositoryForm.
MyEclipse Struts + Creation date: 01-13-2005 + + XDoclet definition:
LoginRepositoryForm() - +Constructor for class com.lamsinternational.lams.contentrepository.struts.form.LoginRepositoryForm +
  +
login(ICredentials, String) - +Method in interface com.lamsinternational.lams.contentrepository.IRepository +
Login, creating a new ticket for the given credentials and specified + workspace. +
login(ICredentials, String) - +Method in class com.lamsinternational.lams.contentrepository.SimpleRepository +
  +
loginToWorkspace(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - +Method in class com.lamsinternational.lams.contentrepository.struts.action.LoginRepositoryAction +
Login to the repository +
logout(ITicket) - +Method in interface com.lamsinternational.lams.contentrepository.IRepository +
Finish using this ticket. +
logout(ITicket) - +Method in class com.lamsinternational.lams.contentrepository.SimpleRepository +
  +
logout(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - +Method in class com.lamsinternational.lams.contentrepository.struts.action.RepositoryDispatchAction +
Logout of the workspace. +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+ + + Index: lams_contentrepository/doc/index-files/index-11.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/index-files/index-11.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/index-files/index-11.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,137 @@ + + + + + + +M-Index + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+

+M

+
+
MIMETYPE - +Static variable in class com.lamsinternational.lams.contentrepository.PropertyName +
MIMETYPE is required for a file node - it is set by the call to add the file stream. +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+ + + Index: lams_contentrepository/doc/index-files/index-12.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/index-files/index-12.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/index-files/index-12.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,177 @@ + + + + + + +N-Index + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+

+N

+
+
NODE_CACHE - +Static variable in class com.lamsinternational.lams.contentrepository.struts.action.RepositoryDispatchAction +
  +
NODE_MAP_NAME - +Static variable in class com.lamsinternational.lams.contentrepository.struts.action.RepositoryDispatchAction +
  +
NoSuchNodeTypeException - exception com.lamsinternational.lams.contentrepository.NoSuchNodeTypeException.
Tried to create a node with an unknown type.
NoSuchNodeTypeException() - +Constructor for class com.lamsinternational.lams.contentrepository.NoSuchNodeTypeException +
Constructs a new instance of this class. +
NoSuchNodeTypeException(String) - +Constructor for class com.lamsinternational.lams.contentrepository.NoSuchNodeTypeException +
Constructs a new instance of this class given a message describing the + failure cause. +
NoSuchNodeTypeException(String, Throwable) - +Constructor for class com.lamsinternational.lams.contentrepository.NoSuchNodeTypeException +
Constructs a new instance of this class given a message describing the + failure and a root throwable. +
NoSuchNodeTypeException(Throwable) - +Constructor for class com.lamsinternational.lams.contentrepository.NoSuchNodeTypeException +
Constructs a new instance of this class given a root throwable. +
NodeDAO - class com.lamsinternational.lams.contentrepository.dao.hibernate.NodeDAO.
Data access routines for Nodes
NodeDAO() - +Constructor for class com.lamsinternational.lams.contentrepository.dao.hibernate.NodeDAO +
  +
NodeKey - class com.lamsinternational.lams.contentrepository.NodeKey.
Represents the two part key - UUID and version.
NodeKey(Long, Long) - +Constructor for class com.lamsinternational.lams.contentrepository.NodeKey +
  +
NodeSelectionAction - class com.lamsinternational.lams.contentrepository.struts.action.NodeSelectionAction.
MyEclipse Struts + Creation date: 01-13-2005 + + The exceptions will be handled by struts but are listed explicitly + here so (1) I can log them and (2) you can see what exceptions are thrown.
NodeSelectionAction() - +Constructor for class com.lamsinternational.lams.contentrepository.struts.action.NodeSelectionAction +
  +
NodeSelectionForm - class com.lamsinternational.lams.contentrepository.struts.form.NodeSelectionForm.
Didn't want to create this class, but I keep getting "Cannot retrieve definition for form bean null" + exception so it was just easier to write it and ignore it...
NodeSelectionForm() - +Constructor for class com.lamsinternational.lams.contentrepository.struts.form.NodeSelectionForm +
  +
NodeType - class com.lamsinternational.lams.contentrepository.NodeType.
Defines the types of nodes.
NodeType() - +Constructor for class com.lamsinternational.lams.contentrepository.NodeType +
  +
nameFromValue(int) - +Static method in class com.lamsinternational.lams.contentrepository.PropertyType +
Returns the name of the specified type. +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+ + + Index: lams_contentrepository/doc/index-files/index-13.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/index-files/index-13.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/index-files/index-13.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,140 @@ + + + + + + +P-Index + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+

+P

+
+
PACKAGENODE - +Static variable in class com.lamsinternational.lams.contentrepository.NodeType +
Node represents a package of other nodes +
PropertyName - class com.lamsinternational.lams.contentrepository.PropertyName.
 
PropertyName() - +Constructor for class com.lamsinternational.lams.contentrepository.PropertyName +
  +
PropertyType - class com.lamsinternational.lams.contentrepository.PropertyType.
LAMS property types.
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+ + + Index: lams_contentrepository/doc/index-files/index-14.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/index-files/index-14.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/index-files/index-14.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,186 @@ + + + + + + +R-Index + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+

+R

+
+
REPOSITORY_CONTEXT_PATH - +Static variable in interface com.lamsinternational.lams.contentrepository.IRepository +
String used to define the path to the context file +
REPOSITORY_SERVICE_ID - +Static variable in interface com.lamsinternational.lams.contentrepository.IRepository +
String used to define service in Spring context +
RepositoryCheckedException - exception com.lamsinternational.lams.contentrepository.RepositoryCheckedException.
Main exception thrown by content repository classes.
RepositoryCheckedException() - +Constructor for class com.lamsinternational.lams.contentrepository.RepositoryCheckedException +
Constructs a new instance of this class. +
RepositoryCheckedException(String) - +Constructor for class com.lamsinternational.lams.contentrepository.RepositoryCheckedException +
Constructs a new instance of this class given a message describing the + failure cause. +
RepositoryCheckedException(String, Throwable) - +Constructor for class com.lamsinternational.lams.contentrepository.RepositoryCheckedException +
Constructs a new instance of this class given a message describing the + failure and a root throwable. +
RepositoryCheckedException(Throwable) - +Constructor for class com.lamsinternational.lams.contentrepository.RepositoryCheckedException +
Constructs a new instance of this class given a root throwable. +
RepositoryDispatchAction - class com.lamsinternational.lams.contentrepository.struts.action.RepositoryDispatchAction.
Base class for the dispatch actions used in the repository tests.
RepositoryDispatchAction() - +Constructor for class com.lamsinternational.lams.contentrepository.struts.action.RepositoryDispatchAction +
  +
RepositoryRuntimeException - exception com.lamsinternational.lams.contentrepository.RepositoryRuntimeException.
Main runtime exception thrown by content repository classes.
RepositoryRuntimeException() - +Constructor for class com.lamsinternational.lams.contentrepository.RepositoryRuntimeException +
Constructs a new instance of this class. +
RepositoryRuntimeException(String) - +Constructor for class com.lamsinternational.lams.contentrepository.RepositoryRuntimeException +
Constructs a new instance of this class given a message describing the + failure cause. +
RepositoryRuntimeException(String, Throwable) - +Constructor for class com.lamsinternational.lams.contentrepository.RepositoryRuntimeException +
Constructs a new instance of this class given a message describing the + failure and a root throwable. +
RepositoryRuntimeException(Throwable) - +Constructor for class com.lamsinternational.lams.contentrepository.RepositoryRuntimeException +
Constructs a new instance of this class given a root throwable. +
removeChildNodeVersion(CrNodeVersion) - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersion +
Remove a child node to the childNodeVersions collection. +
removeProperty(String) - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersion +
Remove a property +
reset(ActionMapping, HttpServletRequest) - +Method in class com.lamsinternational.lams.contentrepository.struts.form.AddFileContentForm +
Method reset +
reset(ActionMapping, HttpServletRequest) - +Method in class com.lamsinternational.lams.contentrepository.struts.form.LoginRepositoryForm +
Method reset +
reset(ActionMapping, HttpServletRequest) - +Method in class com.lamsinternational.lams.contentrepository.struts.form.NodeSelectionForm +
Method reset +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+ + + Index: lams_contentrepository/doc/index-files/index-15.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/index-files/index-15.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/index-files/index-15.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,341 @@ + + + + + + +S-Index + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+

+S

+
+
STRING - +Static variable in class com.lamsinternational.lams.contentrepository.PropertyType +
String property type +
SUCCESS_PATH - +Static variable in class com.lamsinternational.lams.contentrepository.struts.action.RepositoryDispatchAction +
  +
SimpleCredentials - class com.lamsinternational.lams.contentrepository.SimpleCredentials.
Basic implementation of credentials.
SimpleCredentials(String, char[]) - +Constructor for class com.lamsinternational.lams.contentrepository.SimpleCredentials +
Should only be used by hibernate or package calls. +
SimpleRepository - class com.lamsinternational.lams.contentrepository.SimpleRepository.
Many methods in this class will throw a RepositoryRuntimeException + if the internal data is missing.
SimpleRepository() - +Constructor for class com.lamsinternational.lams.contentrepository.SimpleRepository +
  +
SimpleTicket - class com.lamsinternational.lams.contentrepository.SimpleTicket.
SimpleTicket is a basic implementation of Ticket.
SimpleVersionDetail - class com.lamsinternational.lams.contentrepository.SimpleVersionDetail.
Describes the version details - for displaying a version + history.
SimpleVersionedNode - class com.lamsinternational.lams.contentrepository.SimpleVersionedNode.
This is the default implementation for IVersionedNode.
SimpleVersionedNode() - +Constructor for class com.lamsinternational.lams.contentrepository.SimpleVersionedNode +
  +
setBeanFactory(BeanFactory) - +Method in class com.lamsinternational.lams.contentrepository.SimpleRepository +
  +
setBeanFactory(BeanFactory) - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionedNode +
  +
setChildNodeVersions(Set) - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersion +
Assigns a new set of child nodes. +
setCrCredential(CrCredential) - +Method in class com.lamsinternational.lams.contentrepository.CrWorkspaceCredential +
  +
setCrNodeVersion(CrNodeVersion) - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersionProperty +
  +
setCrNodeVersionProperties(Set) - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersion +
  +
setCrNodeVersions(Set) - +Method in class com.lamsinternational.lams.contentrepository.CrNode +
  +
setCrNodes(Set) - +Method in class com.lamsinternational.lams.contentrepository.CrWorkspace +
  +
setCrWorkspace(CrWorkspace) - +Method in class com.lamsinternational.lams.contentrepository.CrNode +
  +
setCrWorkspace(CrWorkspace) - +Method in class com.lamsinternational.lams.contentrepository.CrWorkspaceCredential +
  +
setCrWorkspaceCredentials(Set) - +Method in class com.lamsinternational.lams.contentrepository.CrCredential +
  +
setCrWorkspaceCredentials(Set) - +Method in class com.lamsinternational.lams.contentrepository.CrWorkspace +
  +
setCreatedDateTime(Date) - +Method in class com.lamsinternational.lams.contentrepository.CrNode +
  +
setCreatedDateTime(Date) - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersion +
  +
setCredentialDAO(ICredentialDAO) - +Method in class com.lamsinternational.lams.contentrepository.SimpleRepository +
  +
setCredentialId(Long) - +Method in class com.lamsinternational.lams.contentrepository.CrCredential +
  +
setDescription(String) - +Method in class com.lamsinternational.lams.contentrepository.struts.form.AddFileContentForm +
  +
setDirName(String) - +Method in class com.lamsinternational.lams.contentrepository.struts.form.AddFileContentForm +
  +
setEntryString(String) - +Method in class com.lamsinternational.lams.contentrepository.struts.form.AddFileContentForm +
  +
setFile(InputStream, String, String) - +Method in interface com.lamsinternational.lams.contentrepository.IVersionedNodeAdmin +
Set the file, passed in as an inputstream. +
setFile(InputStream, String, String) - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionedNode +
Set the file, passed in as an inputstream. +
setFileDAO(IFileDAO) - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionedNode +
  +
setId(Long) - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersionProperty +
  +
setIndentificationString(String) - +Method in class com.lamsinternational.lams.contentrepository.struts.form.LoginRepositoryForm +
Set the indentificationString. +
setMethod(String) - +Method in class com.lamsinternational.lams.contentrepository.struts.form.AddFileContentForm +
  +
setName(String) - +Method in class com.lamsinternational.lams.contentrepository.CrCredential +
  +
setName(String) - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersionProperty +
  +
setName(String) - +Method in class com.lamsinternational.lams.contentrepository.CrWorkspace +
  +
setNextVersionId(Long) - +Method in class com.lamsinternational.lams.contentrepository.CrNode +
  +
setNode(CrNode) - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersion +
  +
setNodeDAO(INodeDAO) - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionedNode +
  +
setNodeId(Long) - +Method in class com.lamsinternational.lams.contentrepository.CrNode +
  +
setNodeMap(Map) - +Method in class com.lamsinternational.lams.contentrepository.struts.form.NodeSelectionForm +
  +
setNvId(Long) - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersion +
  +
setParentNodeVersion(CrNodeVersion) - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersion +
  +
setPassword(String) - +Method in class com.lamsinternational.lams.contentrepository.CrCredential +
  +
setPath(String) - +Method in class com.lamsinternational.lams.contentrepository.CrNode +
  +
setProperty(String, Object, int) - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersion +
Set a property value. +
setProperty(String, String, int) - +Method in interface com.lamsinternational.lams.contentrepository.IVersionedNodeAdmin +
Sets the property to a value, based on the specified type, after converting + from the string. +
setProperty(String, String) - +Method in interface com.lamsinternational.lams.contentrepository.IVersionedNodeAdmin +
Sets the property to a STRING value. +
setProperty(String, boolean) - +Method in interface com.lamsinternational.lams.contentrepository.IVersionedNodeAdmin +
Sets the property to a BOOLEAN value. +
setProperty(String, double) - +Method in interface com.lamsinternational.lams.contentrepository.IVersionedNodeAdmin +
Sets the property to a DOUBLE value. +
setProperty(String, long) - +Method in interface com.lamsinternational.lams.contentrepository.IVersionedNodeAdmin +
Sets the property to a LONG value. +
setProperty(String, Calendar) - +Method in interface com.lamsinternational.lams.contentrepository.IVersionedNodeAdmin +
Sets the property a CALENDAR value. +
setProperty(String, String, int) - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionedNode +
  +
setProperty(String, String) - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionedNode +
  +
setProperty(String, boolean) - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionedNode +
  +
setProperty(String, double) - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionedNode +
  +
setProperty(String, long) - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionedNode +
  +
setProperty(String, Calendar) - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionedNode +
  +
setRepositoryLocation(String) - +Method in class com.lamsinternational.lams.contentrepository.dao.file.FileDAO +
  +
setTheFile(FormFile) - +Method in class com.lamsinternational.lams.contentrepository.struts.form.AddFileContentForm +
Set the theFile. +
setToolName(String) - +Method in class com.lamsinternational.lams.contentrepository.struts.form.LoginRepositoryForm +
Set the toolName. +
setType(String) - +Method in class com.lamsinternational.lams.contentrepository.CrNode +
  +
setType(int) - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersionProperty +
  +
setUuid(Long) - +Method in class com.lamsinternational.lams.contentrepository.struts.form.AddFileContentForm +
  +
setValue(String) - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersionProperty +
  +
setVersionDescription(String) - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersion +
Set the version description. +
setVersionId(Long) - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersion +
  +
setWcId(Long) - +Method in class com.lamsinternational.lams.contentrepository.CrWorkspaceCredential +
  +
setWorkspaceDAO(IWorkspaceDAO) - +Method in class com.lamsinternational.lams.contentrepository.SimpleRepository +
  +
setWorkspaceId(Long) - +Method in class com.lamsinternational.lams.contentrepository.CrWorkspace +
  +
setWorkspaceName(String) - +Method in class com.lamsinternational.lams.contentrepository.struts.form.LoginRepositoryForm +
Set the workspaceName. +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+ + + Index: lams_contentrepository/doc/index-files/index-16.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/index-files/index-16.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/index-files/index-16.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,183 @@ + + + + + + +T-Index + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+

+T

+
+
TICKET_NAME - +Static variable in class com.lamsinternational.lams.contentrepository.struts.action.RepositoryDispatchAction +
  +
TYPENAME_BOOLEAN - +Static variable in class com.lamsinternational.lams.contentrepository.PropertyType +
  +
TYPENAME_DATE - +Static variable in class com.lamsinternational.lams.contentrepository.PropertyType +
  +
TYPENAME_DOUBLE - +Static variable in class com.lamsinternational.lams.contentrepository.PropertyType +
  +
TYPENAME_LONG - +Static variable in class com.lamsinternational.lams.contentrepository.PropertyType +
  +
TYPENAME_STRING - +Static variable in class com.lamsinternational.lams.contentrepository.PropertyType +
The names of the supported property types, + as used in serialization. +
toString() - +Method in class com.lamsinternational.lams.contentrepository.CrCredential +
  +
toString() - +Method in class com.lamsinternational.lams.contentrepository.CrNode +
  +
toString() - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersion +
  +
toString() - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersionProperty +
  +
toString() - +Method in class com.lamsinternational.lams.contentrepository.CrWorkspace +
  +
toString() - +Method in class com.lamsinternational.lams.contentrepository.CrWorkspaceCredential +
  +
toString() - +Method in class com.lamsinternational.lams.contentrepository.NodeKey +
  +
toString() - +Method in class com.lamsinternational.lams.contentrepository.SimpleTicket +
  +
toString() - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionDetail +
  +
toString() - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionedNode +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+ + + Index: lams_contentrepository/doc/index-files/index-17.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/index-files/index-17.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/index-files/index-17.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,182 @@ + + + + + + +U-Index + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+

+U

+
+
UNDEFINED - +Static variable in class com.lamsinternational.lams.contentrepository.PropertyType +
Undefined type. +
UUID_NAME - +Static variable in class com.lamsinternational.lams.contentrepository.struts.action.RepositoryDispatchAction +
  +
update(Object) - +Method in interface com.lamsinternational.lams.contentrepository.dao.ICredentialDAO +
  +
update(Object) - +Method in interface com.lamsinternational.lams.contentrepository.dao.INodeDAO +
  +
update(Object) - +Method in interface com.lamsinternational.lams.contentrepository.dao.IWorkspaceDAO +
  +
update(Object) - +Method in class com.lamsinternational.lams.contentrepository.dao.hibernate.CredentialDAO +
  +
update(Object) - +Method in class com.lamsinternational.lams.contentrepository.dao.hibernate.NodeDAO +
  +
update(Object) - +Method in class com.lamsinternational.lams.contentrepository.dao.hibernate.WorkspaceDAO +
  +
updateCredentials(ICredentials, ICredentials) - +Method in interface com.lamsinternational.lams.contentrepository.IRepository +
Update a credential. +
updateCredentials(ICredentials, ICredentials) - +Method in class com.lamsinternational.lams.contentrepository.SimpleRepository +
Update a credential. +
updateFileItem(ITicket, Long, String, InputStream, String, String) - +Method in interface com.lamsinternational.lams.contentrepository.IRepository +
Update an existing file in the repository. +
updateFileItem(ITicket, Long, String, InputStream, String, String) - +Method in class com.lamsinternational.lams.contentrepository.SimpleRepository +
  +
updatePackageItem(ITicket, Long, String, String, String) - +Method in interface com.lamsinternational.lams.contentrepository.IRepository +
Add a new package of files to the repository. +
updatePackageItem(ITicket, Long, String, String, String) - +Method in class com.lamsinternational.lams.contentrepository.SimpleRepository +
  +
uploadFile(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - +Method in class com.lamsinternational.lams.contentrepository.struts.action.AddFileContentAction +
Uploads a single file. +
uploadPackage(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - +Method in class com.lamsinternational.lams.contentrepository.struts.action.AddFileContentAction +
Uploads a package +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+ + + Index: lams_contentrepository/doc/index-files/index-18.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/index-files/index-18.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/index-files/index-18.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,182 @@ + + + + + + +V-Index + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+

+V

+
+
VERSIONDESC - +Static variable in class com.lamsinternational.lams.contentrepository.PropertyName +
VERSIONDESC is text description relating to a version + It should contain text meaningful to the user. +
VERSION_NAME - +Static variable in class com.lamsinternational.lams.contentrepository.struts.action.RepositoryDispatchAction +
  +
ValidationException - exception com.lamsinternational.lams.contentrepository.ValidationException.
The node is invalid for some reason.
ValidationException() - +Constructor for class com.lamsinternational.lams.contentrepository.ValidationException +
Constructs a new instance of this class. +
ValidationException(String) - +Constructor for class com.lamsinternational.lams.contentrepository.ValidationException +
Constructs a new instance of this class given a message describing the + failure cause. +
ValidationException(String, Throwable) - +Constructor for class com.lamsinternational.lams.contentrepository.ValidationException +
Constructs a new instance of this class given a message describing the + failure and a root throwable. +
ValidationException(Throwable) - +Constructor for class com.lamsinternational.lams.contentrepository.ValidationException +
Constructs a new instance of this class given a root throwable. +
ValueFormatException - exception com.lamsinternational.lams.contentrepository.ValueFormatException.
Thrown when value is assigned to a propery of the wrong type, or some + other formatting type problem.
ValueFormatException() - +Constructor for class com.lamsinternational.lams.contentrepository.ValueFormatException +
Constructs a new instance of this class. +
ValueFormatException(String) - +Constructor for class com.lamsinternational.lams.contentrepository.ValueFormatException +
Constructs a new instance of this class given a message describing the + failure cause. +
ValueFormatException(String, Throwable) - +Constructor for class com.lamsinternational.lams.contentrepository.ValueFormatException +
Constructs a new instance of this class given a message describing the + failure and a root throwable. +
ValueFormatException(Throwable) - +Constructor for class com.lamsinternational.lams.contentrepository.ValueFormatException +
Constructs a new instance of this class given a root throwable. +
validate(ActionMapping, HttpServletRequest) - +Method in class com.lamsinternational.lams.contentrepository.struts.form.AddFileContentForm +
Method validate +
validate(ActionMapping, HttpServletRequest) - +Method in class com.lamsinternational.lams.contentrepository.struts.form.LoginRepositoryForm +
Method validate +
validate(ActionMapping, HttpServletRequest) - +Method in class com.lamsinternational.lams.contentrepository.struts.form.NodeSelectionForm +
Method validate +
valueFromName(String) - +Static method in class com.lamsinternational.lams.contentrepository.PropertyType +
Returns the numeric constant value of the type with the specified name. +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+ + + Index: lams_contentrepository/doc/index-files/index-19.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/index-files/index-19.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/index-files/index-19.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,157 @@ + + + + + + +W-Index + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+

+W

+
+
WorkspaceDAO - class com.lamsinternational.lams.contentrepository.dao.hibernate.WorkspaceDAO.
Data access routines for Workspaces.
WorkspaceDAO() - +Constructor for class com.lamsinternational.lams.contentrepository.dao.hibernate.WorkspaceDAO +
  +
WorkspaceNotFoundException - exception com.lamsinternational.lams.contentrepository.WorkspaceNotFoundException.
Requested workspace not found.
WorkspaceNotFoundException() - +Constructor for class com.lamsinternational.lams.contentrepository.WorkspaceNotFoundException +
Constructs a new instance of this class. +
WorkspaceNotFoundException(String) - +Constructor for class com.lamsinternational.lams.contentrepository.WorkspaceNotFoundException +
Constructs a new instance of this class given a message describing the + failure cause. +
WorkspaceNotFoundException(String, Throwable) - +Constructor for class com.lamsinternational.lams.contentrepository.WorkspaceNotFoundException +
Constructs a new instance of this class given a message describing the + failure and a root throwable. +
WorkspaceNotFoundException(Throwable) - +Constructor for class com.lamsinternational.lams.contentrepository.WorkspaceNotFoundException +
Constructs a new instance of this class given a root throwable. +
writeFile(Long, Long, InputStream) - +Method in interface com.lamsinternational.lams.contentrepository.dao.IFileDAO +
Write out a file to the repository. +
writeFile(Long, Long, InputStream) - +Method in class com.lamsinternational.lams.contentrepository.dao.file.FileDAO +
Write out a file to the repository. +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+ + + Index: lams_contentrepository/doc/index-files/index-2.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/index-files/index-2.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/index-files/index-2.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,137 @@ + + + + + + +B-Index + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+

+B

+
+
BOOLEAN - +Static variable in class com.lamsinternational.lams.contentrepository.PropertyType +
Boolean property type +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+ + + Index: lams_contentrepository/doc/index-files/index-3.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/index-files/index-3.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/index-files/index-3.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,220 @@ + + + + + + +C-Index + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+

+C

+
+
CrCredential - class com.lamsinternational.lams.contentrepository.CrCredential.
 
CrCredential(String, String, Set) - +Constructor for class com.lamsinternational.lams.contentrepository.CrCredential +
full constructor +
CrCredential() - +Constructor for class com.lamsinternational.lams.contentrepository.CrCredential +
default constructor +
CrNode - class com.lamsinternational.lams.contentrepository.CrNode.
 
CrNode(String, String, Date, Long, CrWorkspace, Set) - +Constructor for class com.lamsinternational.lams.contentrepository.CrNode +
full constructor +
CrNode() - +Constructor for class com.lamsinternational.lams.contentrepository.CrNode +
default constructor +
CrNode(String, Long, CrWorkspace, Set) - +Constructor for class com.lamsinternational.lams.contentrepository.CrNode +
minimal constructor +
CrNodeVersion - class com.lamsinternational.lams.contentrepository.CrNodeVersion.
 
CrNodeVersion(Long, Date, CrNode, CrNodeVersion, Set, Set) - +Constructor for class com.lamsinternational.lams.contentrepository.CrNodeVersion +
full constructor +
CrNodeVersion() - +Constructor for class com.lamsinternational.lams.contentrepository.CrNodeVersion +
default constructor +
CrNodeVersion(Long, CrNode, CrNodeVersion, Set, Set) - +Constructor for class com.lamsinternational.lams.contentrepository.CrNodeVersion +
minimal constructor +
CrNodeVersionProperty - class com.lamsinternational.lams.contentrepository.CrNodeVersionProperty.
 
CrNodeVersionProperty(String, String, int, CrNodeVersion) - +Constructor for class com.lamsinternational.lams.contentrepository.CrNodeVersionProperty +
full constructor +
CrNodeVersionProperty() - +Constructor for class com.lamsinternational.lams.contentrepository.CrNodeVersionProperty +
default constructor +
CrWorkspace - class com.lamsinternational.lams.contentrepository.CrWorkspace.
 
CrWorkspace(String, Set, Set) - +Constructor for class com.lamsinternational.lams.contentrepository.CrWorkspace +
full constructor +
CrWorkspace() - +Constructor for class com.lamsinternational.lams.contentrepository.CrWorkspace +
default constructor +
CrWorkspaceCredential - class com.lamsinternational.lams.contentrepository.CrWorkspaceCredential.
 
CrWorkspaceCredential(CrWorkspace, CrCredential) - +Constructor for class com.lamsinternational.lams.contentrepository.CrWorkspaceCredential +
full constructor +
CrWorkspaceCredential() - +Constructor for class com.lamsinternational.lams.contentrepository.CrWorkspaceCredential +
default constructor +
CredentialDAO - class com.lamsinternational.lams.contentrepository.dao.hibernate.CredentialDAO.
Implements the credentials lookup using Hibernate.
CredentialDAO() - +Constructor for class com.lamsinternational.lams.contentrepository.dao.hibernate.CredentialDAO +
  +
checkCredential(ICredentials, IWorkspace) - +Method in interface com.lamsinternational.lams.contentrepository.dao.ICredentialDAO +
Check the supplied credential to the workspace. +
checkCredential(ICredentials) - +Method in interface com.lamsinternational.lams.contentrepository.dao.ICredentialDAO +
Check the supplied credential to the repository + By doing the check at this level, the password does + not need to be read from the database. +
checkCredential(ICredentials, IWorkspace) - +Method in class com.lamsinternational.lams.contentrepository.dao.hibernate.CredentialDAO +
Checks whether a user can login to this workspace. +
checkCredential(ICredentials) - +Method in class com.lamsinternational.lams.contentrepository.dao.hibernate.CredentialDAO +
Checks whether a user can login to the repository. +
checkCredentialInternal(ICredentials, IWorkspace) - +Method in class com.lamsinternational.lams.contentrepository.dao.hibernate.CredentialDAO +
Checks whether a user can login to the repository. +
clear() - +Method in interface com.lamsinternational.lams.contentrepository.ITicket +
Make this ticket unusable. +
clear() - +Method in class com.lamsinternational.lams.contentrepository.SimpleTicket +
Make this ticket unusable. +
clearPassword() - +Method in interface com.lamsinternational.lams.contentrepository.ICredentials +
Clear the current password - important not to leave this lying around. +
clearPassword() - +Method in class com.lamsinternational.lams.contentrepository.SimpleCredentials +
Clear the current password. +
com.lamsinternational.lams.contentrepository.dao.hibernate - package com.lamsinternational.lams.contentrepository.dao.hibernate
 
com.lamsinternational.lams.contentrepository.struts.action - package com.lamsinternational.lams.contentrepository.struts.action
 
com.lamsinternational.lams.contentrepository.struts.form - package com.lamsinternational.lams.contentrepository.struts.form
 
compareTo(Object) - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionDetail +
Compares this object with the specified object for order. +
createCredential(ICredentials) - +Method in interface com.lamsinternational.lams.contentrepository.IRepository +
Create a new repository "user" - usually a tool. +
createCredential(ICredentials) - +Method in class com.lamsinternational.lams.contentrepository.SimpleRepository +
Create a new repository "user" - usually a tool. +
createNewWorkspace(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - +Method in class com.lamsinternational.lams.contentrepository.struts.action.LoginRepositoryAction +
Create and login to a new workspace +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+ + + Index: lams_contentrepository/doc/index-files/index-4.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/index-files/index-4.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/index-files/index-4.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,203 @@ + + + + + + +D-Index + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+

+D

+
+
DATANODE - +Static variable in class com.lamsinternational.lams.contentrepository.NodeType +
Node that has properties but no file. +
DATE - +Static variable in class com.lamsinternational.lams.contentrepository.PropertyType +
Date property type +
DOUBLE - +Static variable in class com.lamsinternational.lams.contentrepository.PropertyType +
Double property type +
delete(Object) - +Method in interface com.lamsinternational.lams.contentrepository.dao.ICredentialDAO +
  +
delete(Long, Long) - +Method in interface com.lamsinternational.lams.contentrepository.dao.IFileDAO +
Delete a file from the repository. +
delete(Object) - +Method in interface com.lamsinternational.lams.contentrepository.dao.INodeDAO +
  +
delete(Object) - +Method in interface com.lamsinternational.lams.contentrepository.dao.IWorkspaceDAO +
  +
delete(Long, Long) - +Method in class com.lamsinternational.lams.contentrepository.dao.file.FileDAO +
Delete a file from the repository. +
delete(Object) - +Method in class com.lamsinternational.lams.contentrepository.dao.hibernate.CredentialDAO +
  +
delete(Object) - +Method in class com.lamsinternational.lams.contentrepository.dao.hibernate.NodeDAO +
  +
delete(Object) - +Method in class com.lamsinternational.lams.contentrepository.dao.hibernate.WorkspaceDAO +
  +
deleteNode(ITicket, Long) - +Method in interface com.lamsinternational.lams.contentrepository.IRepository +
Delete a node and all its versions, returning a list of the files + that could not be deleted properly. +
deleteNode() - +Method in interface com.lamsinternational.lams.contentrepository.IVersionedNodeAdmin +
Delete this node and all its versions, returning a list of the files + that could not be deleted properly. +
deleteNode(ITicket, Long) - +Method in class com.lamsinternational.lams.contentrepository.SimpleRepository +
  +
deleteNode() - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionedNode +
Delete all versions of this node, returning the number of nodes + deleted. +
deleteNode(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - +Method in class com.lamsinternational.lams.contentrepository.struts.action.NodeSelectionAction +
Delete a version of a node, or the whole node. +
deleteVersion(ITicket, Long, Long) - +Method in interface com.lamsinternational.lams.contentrepository.IRepository +
Delete the current version of a node, returning a list of the files + that could not be deleted properly. +
deleteVersion() - +Method in interface com.lamsinternational.lams.contentrepository.IVersionedNodeAdmin +
Delete the current version of this node, returning a list of the files + that could not be deleted properly. +
deleteVersion(ITicket, Long, Long) - +Method in class com.lamsinternational.lams.contentrepository.SimpleRepository +
  +
deleteVersion() - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionedNode +
  +
destroy() - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionedNode +
Clean up any resources that will not be cleaned up by the garbage + collector after this object is destroyed. +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+ + + Index: lams_contentrepository/doc/index-files/index-5.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/index-files/index-5.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/index-files/index-5.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,164 @@ + + + + + + +E-Index + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+

+E

+
+
ERROR_PATH - +Static variable in class com.lamsinternational.lams.contentrepository.struts.action.RepositoryDispatchAction +
  +
equals(Object) - +Method in class com.lamsinternational.lams.contentrepository.CrCredential +
  +
equals(Object) - +Method in class com.lamsinternational.lams.contentrepository.CrNode +
  +
equals(Object) - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersion +
  +
equals(Object) - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersionProperty +
  +
equals(Object) - +Method in class com.lamsinternational.lams.contentrepository.CrWorkspace +
  +
equals(Object) - +Method in class com.lamsinternational.lams.contentrepository.CrWorkspaceCredential +
  +
equals(Object) - +Method in class com.lamsinternational.lams.contentrepository.NodeKey +
  +
equals(Object) - +Method in class com.lamsinternational.lams.contentrepository.SimpleTicket +
  +
equals(Object) - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionDetail +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+ + + Index: lams_contentrepository/doc/index-files/index-6.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/index-files/index-6.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/index-files/index-6.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,206 @@ + + + + + + +F-Index + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+

+F

+
+
FILENAME - +Static variable in class com.lamsinternational.lams.contentrepository.PropertyName +
FILENAME is required for a file node - it is set by the call to add the file stream. +
FILENODE - +Static variable in class com.lamsinternational.lams.contentrepository.NodeType +
Node has a file attached. +
FileDAO - class com.lamsinternational.lams.contentrepository.dao.file.FileDAO.
Manages the reading and writing of files to the repository directories.
FileDAO() - +Constructor for class com.lamsinternational.lams.contentrepository.dao.file.FileDAO +
  +
FileException - exception com.lamsinternational.lams.contentrepository.FileException.
Some error was generated reading or writing the files + to disk.
FileException() - +Constructor for class com.lamsinternational.lams.contentrepository.FileException +
Constructs a new instance of this class. +
FileException(String) - +Constructor for class com.lamsinternational.lams.contentrepository.FileException +
Constructs a new instance of this class given a message describing the + failure cause. +
FileException(String, Throwable) - +Constructor for class com.lamsinternational.lams.contentrepository.FileException +
Constructs a new instance of this class given a message describing the + failure and a root throwable. +
FileException(Throwable) - +Constructor for class com.lamsinternational.lams.contentrepository.FileException +
Constructs a new instance of this class given a root throwable. +
find(Class, Serializable) - +Method in interface com.lamsinternational.lams.contentrepository.dao.INodeDAO +
Finds an object. +
find(Class, Serializable) - +Method in interface com.lamsinternational.lams.contentrepository.dao.IWorkspaceDAO +
Finds an object. +
find(Class, Serializable) - +Method in class com.lamsinternational.lams.contentrepository.dao.hibernate.NodeDAO +
  +
find(Class, Serializable) - +Method in class com.lamsinternational.lams.contentrepository.dao.hibernate.WorkspaceDAO +
  +
findAll(Class) - +Method in interface com.lamsinternational.lams.contentrepository.dao.INodeDAO +
  +
findAll(Class) - +Method in interface com.lamsinternational.lams.contentrepository.dao.IWorkspaceDAO +
  +
findAll(Class) - +Method in class com.lamsinternational.lams.contentrepository.dao.hibernate.CredentialDAO +
  +
findAll(Class) - +Method in class com.lamsinternational.lams.contentrepository.dao.hibernate.NodeDAO +
  +
findAll(Class) - +Method in class com.lamsinternational.lams.contentrepository.dao.hibernate.WorkspaceDAO +
  +
findAllNodesInWorkspace(Long) - +Method in interface com.lamsinternational.lams.contentrepository.dao.INodeDAO +
  +
findAllNodesInWorkspace(Long) - +Method in class com.lamsinternational.lams.contentrepository.dao.hibernate.NodeDAO +
  +
findByName(String) - +Method in interface com.lamsinternational.lams.contentrepository.dao.ICredentialDAO +
  +
findByName(String) - +Method in interface com.lamsinternational.lams.contentrepository.dao.IWorkspaceDAO +
Get a workspace. +
findByName(String) - +Method in class com.lamsinternational.lams.contentrepository.dao.hibernate.CredentialDAO +
  +
findByName(String) - +Method in class com.lamsinternational.lams.contentrepository.dao.hibernate.WorkspaceDAO +
Get a workspace. +
flushSession() - +Method in class com.lamsinternational.lams.contentrepository.dao.hibernate.WorkspaceDAO +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+ + + Index: lams_contentrepository/doc/index-files/index-7.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/index-files/index-7.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/index-files/index-7.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,507 @@ + + + + + + +G-Index + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+

+G

+
+
getBoolean() - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersionProperty +
Returns a boolean representation of the value. +
getBoolean() - +Method in interface com.lamsinternational.lams.contentrepository.IValue +
Returns a boolean representation of the value. +
getChildNodeVersion(String) - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersion +
Remove a child node to the childNodeVersions collection. +
getChildNodeVersions() - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersion +
Gets the set of child nodes. +
getCrCredential() - +Method in class com.lamsinternational.lams.contentrepository.CrWorkspaceCredential +
  +
getCrNodeVersion() - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersionProperty +
  +
getCrNodeVersionProperties() - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersion +
  +
getCrNodeVersions() - +Method in class com.lamsinternational.lams.contentrepository.CrNode +
  +
getCrNodes() - +Method in class com.lamsinternational.lams.contentrepository.CrWorkspace +
  +
getCrWorkspace() - +Method in class com.lamsinternational.lams.contentrepository.CrNode +
  +
getCrWorkspace() - +Method in class com.lamsinternational.lams.contentrepository.CrWorkspaceCredential +
  +
getCrWorkspaceCredentials() - +Method in class com.lamsinternational.lams.contentrepository.CrCredential +
  +
getCrWorkspaceCredentials() - +Method in class com.lamsinternational.lams.contentrepository.CrWorkspace +
  +
getCreatedDateTime() - +Method in class com.lamsinternational.lams.contentrepository.CrNode +
  +
getCreatedDateTime() - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersion +
  +
getCreatedDateTime() - +Method in interface com.lamsinternational.lams.contentrepository.IVersionDetail +
Get the date/time of when this version was created. +
getCreatedDateTime() - +Method in interface com.lamsinternational.lams.contentrepository.IVersionedNode +
Get the date/time of when this node was created. +
getCreatedDateTime() - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionDetail +
  +
getCreatedDateTime() - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionedNode +
  +
getCredentialDAO() - +Method in class com.lamsinternational.lams.contentrepository.SimpleRepository +
  +
getCredentialId() - +Method in class com.lamsinternational.lams.contentrepository.CrCredential +
  +
getDate() - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersionProperty +
Returns a Calendar representation of the value. +
getDate() - +Method in interface com.lamsinternational.lams.contentrepository.IValue +
Returns a Calendar representation of the value. +
getDescription() - +Method in interface com.lamsinternational.lams.contentrepository.IVersionDetail +
Get the general text string describing the version. +
getDescription() - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionDetail +
  +
getDescription() - +Method in class com.lamsinternational.lams.contentrepository.struts.form.AddFileContentForm +
  +
getDirName() - +Method in class com.lamsinternational.lams.contentrepository.struts.form.AddFileContentForm +
  +
getDouble() - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersionProperty +
Returns a double representation of the value. +
getDouble() - +Method in interface com.lamsinternational.lams.contentrepository.IValue +
Returns a double representation of the value. +
getEntryString() - +Method in class com.lamsinternational.lams.contentrepository.struts.form.AddFileContentForm +
  +
getFile() - +Method in interface com.lamsinternational.lams.contentrepository.IVersionedNode +
Get the file, as an inputstream. +
getFile() - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionedNode +
Get the file, as an inputstream. +
getFile(Long, Long) - +Method in interface com.lamsinternational.lams.contentrepository.dao.IFileDAO +
Gets a file from the repository. +
getFile(Long, Long) - +Method in class com.lamsinternational.lams.contentrepository.dao.file.FileDAO +
Gets a file from the repository. +
getFileDAO() - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionedNode +
  +
getFileItem(ITicket, Long, Long) - +Method in interface com.lamsinternational.lams.contentrepository.IRepository +
Get an item from the repository based on the UUID. +
getFileItem(ITicket, Long, String, Long) - +Method in interface com.lamsinternational.lams.contentrepository.IRepository +
Get an item from the repository based on the UUID and relative + path. +
getFileItem(ITicket, Long, Long) - +Method in class com.lamsinternational.lams.contentrepository.SimpleRepository +
  +
getFileItem(ITicket, Long, String, Long) - +Method in class com.lamsinternational.lams.contentrepository.SimpleRepository +
  +
getFilePath(Long, Long) - +Method in interface com.lamsinternational.lams.contentrepository.dao.IFileDAO +
Get the actual path of the file ie the path on disk +
getFilePath(Long, Long) - +Method in class com.lamsinternational.lams.contentrepository.dao.file.FileDAO +
Get the actual path of the file ie the path on disk +
getId() - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersionProperty +
  +
getIndentificationString() - +Method in class com.lamsinternational.lams.contentrepository.struts.form.LoginRepositoryForm +
Returns the indentificationString. +
getList(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - +Method in class com.lamsinternational.lams.contentrepository.struts.action.NodeSelectionAction +
Get the list of nodes in the workspace. +
getLong() - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersionProperty +
Returns a long representation of the value. +
getLong() - +Method in interface com.lamsinternational.lams.contentrepository.IValue +
Returns a long representation of the value. +
getMessage() - +Method in class com.lamsinternational.lams.contentrepository.RepositoryCheckedException +
  +
getMessage() - +Method in class com.lamsinternational.lams.contentrepository.RepositoryRuntimeException +
  +
getMethod() - +Method in class com.lamsinternational.lams.contentrepository.struts.form.AddFileContentForm +
  +
getName() - +Method in class com.lamsinternational.lams.contentrepository.CrCredential +
  +
getName() - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersionProperty +
  +
getName() - +Method in class com.lamsinternational.lams.contentrepository.CrWorkspace +
  +
getName() - +Method in interface com.lamsinternational.lams.contentrepository.ICredentials +
Returns the name of the tool. +
getName() - +Method in interface com.lamsinternational.lams.contentrepository.IWorkspace +
  +
getName() - +Method in class com.lamsinternational.lams.contentrepository.SimpleCredentials +
Returns the name of the tool. +
getNextVersionId() - +Method in class com.lamsinternational.lams.contentrepository.CrNode +
  +
getNode() - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersion +
  +
getNode(String) - +Method in interface com.lamsinternational.lams.contentrepository.IVersionedNode +
Returns the node at relPath, which is a child of this node. +
getNode(String) - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionedNode +
Another case for the factory? +
getNode(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse) - +Method in class com.lamsinternational.lams.contentrepository.struts.action.NodeSelectionAction +
Get the file specified by this node. +
getNodeDAO() - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionedNode +
  +
getNodeId() - +Method in class com.lamsinternational.lams.contentrepository.CrNode +
  +
getNodeKey() - +Method in interface com.lamsinternational.lams.contentrepository.IVersionedNode +
Get the uuid and version of this node/version +
getNodeKey() - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionedNode +
  +
getNodeList(ITicket) - +Method in interface com.lamsinternational.lams.contentrepository.IRepository +
Get a complete list of all nodes in the workspace and their + version histories. +
getNodeList(ITicket) - +Method in class com.lamsinternational.lams.contentrepository.SimpleRepository +
  +
getNodeMap() - +Method in class com.lamsinternational.lams.contentrepository.struts.form.NodeSelectionForm +
  +
getNodeType() - +Method in interface com.lamsinternational.lams.contentrepository.IVersionedNode +
Gets the type of the current node. +
getNodeType() - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionedNode +
  +
getNodeVersion(Long) - +Method in class com.lamsinternational.lams.contentrepository.CrNode +
Get a particular version of this node +
getNodes() - +Method in interface com.lamsinternational.lams.contentrepository.IVersionedNode +
Returns an Set of all child nodes of node. +
getNodes() - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionedNode +
If no nodes are found, returns an empty set. +
getNvId() - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersion +
  +
getParentNodeVersion() - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersion +
  +
getPassword() - +Method in class com.lamsinternational.lams.contentrepository.CrCredential +
  +
getPassword() - +Method in interface com.lamsinternational.lams.contentrepository.ICredentials +
Returns the password. +
getPassword() - +Method in class com.lamsinternational.lams.contentrepository.SimpleCredentials +
Returns the password. +
getPath() - +Method in class com.lamsinternational.lams.contentrepository.CrNode +
  +
getPath() - +Method in interface com.lamsinternational.lams.contentrepository.IVersionedNode +
Get the path of this node +
getPath() - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionedNode +
  +
getProperties() - +Method in interface com.lamsinternational.lams.contentrepository.IVersionedNode +
Returns all properties of this node. +
getProperties() - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionedNode +
Returns a set of IValue objects - this method could cause a problem + when lazy initialised. +
getProperty(String) - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersion +
Get a property value +
getProperty(String) - +Method in interface com.lamsinternational.lams.contentrepository.IVersionedNode +
Returns the property at relPath relative to this + node. +
getProperty(String) - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionedNode +
  +
getRepositoryLocation() - +Method in class com.lamsinternational.lams.contentrepository.dao.file.FileDAO +
  +
getString() - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersionProperty +
Returns a string representation of the value. +
getString() - +Method in interface com.lamsinternational.lams.contentrepository.IValue +
Returns a string representation of the value. +
getTheFile() - +Method in class com.lamsinternational.lams.contentrepository.struts.form.AddFileContentForm +
Returns the theFile. +
getTicket() - +Method in interface com.lamsinternational.lams.contentrepository.IVersionedNode +
Get the ticket through which this node was accessed. +
getTicket() - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionedNode +
  +
getTicketId() - +Method in interface com.lamsinternational.lams.contentrepository.ITicket +
  +
getTicketId() - +Method in class com.lamsinternational.lams.contentrepository.SimpleTicket +
  +
getToolName() - +Method in class com.lamsinternational.lams.contentrepository.struts.form.LoginRepositoryForm +
Returns the toolName. +
getType() - +Method in class com.lamsinternational.lams.contentrepository.CrNode +
  +
getType() - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersionProperty +
  +
getType() - +Method in interface com.lamsinternational.lams.contentrepository.IValue +
  +
getUUID() - +Method in interface com.lamsinternational.lams.contentrepository.IVersionedNode +
Returns the UUID of this node as recorded in the node's jcr:UUID + property. +
getUUID() - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionedNode +
  +
getUuid() - +Method in class com.lamsinternational.lams.contentrepository.NodeKey +
  +
getUuid() - +Method in class com.lamsinternational.lams.contentrepository.struts.form.AddFileContentForm +
  +
getValue() - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersionProperty +
  +
getVersion() - +Method in interface com.lamsinternational.lams.contentrepository.IVersionedNode +
Get the version of this node. +
getVersion() - +Method in class com.lamsinternational.lams.contentrepository.NodeKey +
  +
getVersion() - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionedNode +
  +
getVersionDescription() - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersion +
Get the version description. +
getVersionHistory() - +Method in class com.lamsinternational.lams.contentrepository.CrNode +
Get the history for this node. +
getVersionHistory(ITicket, Long) - +Method in interface com.lamsinternational.lams.contentrepository.IRepository +
Get the history for a node. +
getVersionHistory() - +Method in interface com.lamsinternational.lams.contentrepository.IVersionedNode +
Get the version history for this node, ordered by version id. +
getVersionHistory(ITicket, Long) - +Method in class com.lamsinternational.lams.contentrepository.SimpleRepository +
  +
getVersionHistory() - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionedNode +
Get the history for this node. +
getVersionId() - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersion +
  +
getVersionId() - +Method in interface com.lamsinternational.lams.contentrepository.IVersionDetail +
Get the version id. +
getVersionId() - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionDetail +
  +
getVersionIds() - +Method in class com.lamsinternational.lams.contentrepository.CrNode +
Get a list of all the versions - just the Long value. +
getWcId() - +Method in class com.lamsinternational.lams.contentrepository.CrWorkspaceCredential +
  +
getWorkspaceDAO() - +Method in class com.lamsinternational.lams.contentrepository.SimpleRepository +
  +
getWorkspaceId() - +Method in class com.lamsinternational.lams.contentrepository.CrWorkspace +
  +
getWorkspaceId() - +Method in interface com.lamsinternational.lams.contentrepository.ITicket +
Get the workspace associated with this ticket + Should only be accessed by the content repository package members. +
getWorkspaceId() - +Method in interface com.lamsinternational.lams.contentrepository.IWorkspace +
  +
getWorkspaceId() - +Method in class com.lamsinternational.lams.contentrepository.SimpleTicket +
Get the workspace associated with this ticket + Should only be accessed by the content repository package members. +
getWorkspaceName() - +Method in class com.lamsinternational.lams.contentrepository.struts.form.LoginRepositoryForm +
Returns the workspaceName. +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+ + + Index: lams_contentrepository/doc/index-files/index-8.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/index-files/index-8.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/index-files/index-8.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,195 @@ + + + + + + +H-Index + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+

+H

+
+
hasNode(String) - +Method in interface com.lamsinternational.lams.contentrepository.IVersionedNode +
Indicates whether a node exists at relPath + Returns true if a node exists at relPath and + false otherwise. +
hasNode(String) - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionedNode +
  +
hasNodes() - +Method in interface com.lamsinternational.lams.contentrepository.IVersionedNode +
Indicates whether this node has child nodes. +
hasNodes() - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionedNode +
  +
hasProperties() - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersion +
Indicates whether this node has properties. +
hasProperties() - +Method in interface com.lamsinternational.lams.contentrepository.IVersionedNode +
Indicates whether this node has properties. +
hasProperties() - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionedNode +
  +
hasProperty(String) - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersion +
Indicates whether a property exists for this name + Returns true if a property exists and false otherwise. +
hasProperty(String) - +Method in interface com.lamsinternational.lams.contentrepository.IVersionedNode +
Indicates whether a property exists for this name + Returns true if a property exists and false otherwise. +
hasProperty(String) - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionedNode +
  +
hashCode() - +Method in class com.lamsinternational.lams.contentrepository.CrCredential +
  +
hashCode() - +Method in class com.lamsinternational.lams.contentrepository.CrNode +
  +
hashCode() - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersion +
  +
hashCode() - +Method in class com.lamsinternational.lams.contentrepository.CrNodeVersionProperty +
  +
hashCode() - +Method in class com.lamsinternational.lams.contentrepository.CrWorkspace +
  +
hashCode() - +Method in class com.lamsinternational.lams.contentrepository.CrWorkspaceCredential +
  +
hashCode() - +Method in class com.lamsinternational.lams.contentrepository.NodeKey +
  +
hashCode() - +Method in class com.lamsinternational.lams.contentrepository.SimpleTicket +
  +
hashCode() - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionDetail +
  +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+ + + Index: lams_contentrepository/doc/index-files/index-9.html =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/index-files/index-9.html,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_contentrepository/doc/index-files/index-9.html 21 Jan 2005 00:38:09 -0000 1.1 @@ -0,0 +1,215 @@ + + + + + + +I-Index + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+

+I

+
+
ICredentialDAO - interface com.lamsinternational.lams.contentrepository.dao.ICredentialDAO.
 
ICredentials - interface com.lamsinternational.lams.contentrepository.ICredentials.
Base interface for all credentials that may be passed to the + Repository.login() method.
IFileDAO - interface com.lamsinternational.lams.contentrepository.dao.IFileDAO.
Manages the reading and writing of files to the repository directories.
INITIALPATH - +Static variable in class com.lamsinternational.lams.contentrepository.PropertyName +
INITIALPATH is required for a package node +
INodeDAO - interface com.lamsinternational.lams.contentrepository.dao.INodeDAO.
Data access routines for Nodes, versions and properties
IRepository - interface com.lamsinternational.lams.contentrepository.IRepository.
Tool access to the repository
IRepositoryAdmin - interface com.lamsinternational.lams.contentrepository.IRepositoryAdmin.
Administrative interface to the Repository.
ITicket - interface com.lamsinternational.lams.contentrepository.ITicket.
Ticket represents the "authorisation" key to the repository.
IValue - interface com.lamsinternational.lams.contentrepository.IValue.
A value is an object which is explicitly marked with a type.
IVersionDetail - interface com.lamsinternational.lams.contentrepository.IVersionDetail.
Describes the version of a node.
IVersionedNode - interface com.lamsinternational.lams.contentrepository.IVersionedNode.
The IVersionedNode interface represents a particular version of a node + in the hierarchy that makes up the repository.
IVersionedNodeAdmin - interface com.lamsinternational.lams.contentrepository.IVersionedNodeAdmin.
IVersionedNodeAdmin represents the full functionality for a versioned node.
IWorkspace - interface com.lamsinternational.lams.contentrepository.IWorkspace.
A workspace is a grouping of content, which is accessed by a ticket.
IWorkspaceDAO - interface com.lamsinternational.lams.contentrepository.dao.IWorkspaceDAO.
Data access routines for Workspaces.
InvalidParameterException - exception com.lamsinternational.lams.contentrepository.InvalidParameterException.
Generic exception thrown whenever a parameter is missing.
InvalidParameterException() - +Constructor for class com.lamsinternational.lams.contentrepository.InvalidParameterException +
Constructs a new instance of this class. +
InvalidParameterException(String) - +Constructor for class com.lamsinternational.lams.contentrepository.InvalidParameterException +
Constructs a new instance of this class given a message describing the + failure cause. +
InvalidParameterException(String, Throwable) - +Constructor for class com.lamsinternational.lams.contentrepository.InvalidParameterException +
Constructs a new instance of this class given a message describing the + failure and a root throwable. +
InvalidParameterException(Throwable) - +Constructor for class com.lamsinternational.lams.contentrepository.InvalidParameterException +
Constructs a new instance of this class given a root throwable. +
ItemExistsException - exception com.lamsinternational.lams.contentrepository.ItemExistsException.
An item already exists with the given id or path.
ItemExistsException() - +Constructor for class com.lamsinternational.lams.contentrepository.ItemExistsException +
Constructs a new instance of this class. +
ItemExistsException(String) - +Constructor for class com.lamsinternational.lams.contentrepository.ItemExistsException +
Constructs a new instance of this class given a message describing the + failure cause. +
ItemExistsException(String, Throwable) - +Constructor for class com.lamsinternational.lams.contentrepository.ItemExistsException +
Constructs a new instance of this class given a message describing the + failure and a root throwable. +
ItemExistsException(Throwable) - +Constructor for class com.lamsinternational.lams.contentrepository.ItemExistsException +
Constructs a new instance of this class given a root throwable. +
ItemNotFoundException - exception com.lamsinternational.lams.contentrepository.ItemNotFoundException.
Item requested does not exist.
ItemNotFoundException() - +Constructor for class com.lamsinternational.lams.contentrepository.ItemNotFoundException +
Constructs a new instance of this class. +
ItemNotFoundException(String) - +Constructor for class com.lamsinternational.lams.contentrepository.ItemNotFoundException +
Constructs a new instance of this class given a message describing the + failure cause. +
ItemNotFoundException(String, Throwable) - +Constructor for class com.lamsinternational.lams.contentrepository.ItemNotFoundException +
Constructs a new instance of this class given a message describing the + failure and a root throwable. +
ItemNotFoundException(Throwable) - +Constructor for class com.lamsinternational.lams.contentrepository.ItemNotFoundException +
Constructs a new instance of this class given a root throwable. +
incrementNextVersionId() - +Method in class com.lamsinternational.lams.contentrepository.CrNode +
Get the next version id for this node and then + increment it. +
insert(Object) - +Method in interface com.lamsinternational.lams.contentrepository.dao.ICredentialDAO +
  +
insert(Object) - +Method in interface com.lamsinternational.lams.contentrepository.dao.INodeDAO +
  +
insert(Object) - +Method in interface com.lamsinternational.lams.contentrepository.dao.IWorkspaceDAO +
  +
insert(Object) - +Method in class com.lamsinternational.lams.contentrepository.dao.hibernate.CredentialDAO +
  +
insert(Object) - +Method in class com.lamsinternational.lams.contentrepository.dao.hibernate.NodeDAO +
  +
insert(Object) - +Method in class com.lamsinternational.lams.contentrepository.dao.hibernate.WorkspaceDAO +
  +
isNodeType(String) - +Method in class com.lamsinternational.lams.contentrepository.CrNode +
Indicates whether this node is of the specified node type. +
isNodeType(String) - +Method in interface com.lamsinternational.lams.contentrepository.IVersionedNode +
Indicates whether this node is of the specified node type. +
isNodeType(String) - +Method in class com.lamsinternational.lams.contentrepository.SimpleVersionedNode +
(non-Javadoc) +
isValidNodeType(String) - +Static method in class com.lamsinternational.lams.contentrepository.NodeType +
Does this string represent a known node type. +
+
+ + + + + + + + + + + + + + + +
+ +
+ + + +A B C D E F G H I L M N P R S T U V W
+ + + Index: lams_contentrepository/doc/resources/inherit.gif =================================================================== RCS file: /usr/local/cvsroot/lams_contentrepository/doc/resources/inherit.gif,v diff -u Binary files differ