This project has retired. For details please refer to its
Attic page .
ImportProfile (Jetspeed 1 Enterprise Portal 1.6 API)
org.apache.jetspeed.om.profile
Class ImportProfile
java.lang.Object
org.apache.jetspeed.om.profile.BaseProfileLocator
org.apache.jetspeed.om.profile.BaseProfile
org.apache.jetspeed.om.profile.ImportProfile
All Implemented Interfaces: java.lang.Cloneable, Profile , ProfileLocator , java.io.Serializable
public class ImportProfile extends BaseProfile implements Profile
Represents a Profile object specially for importing PSML from one service to another (ex. file -> db or db -> file)
For getDocument, the provider service provides the PSML document.
For saveDocument, the consumer service writes the PSML document.
Version:
$Id: ImportProfile.java,v 1.4 2004/02/23 03:05:01 jford Exp $
Author:
David Sean Taylor
See Also: Serialized Form
Method Summary
java.lang.Object
clone ()
PSMLDocument
getDocument ()
Gets the root set of portlets for this profile object.
void
store ()
stores the resource by merging and rewriting the psml file
Methods inherited from class org.apache.jetspeed.om.profile.BaseProfileLocator
createFromPath , equals , getAnonymous , getCountry , getGroup , getGroupName , getId , getLanguage , getMediaType , getName , getPath , getRole , getRoleName , getUser , getUserName , setAnonymous , setCountry , setGroup , setGroupByName , setLanguage , setMediaType , setName , setRole , setRoleByName , setUser
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.jetspeed.om.profile.ProfileLocator
createFromPath , getAnonymous , getCountry , getGroup , getGroupName , getId , getLanguage , getMediaType , getName , getPath , getRole , getRoleName , getUser , getUserName , setAnonymous , setCountry , setGroup , setGroupByName , setLanguage , setMediaType , setName , setRole , setRoleByName , setUser
ImportProfile
public ImportProfile (PsmlManagerService provider,
PsmlManagerService consumer)
ImportProfile
public ImportProfile (PsmlManagerService provider,
PsmlManagerService consumer,
ProfileLocator locator)
clone
public java.lang.Object clone ()
throws java.lang.CloneNotSupportedException
Specified by: clone
in interface ProfileLocator
Overrides: clone
in class BaseProfile
Returns: an instance copy of this object
Throws:
java.lang.CloneNotSupportedException
See Also: Object.clone()
getDocument
public PSMLDocument getDocument ()
Gets the root set of portlets for this profile object.
Specified by: getDocument
in interface Profile
Overrides: getDocument
in class BaseProfile
Returns: The root portlet set for this profile.
store
public void store ()
throws ProfileException
stores the resource by merging and rewriting the psml file
Specified by: store
in interface Profile
Overrides: store
in class BaseProfile
Throws:
ProfileException
- if an error occurs storing the profile
Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.