Index: lams_contentrepository/doc/allclasses-frame.html =================================================================== diff -u -rc95550f73f40e3070d2e0496f7a76546065e57bc -rb2a24acef8fef98a343582d3f67f0993a76a281b --- lams_contentrepository/doc/allclasses-frame.html (.../allclasses-frame.html) (revision c95550f73f40e3070d2e0496f7a76546065e57bc) +++ lams_contentrepository/doc/allclasses-frame.html (.../allclasses-frame.html) (revision b2a24acef8fef98a343582d3f67f0993a76a281b) @@ -2,7 +2,7 @@ - + All Classes @@ -42,6 +42,8 @@
CredentialDAO
+Download +
Download
FileDAO @@ -62,6 +64,8 @@
ITicket
+IToolContentHandler +
IValue
IVersionDetail Index: lams_contentrepository/doc/allclasses-noframe.html =================================================================== diff -u -rc95550f73f40e3070d2e0496f7a76546065e57bc -rb2a24acef8fef98a343582d3f67f0993a76a281b --- lams_contentrepository/doc/allclasses-noframe.html (.../allclasses-noframe.html) (revision c95550f73f40e3070d2e0496f7a76546065e57bc) +++ lams_contentrepository/doc/allclasses-noframe.html (.../allclasses-noframe.html) (revision b2a24acef8fef98a343582d3f67f0993a76a281b) @@ -2,7 +2,7 @@ - + All Classes @@ -42,6 +42,8 @@
CredentialDAO
+Download +
Download
FileDAO @@ -62,6 +64,8 @@
ITicket
+IToolContentHandler +
IValue
IVersionDetail Index: lams_contentrepository/doc/index.html =================================================================== diff -u -rc95550f73f40e3070d2e0496f7a76546065e57bc -rb2a24acef8fef98a343582d3f67f0993a76a281b --- lams_contentrepository/doc/index.html (.../index.html) (revision c95550f73f40e3070d2e0496f7a76546065e57bc) +++ lams_contentrepository/doc/index.html (.../index.html) (revision b2a24acef8fef98a343582d3f67f0993a76a281b) @@ -2,7 +2,7 @@ - + Generated Documentation (Untitled) Index: lams_contentrepository/doc/org/lamsfoundation/lams/contentrepository/client/Download.html =================================================================== diff -u --- lams_contentrepository/doc/org/lamsfoundation/lams/contentrepository/client/Download.html (revision 0) +++ lams_contentrepository/doc/org/lamsfoundation/lams/contentrepository/client/Download.html (revision b2a24acef8fef98a343582d3f67f0993a76a281b) @@ -0,0 +1,439 @@ + + + + + + +Download + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.lamsfoundation.lams.contentrepository.client +
+Class Download

+
+java.lang.Object
+  extended byHttpServlet
+      extended byorg.lamsfoundation.lams.contentrepository.client.Download
+
+
+
+
public class Download
extends HttpServlet
+ +

+This is a specialised servlet that supports the downloading of single + files and the rendering of packages. + + It has a rather odd format - you can call it initially with + the file/package uuid (and optional version) using + download?uuid=<uuid>&version=<version>. + If it is a file, then the file is downloaded. If it is a package, then + it redirects to download/<uuid>/<version>/relPath + where the <uuid> and <version> are the uuid and version + of the package node. + + The download/<uuid>/<version>/relPath should only be used + internally - the servlet should be called with the parameter + version initially. + + This / format allows the relative pathed links + within an html file to work properly. + + If you want to try to download the file rather than display the file, + add the parameter preferDownload=true to the url. This is only meaningful + for a file - it is ignored for packages. + + The servlet accesses the content repository via a tool's ToolContentHandler + implementation. It looks for the bean IToolContentHandler.SPRING_BEAN_NAME + in the web based Spring context. If you do not have a ToolContentHandler + implementation then this servlet will not work. If you have an implementation + but you use a different name for the bean in the Spring context, then you + will need to override the getToolContentHandler() method in this servlet. +

+ +

+

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

+ + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static java.lang.StringPREFER_DOWNLOAD + +
+           
+static java.lang.StringUUID_NAME + +
+           
+static java.lang.StringVERSION_NAME + +
+           
+  + + + + + + + + + + +
+Constructor Summary
Download() + +
+          Constructor of the object.
+  + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voiddestroy() + +
+          Destruction of the servlet.
+ voiddoGet(HttpServletRequest request, + HttpServletResponse response) + +
+          The doGet method of the servlet.
+ voiddoPost(HttpServletRequest request, + HttpServletResponse response) + +
+          The doPost method of the servlet.
+ IToolContentHandlergetToolContentHandler() + +
+           
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+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
+
+
+ +

+PREFER_DOWNLOAD

+
+public static final java.lang.String PREFER_DOWNLOAD
+
+
+
See Also:
Constant Field Values
+
+ + + + + + + + +
+Constructor Detail
+ +

+Download

+
+public Download()
+
+
Constructor of the object. +

+

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

+destroy

+
+public void destroy()
+
+
Destruction of the servlet.
+

+

+
+
+
+
+ +

+doGet

+
+public void doGet(HttpServletRequest request,
+                  HttpServletResponse response)
+           throws ServletException,
+                  java.io.IOException
+
+
The doGet method of the servlet.
+ + This method is called when a form has its tag value method equals to get. +

+

+
Parameters:
request - the request send by the client to the server
response - the response send by the server to the client +
Throws: +
ServletException - if an error occurred +
java.io.IOException - if an error occurred
+
+
+
+ +

+doPost

+
+public void doPost(HttpServletRequest request,
+                   HttpServletResponse response)
+            throws ServletException,
+                   java.io.IOException
+
+
The doPost method of the servlet.
+ + This method is called when a form has its tag value method equals to post. +

+

+
Parameters:
request - the request send by the client to the server
response - the response send by the server to the client +
Throws: +
ServletException - if an error occurred +
java.io.IOException - if an error occurred
+
+
+
+ +

+getToolContentHandler

+
+public IToolContentHandler getToolContentHandler()
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/org/lamsfoundation/lams/contentrepository/client/IToolContentHandler.html =================================================================== diff -u --- lams_contentrepository/doc/org/lamsfoundation/lams/contentrepository/client/IToolContentHandler.html (revision 0) +++ lams_contentrepository/doc/org/lamsfoundation/lams/contentrepository/client/IToolContentHandler.html (revision b2a24acef8fef98a343582d3f67f0993a76a281b) @@ -0,0 +1,591 @@ + + + + + + +IToolContentHandler + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.lamsfoundation.lams.contentrepository.client +
+Interface IToolContentHandler

+
+
All Known Implementing Classes:
ToolContentHandler
+
+
+
+
public interface IToolContentHandler
+ +

+ToolContentHander is an abstract class that implements most of the functionality + of the interface. Each tool extends the abstract class and implements the remaining + functionality (which is tool specific). + + This interface exists so that the Download servlet (@see org.lamsfoundation.lams.contentrepository.client.Download.java) + can get to the Repository via ToolContentHandler. It needs to call the tool's + concrete class, which must be defined in the Spring context as "toolContentHandler" + (see SPRING_BEAN_NAME). The Download servlet looks for it by name, so if you change + the name, you will also need to extend the Download servlet to use your own name. + + For more details on using this class, @see org.lamsfoundation.lams.contentrepository.client.ToolContentHandler. +

+ +

+

+
Author:
+
Fiona Malikoff
+
+
+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+Field Summary
+static java.lang.StringFILE_TYPE_PROPERTY_NAME + +
+          The "name" used to store the online/offline property in the repository
+static java.lang.StringSPRING_BEAN_NAME + +
+          The concrete implementation must be configured as a bean in Spring, using + this value as the name.
+static java.lang.StringTYPE_OFFLINE + +
+          File is for Offline Instructions
+static java.lang.StringTYPE_ONLINE + +
+          File is for Online Instructions
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ voiddeleteFile(java.lang.Long uuid) + +
+          Delete a file node.
+ IVersionedNodegetFileNode(java.lang.Long uuid) + +
+          Get a file node.
+ java.util.SetgetFileProperties(java.lang.Long uuid) + +
+          Get just the properties of a file.
+ char[]getRepositoryId() + +
+           
+ IRepositoryServicegetRepositoryService() + +
+           
+ java.lang.StringgetRepositoryUser() + +
+           
+ java.lang.StringgetRepositoryWorkspaceName() + +
+           
+ ITicketgetTicket(boolean forceLogin) + +
+          Get the ticket to access the repository.
+ booleanisOffline(IVersionedNode node) + +
+           
+ booleanisOnline(IVersionedNode node) + +
+           
+ voidsetRepositoryService(IRepositoryService repositoryService) + +
+           
+ NodeKeyuploadFile(java.io.InputStream stream, + java.lang.String fileName, + java.lang.String mimeType, + java.lang.String fileProperty) + +
+          Save a file in the content repository.
+  +

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

+TYPE_ONLINE

+
+public static final java.lang.String TYPE_ONLINE
+
+
File is for Online Instructions +

+

+
See Also:
Constant Field Values
+
+
+ +

+TYPE_OFFLINE

+
+public static final java.lang.String TYPE_OFFLINE
+
+
File is for Offline Instructions +

+

+
See Also:
Constant Field Values
+
+
+ +

+FILE_TYPE_PROPERTY_NAME

+
+public static final java.lang.String FILE_TYPE_PROPERTY_NAME
+
+
The "name" used to store the online/offline property in the repository +

+

+
See Also:
Constant Field Values
+
+
+ +

+SPRING_BEAN_NAME

+
+public static final java.lang.String SPRING_BEAN_NAME
+
+
The concrete implementation must be configured as a bean in Spring, using + this value as the name. +

+

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

+getRepositoryWorkspaceName

+
+public java.lang.String getRepositoryWorkspaceName()
+
+
+ +
Returns:
Returns the repositoryWorkspaceName.
+
+
+
+ +

+getRepositoryUser

+
+public java.lang.String getRepositoryUser()
+
+
+ +
Returns:
Returns the repositoryUser.
+
+
+
+ +

+getRepositoryId

+
+public char[] getRepositoryId()
+
+
+ +
Returns:
Returns the repository identification string. This is the + "password" field the credential.
+
+
+
+ +

+getTicket

+
+public ITicket getTicket(boolean forceLogin)
+                  throws RepositoryCheckedException
+
+
Get the ticket to access the repository. If the workspace/credential + hasn't been set up, then it will be set up automatically. +

+

+ +
Returns:
the repository ticket +
Throws: +
RepositoryCheckedException
+
+
+
+ +

+uploadFile

+
+public NodeKey uploadFile(java.io.InputStream stream,
+                          java.lang.String fileName,
+                          java.lang.String mimeType,
+                          java.lang.String fileProperty)
+                   throws RepositoryCheckedException,
+                          InvalidParameterException,
+                          RepositoryCheckedException
+
+
Save a file in the content repository. +

+

+
Parameters:
stream - Input filestream. Mandatory.
fileName - Input filename. Mandatory.
mimeType - Mimetype of file. Optional.
fileProperty - is this for online or offline instructions? Should be TYPE_ONLINE or TYPE_OFFLINE. Mandatory. +
Returns:
key to the new content repository node +
Throws: +
InvalidParameterException - One of the mandatory parameters is missing. +
FileException - An error occured writing the input stream to disk. +
RepositoryCheckedException - Some other error occured.
+
+
+
+ +

+deleteFile

+
+public void deleteFile(java.lang.Long uuid)
+                throws InvalidParameterException,
+                       RepositoryCheckedException
+
+
Delete a file node. If the node does not exist, then nothing happens (ie ItemNotFoundException is NOT thrown). +

+

+
Parameters:
uuid - id of the file node. Mandatory +
Throws: +
InvalidParameterException - One of the mandatory parameters is missing. +
RepositoryCheckedException - Some other error occured.
+
+
+
+ +

+getFileNode

+
+public IVersionedNode getFileNode(java.lang.Long uuid)
+                           throws ItemNotFoundException,
+                                  FileException,
+                                  RepositoryCheckedException
+
+
Get a file node. +

+

+
Parameters:
uuid - id of the file node. Mandatory +
Throws: +
FileException - An error occured writing the input stream to disk. +
ItemNotFoundException - This file node does not exist, so cannot delete it. +
RepositoryCheckedException - Some other error occured.
+
+
+
+ +

+getFileProperties

+
+public java.util.Set getFileProperties(java.lang.Long uuid)
+                                throws ItemNotFoundException,
+                                       FileException,
+                                       RepositoryCheckedException
+
+
Get just the properties of a file. Convenience method - equivalent of + calling getFileNode(uuid).getProperties(). Useful if all you want are + the properties and you don't want to access the file itself. +

+

+
Parameters:
uuid - id of the file node. Mandatory +
Throws: +
FileException - An error occured writing the input stream to disk. +
ItemNotFoundException - This file node does not exist, so cannot delete it. +
RepositoryCheckedException - Some other error occured.
+
+
+
+ +

+isOffline

+
+public boolean isOffline(IVersionedNode node)
+
+
+
+
+
+
+ +

+isOnline

+
+public boolean isOnline(IVersionedNode node)
+
+
+
+
+
+
+ +

+getRepositoryService

+
+public IRepositoryService getRepositoryService()
+
+
+
+
+
+
+ +

+setRepositoryService

+
+public void setRepositoryService(IRepositoryService repositoryService)
+
+
+
Parameters:
repositoryService - The repositoryService to set.
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + Index: lams_contentrepository/doc/org/lamsfoundation/lams/contentrepository/client/ToolContentHandler.html =================================================================== diff -u -rc95550f73f40e3070d2e0496f7a76546065e57bc -rb2a24acef8fef98a343582d3f67f0993a76a281b --- lams_contentrepository/doc/org/lamsfoundation/lams/contentrepository/client/ToolContentHandler.html (.../ToolContentHandler.html) (revision c95550f73f40e3070d2e0496f7a76546065e57bc) +++ lams_contentrepository/doc/org/lamsfoundation/lams/contentrepository/client/ToolContentHandler.html (.../ToolContentHandler.html) (revision b2a24acef8fef98a343582d3f67f0993a76a281b) @@ -2,7 +2,7 @@ - + ToolContentHandler @@ -50,7 +50,7 @@ - PREV CLASS  + PREV CLASS   NEXT CLASS FRAMES   @@ -70,9 +70,9 @@ - SUMMARY: NESTED | FIELD | CONSTR | METHOD + SUMMARY: NESTED | FIELD | CONSTR | METHOD -DETAIL: FIELD | CONSTR | METHOD +DETAIL: FIELD | CONSTR | METHOD @@ -89,9 +89,12 @@ java.lang.Object extended byorg.lamsfoundation.lams.contentrepository.client.ToolContentHandler +
+
All Implemented Interfaces:
IToolContentHandler
+

-
public abstract class ToolContentHandler
extends java.lang.Object
+
public abstract class ToolContentHandler
extends java.lang.Object
implements IToolContentHandler

Handles the connection to the content repository, and allows a file @@ -117,15 +120,18 @@

  • Define your Handler class as a bean in your own Spring context file. It must include a parameter repositoryService, which references a local value of repositoryService. The "repositoryService" is defined in the - Content Repository's applicationContext.xml. + Content Repository's applicationContext.xml. The name "toolContentHandler" + (IToolContentHandler.SPRING_BEAN_NAME) is also essential as the Download servlet + looks for it by this name. For example:
      	<bean id="toolContentHandler" class="your class name here">
    - 		<property name="repositoryService"><ref local="coreSessionFactory"/></property>
    + 		<property name="repositoryService"> <ref bean="repositoryService"/</property>
     	</bean> 
      
    + You do not need to include repositoryService as a instance variable in your own class as it is already defined in the ToolContentHandler abstract class.

    @@ -153,6 +159,13 @@

    If you want to see this class used, have a look at the test code in org.lamsfoundation.lams.contentrepository.client in the test/java area. +

    + You may be wondering why we don't make the workspaceName, user, id, etc + parameters in the Spring file, rather than creating a concrete class. Using + the Spring file would be easier, but then the id (equivalent to passsword) + is easier to hack. The id is a char[], rather than a String for + security. If you don't care that your tool's id is stored as a String + then you can include it in your Spring file.

    @@ -174,30 +187,15 @@ Field Summary - - -static java.lang.String -FILE_TYPE_PROPERTY_NAME - -
    -          The "name" used to store the online/offline property in the repository + +  + + + - - + - - - -
    Fields inherited from interface org.lamsfoundation.lams.contentrepository.client.IToolContentHandler
    -static java.lang.StringTYPE_OFFLINE - -
    -          File is for Offline Instructions
    FILE_TYPE_PROPERTY_NAME, SPRING_BEAN_NAME, TYPE_OFFLINE, TYPE_ONLINE
    -static java.lang.StringTYPE_ONLINE - -
    -          File is for Online Instructions
      @@ -242,6 +240,14 @@ + java.util.Set +getFileProperties(java.lang.Long uuid) + +
    +          Get just the properties of a file. + + + abstract  char[] getRepositoryId() @@ -274,6 +280,14 @@ + ITicket +getTicket(boolean forceLogin) + +
    +          Get the ticket to access the repository. + + +  boolean isOffline(IVersionedNode node) @@ -322,49 +336,7 @@ - - - - - -
    -Field Detail
    -

    -TYPE_ONLINE

    -
    -public static final java.lang.String TYPE_ONLINE
    -
    -
    File is for Online Instructions -

    -

    -
    See Also:
    Constant Field Values
    -
    -
    - -

    -TYPE_OFFLINE

    -
    -public static final java.lang.String TYPE_OFFLINE
    -
    -
    File is for Offline Instructions -

    -

    -
    See Also:
    Constant Field Values
    -
    -
    - -

    -FILE_TYPE_PROPERTY_NAME

    -
    -public static final java.lang.String FILE_TYPE_PROPERTY_NAME
    -
    -
    The "name" used to store the online/offline property in the repository -

    -

    -
    See Also:
    Constant Field Values
    -
    - @@ -398,6 +370,9 @@ public abstract java.lang.String getRepositoryWorkspaceName()
    +
    Specified by:
    getRepositoryWorkspaceName in interface IToolContentHandler
    +
    +
    Returns:
    Returns the repositoryWorkspaceName.
    @@ -410,6 +385,9 @@ public abstract java.lang.String getRepositoryUser()
    +
    Specified by:
    getRepositoryUser in interface IToolContentHandler
    +
    +
    Returns:
    Returns the repositoryUser.
    @@ -422,13 +400,37 @@ public abstract char[] getRepositoryId()
    +
    Specified by:
    getRepositoryId in interface IToolContentHandler
    +
    +
    Returns:
    Returns the repository identification string. This is the "password" field the credential.

    +

    +getTicket

    +
    +public ITicket getTicket(boolean forceLogin)
    +                  throws RepositoryCheckedException
    +
    +
    Get the ticket to access the repository. If the workspace/credential + hasn't been set up, then it will be set up automatically. +

    +

    +
    Specified by:
    getTicket in interface IToolContentHandler
    +
    +
    + +
    Returns:
    the repository ticket +
    Throws: +
    RepositoryCheckedException
    +
    +
    +
    +

    uploadFile

    @@ -443,6 +445,9 @@
     
    Save a file in the content repository.

    +
    Specified by:
    uploadFile in interface IToolContentHandler
    +
    +
    Parameters:
    stream - Input filestream. Mandatory.
    fileName - Input filename. Mandatory.
    mimeType - Mimetype of file. Optional.
    fileProperty - is this for online or offline instructions? Should be TYPE_ONLINE or TYPE_OFFLINE. Mandatory.
    Returns:
    key to the new content repository node
    Throws: @@ -463,6 +468,9 @@
    Delete a file node. If the node does not exist, then nothing happens (ie ItemNotFoundException is NOT thrown).

    +
    Specified by:
    deleteFile in interface IToolContentHandler
    +
    +
    Parameters:
    uuid - id of the file node. Mandatory
    Throws:
    InvalidParameterException - One of the mandatory parameters is missing. @@ -482,6 +490,9 @@
    Get a file node.

    +
    Specified by:
    getFileNode in interface IToolContentHandler
    +
    +
    Parameters:
    uuid - id of the file node. Mandatory
    Throws:
    FileException - An error occured writing the input stream to disk. @@ -491,12 +502,40 @@

    +

    +getFileProperties

    +
    +public java.util.Set getFileProperties(java.lang.Long uuid)
    +                                throws ItemNotFoundException,
    +                                       FileException,
    +                                       RepositoryCheckedException
    +
    +
    Get just the properties of a file. Convenience method - equivalent of + calling getFileNode(uuid).getProperties(). Useful if all you want are + the properties and you don't want to access the file itself. +

    +

    +
    Specified by:
    getFileProperties in interface IToolContentHandler
    +
    +
    +
    Parameters:
    uuid - id of the file node. Mandatory +
    Throws: +
    FileException - An error occured writing the input stream to disk. +
    ItemNotFoundException - This file node does not exist, so cannot delete it. +
    RepositoryCheckedException - Some other error occured.
    +
    +
    +
    +

    isOffline

     public boolean isOffline(IVersionedNode node)
    +
    Specified by:
    isOffline in interface IToolContentHandler
    +
    +
    @@ -508,6 +547,9 @@ public boolean isOnline(IVersionedNode node)
    +
    Specified by:
    isOnline in interface IToolContentHandler
    +
    +
    @@ -519,6 +561,9 @@ public IRepositoryService getRepositoryService()
    +
    Specified by:
    getRepositoryService in interface IToolContentHandler
    +
    +
    Returns:
    Returns the repositoryService.
    @@ -531,6 +576,9 @@ public void setRepositoryService(IRepositoryService repositoryService)
    +
    Specified by:
    setRepositoryService in interface IToolContentHandler
    +
    +
    Parameters:
    repositoryService - The repositoryService to set.
    @@ -565,7 +613,7 @@ - PREV CLASS  + PREV CLASS   NEXT CLASS FRAMES   @@ -585,9 +633,9 @@ - SUMMARY: NESTED | FIELD | CONSTR | METHOD + SUMMARY: NESTED | FIELD | CONSTR | METHOD -DETAIL: FIELD | CONSTR | METHOD +DETAIL: FIELD | CONSTR | METHOD Index: lams_contentrepository/doc/org/lamsfoundation/lams/contentrepository/client/class-use/Download.html =================================================================== diff -u --- lams_contentrepository/doc/org/lamsfoundation/lams/contentrepository/client/class-use/Download.html (revision 0) +++ lams_contentrepository/doc/org/lamsfoundation/lams/contentrepository/client/class-use/Download.html (revision b2a24acef8fef98a343582d3f67f0993a76a281b) @@ -0,0 +1,136 @@ + + + + + + +Uses of Class org.lamsfoundation.lams.contentrepository.client.Download + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + + + +
    +
    +

    +Uses of Class
    org.lamsfoundation.lams.contentrepository.client.Download

    +
    +No usage of org.lamsfoundation.lams.contentrepository.client.Download +

    +


    + + + + + + + + + + + + + + + +
    + +
    + + + +
    + + + Index: lams_contentrepository/doc/org/lamsfoundation/lams/contentrepository/client/class-use/IToolContentHandler.html =================================================================== diff -u --- lams_contentrepository/doc/org/lamsfoundation/lams/contentrepository/client/class-use/IToolContentHandler.html (revision 0) +++ lams_contentrepository/doc/org/lamsfoundation/lams/contentrepository/client/class-use/IToolContentHandler.html (revision b2a24acef8fef98a343582d3f67f0993a76a281b) @@ -0,0 +1,189 @@ + + + + + + +Uses of Interface org.lamsfoundation.lams.contentrepository.client.IToolContentHandler + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + + + +
    +
    +

    +Uses of Interface
    org.lamsfoundation.lams.contentrepository.client.IToolContentHandler

    +
    + + + + + + + + + +
    +Packages that use IToolContentHandler
    org.lamsfoundation.lams.contentrepository.client  
    +  +

    + + + + + +
    +Uses of IToolContentHandler in org.lamsfoundation.lams.contentrepository.client
    +  +

    + + + + + + + + + +
    Classes in org.lamsfoundation.lams.contentrepository.client that implement IToolContentHandler
    + classToolContentHandler + +
    +          Handles the connection to the content repository, and allows a file + to be stored and retrieved.
    +  +

    + + + + + + + + + +
    Methods in org.lamsfoundation.lams.contentrepository.client that return IToolContentHandler
    + IToolContentHandlerDownload.getToolContentHandler() + +
    +           
    +  +

    +


    + + + + + + + + + + + + + + + +
    + +
    + + + +
    + + + Index: lams_contentrepository/doc/org/lamsfoundation/lams/contentrepository/client/class-use/ToolContentHandler.html =================================================================== diff -u -rc95550f73f40e3070d2e0496f7a76546065e57bc -rb2a24acef8fef98a343582d3f67f0993a76a281b --- lams_contentrepository/doc/org/lamsfoundation/lams/contentrepository/client/class-use/ToolContentHandler.html (.../ToolContentHandler.html) (revision c95550f73f40e3070d2e0496f7a76546065e57bc) +++ lams_contentrepository/doc/org/lamsfoundation/lams/contentrepository/client/class-use/ToolContentHandler.html (.../ToolContentHandler.html) (revision b2a24acef8fef98a343582d3f67f0993a76a281b) @@ -2,7 +2,7 @@ - + Uses of Class org.lamsfoundation.lams.contentrepository.client.ToolContentHandler Index: lams_contentrepository/doc/org/lamsfoundation/lams/contentrepository/client/package-frame.html =================================================================== diff -u -rc95550f73f40e3070d2e0496f7a76546065e57bc -rb2a24acef8fef98a343582d3f67f0993a76a281b --- lams_contentrepository/doc/org/lamsfoundation/lams/contentrepository/client/package-frame.html (.../package-frame.html) (revision c95550f73f40e3070d2e0496f7a76546065e57bc) +++ lams_contentrepository/doc/org/lamsfoundation/lams/contentrepository/client/package-frame.html (.../package-frame.html) (revision b2a24acef8fef98a343582d3f67f0993a76a281b) @@ -2,7 +2,7 @@ - + org.lamsfoundation.lams.contentrepository.client @@ -20,9 +20,22 @@ + +
    +Interfaces  + +
    +IToolContentHandler
    + + + + +
    Classes 
    +Download +
    ToolContentHandler
    Index: lams_contentrepository/doc/org/lamsfoundation/lams/contentrepository/client/package-summary.html =================================================================== diff -u -rc95550f73f40e3070d2e0496f7a76546065e57bc -rb2a24acef8fef98a343582d3f67f0993a76a281b --- lams_contentrepository/doc/org/lamsfoundation/lams/contentrepository/client/package-summary.html (.../package-summary.html) (revision c95550f73f40e3070d2e0496f7a76546065e57bc) +++ lams_contentrepository/doc/org/lamsfoundation/lams/contentrepository/client/package-summary.html (.../package-summary.html) (revision b2a24acef8fef98a343582d3f67f0993a76a281b) @@ -2,7 +2,7 @@ - + org.lamsfoundation.lams.contentrepository.client @@ -80,9 +80,29 @@ + + + + + +
    +Interface Summary
    IToolContentHandlerToolContentHander is an abstract class that implements most of the functionality + of the interface.
    +  + +

    + + + + + + + + Index: lams_contentrepository/doc/org/lamsfoundation/lams/contentrepository/client/package-tree.html =================================================================== diff -u -rc95550f73f40e3070d2e0496f7a76546065e57bc -rb2a24acef8fef98a343582d3f67f0993a76a281b --- lams_contentrepository/doc/org/lamsfoundation/lams/contentrepository/client/package-tree.html (.../package-tree.html) (revision c95550f73f40e3070d2e0496f7a76546065e57bc) +++ lams_contentrepository/doc/org/lamsfoundation/lams/contentrepository/client/package-tree.html (.../package-tree.html) (revision b2a24acef8fef98a343582d3f67f0993a76a281b) @@ -2,7 +2,7 @@ - + org.lamsfoundation.lams.contentrepository.client Class Hierarchy @@ -85,8 +85,16 @@
    • class java.lang.Object +
    • class HttpServlet
        +
      • class org.lamsfoundation.lams.contentrepository.client.Download
      +
    • class org.lamsfoundation.lams.contentrepository.client.ToolContentHandler (implements org.lamsfoundation.lams.contentrepository.client.IToolContentHandler)
    + +

    +Interface Hierarchy +

    +
    Index: lams_contentrepository/doc/org/lamsfoundation/lams/contentrepository/client/package-use.html =================================================================== diff -u -rc95550f73f40e3070d2e0496f7a76546065e57bc -rb2a24acef8fef98a343582d3f67f0993a76a281b --- lams_contentrepository/doc/org/lamsfoundation/lams/contentrepository/client/package-use.html (.../package-use.html) (revision c95550f73f40e3070d2e0496f7a76546065e57bc) +++ lams_contentrepository/doc/org/lamsfoundation/lams/contentrepository/client/package-use.html (.../package-use.html) (revision b2a24acef8fef98a343582d3f67f0993a76a281b) @@ -2,7 +2,7 @@ - + Uses of Package org.lamsfoundation.lams.contentrepository.client @@ -76,8 +76,35 @@

    Uses of Package
    org.lamsfoundation.lams.contentrepository.client

    -No usage of org.lamsfoundation.lams.contentrepository.client + +
    Class Summary
    DownloadThis is a specialised servlet that supports the downloading of single + files and the rendering of packages.
    ToolContentHandler Handles the connection to the content repository, and allows a file to be stored and retrieved.
    + + + + + + + +
    +Packages that use org.lamsfoundation.lams.contentrepository.client
    org.lamsfoundation.lams.contentrepository.client  

    + + + + + + + + +
    +Classes in org.lamsfoundation.lams.contentrepository.client used by org.lamsfoundation.lams.contentrepository.client
    IToolContentHandler + +
    +          ToolContentHander is an abstract class that implements most of the functionality + of the interface.
    +  +


    Index: lams_contentrepository/doc/overview-frame.html =================================================================== diff -u -rc95550f73f40e3070d2e0496f7a76546065e57bc -rb2a24acef8fef98a343582d3f67f0993a76a281b --- lams_contentrepository/doc/overview-frame.html (.../overview-frame.html) (revision c95550f73f40e3070d2e0496f7a76546065e57bc) +++ lams_contentrepository/doc/overview-frame.html (.../overview-frame.html) (revision b2a24acef8fef98a343582d3f67f0993a76a281b) @@ -2,7 +2,7 @@ - + Overview Index: lams_contentrepository/doc/overview-summary.html =================================================================== diff -u -rc95550f73f40e3070d2e0496f7a76546065e57bc -rb2a24acef8fef98a343582d3f67f0993a76a281b --- lams_contentrepository/doc/overview-summary.html (.../overview-summary.html) (revision c95550f73f40e3070d2e0496f7a76546065e57bc) +++ lams_contentrepository/doc/overview-summary.html (.../overview-summary.html) (revision b2a24acef8fef98a343582d3f67f0993a76a281b) @@ -2,7 +2,7 @@ - + Overview Index: lams_contentrepository/doc/overview-tree.html =================================================================== diff -u -rc95550f73f40e3070d2e0496f7a76546065e57bc -rb2a24acef8fef98a343582d3f67f0993a76a281b --- lams_contentrepository/doc/overview-tree.html (.../overview-tree.html) (revision c95550f73f40e3070d2e0496f7a76546065e57bc) +++ lams_contentrepository/doc/overview-tree.html (.../overview-tree.html) (revision b2a24acef8fef98a343582d3f67f0993a76a281b) @@ -2,7 +2,7 @@ - + Class Hierarchy @@ -108,6 +108,8 @@
  • class org.lamsfoundation.lams.contentrepository.dao.hibernate.WorkspaceDAO (implements org.lamsfoundation.lams.contentrepository.dao.IWorkspaceDAO)
  • class HttpServlet
      +
    • class org.lamsfoundation.lams.contentrepository.client.Download
    +
  • class HttpServlet
    • class org.lamsfoundation.lams.contentrepository.struts.action.Download
      • class org.lamsfoundation.lams.contentrepository.struts.action.TestLogin
    @@ -126,8 +128,9 @@
  • class org.lamsfoundation.lams.contentrepository.RepositoryRuntimeException -
  • class org.lamsfoundation.lams.contentrepository.client.ToolContentHandler +
  • class org.lamsfoundation.lams.contentrepository.client.ToolContentHandler (implements org.lamsfoundation.lams.contentrepository.client.IToolContentHandler) +

    Interface Hierarchy

    @@ -136,7 +139,7 @@
  • interface org.lamsfoundation.lams.contentrepository.IVersionDetail
  • interface org.lamsfoundation.lams.contentrepository.dao.ICredentialDAO
  • interface org.lamsfoundation.lams.contentrepository.dao.IFileDAO
  • interface org.lamsfoundation.lams.contentrepository.dao.INodeDAO
  • interface org.lamsfoundation.lams.contentrepository.service.IRepositoryService -
  • interface org.lamsfoundation.lams.contentrepository.ITicket
  • interface org.lamsfoundation.lams.contentrepository.IValue
  • interface org.lamsfoundation.lams.contentrepository.IVersionedNode
      +
    • interface org.lamsfoundation.lams.contentrepository.ITicket
    • interface org.lamsfoundation.lams.contentrepository.client.IToolContentHandler
    • interface org.lamsfoundation.lams.contentrepository.IValue
    • interface org.lamsfoundation.lams.contentrepository.IVersionedNode
    • interface org.lamsfoundation.lams.contentrepository.IWorkspace
    • interface org.lamsfoundation.lams.contentrepository.dao.IWorkspaceDAO
    • interface java.io.Serializable
      • interface org.lamsfoundation.lams.contentrepository.ICredentials