org.apache.jetspeed.om.profile
Interface ProfileLocator

All Superinterfaces:
java.lang.Cloneable, java.io.Serializable
All Known Subinterfaces:
Profile
All Known Implementing Classes:
BaseProfile, BaseProfileLocator, ImportProfile

public interface ProfileLocator
extends java.io.Serializable, java.lang.Cloneable

Interface definition for a Profile Locator. Locators are used by the profiler to describe the parameters used to locate a resource in the persistent configuration store.

Version:
$Id: ProfileLocator.java,v 1.10 2004/02/23 03:05:01 jford Exp $
Author:
David Sean Taylor

Method Summary
 java.lang.Object clone()
           
 void createFromPath(java.lang.String path)
           
 boolean getAnonymous()
           
 java.lang.String getCountry()
           
 Group getGroup()
           
 java.lang.String getGroupName()
           
 java.lang.String getId()
           
 java.lang.String getLanguage()
           
 java.lang.String getMediaType()
           
 java.lang.String getName()
           
 java.lang.String getPath()
           
 Role getRole()
           
 java.lang.String getRoleName()
           
 JetspeedUser getUser()
           
 java.lang.String getUserName()
           
 void setAnonymous(boolean anonymous)
           
 void setCountry(java.lang.String country)
           
 void setGroup(Group group)
           
 void setGroupByName(java.lang.String groupName)
           
 void setLanguage(java.lang.String language)
           
 void setMediaType(java.lang.String mediaType)
           
 void setName(java.lang.String name)
           
 void setRole(Role role)
           
 void setRoleByName(java.lang.String roleName)
           
 void setUser(JetspeedUser user)
           
 

Method Detail

createFromPath

public void createFromPath(java.lang.String path)

getId

public java.lang.String getId()

getPath

public java.lang.String getPath()

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getMediaType

public java.lang.String getMediaType()

setMediaType

public void setMediaType(java.lang.String mediaType)

getLanguage

public java.lang.String getLanguage()

setLanguage

public void setLanguage(java.lang.String language)

getCountry

public java.lang.String getCountry()

setCountry

public void setCountry(java.lang.String country)

getUser

public JetspeedUser getUser()

getUserName

public java.lang.String getUserName()

setUser

public void setUser(JetspeedUser user)

getAnonymous

public boolean getAnonymous()

setAnonymous

public void setAnonymous(boolean anonymous)

getRole

public Role getRole()

getRoleName

public java.lang.String getRoleName()

setRole

public void setRole(Role role)

setRoleByName

public void setRoleByName(java.lang.String roleName)

getGroup

public Group getGroup()

getGroupName

public java.lang.String getGroupName()

setGroup

public void setGroup(Group group)

setGroupByName

public void setGroupByName(java.lang.String groupName)

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Returns:
an instance copy of this object
Throws:
java.lang.CloneNotSupportedException
See Also:
Object.clone()


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.