org.apache.jetspeed.om.profile
Class BaseProfileLocator

java.lang.Object
  extended byorg.apache.jetspeed.om.profile.BaseProfileLocator
All Implemented Interfaces:
java.lang.Cloneable, ProfileLocator, java.io.Serializable
Direct Known Subclasses:
BaseProfile, QueryLocator

public class BaseProfileLocator
extends java.lang.Object
implements ProfileLocator

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: BaseProfileLocator.java,v 1.21 2004/02/23 03:05:01 jford Exp $
Author:
David Sean Taylor, Atul Dambalkar
See Also:
Serialized Form

Constructor Summary
BaseProfileLocator()
           
 
Method Summary
 java.lang.Object clone()
           
 void createFromPath(java.lang.String path)
           
 boolean equals(java.lang.Object obj)
          Define equality criteria for ProfileLocator objects.
 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)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseProfileLocator

public BaseProfileLocator()
Method Detail

getId

public java.lang.String getId()
Specified by:
getId in interface ProfileLocator

getPath

public java.lang.String getPath()
Specified by:
getPath in interface ProfileLocator

createFromPath

public void createFromPath(java.lang.String path)
Specified by:
createFromPath in interface ProfileLocator

clone

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

getName

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

setName

public void setName(java.lang.String name)
Specified by:
setName in interface ProfileLocator

getAnonymous

public boolean getAnonymous()
Specified by:
getAnonymous in interface ProfileLocator

setAnonymous

public void setAnonymous(boolean anonymous)
Specified by:
setAnonymous in interface ProfileLocator

getMediaType

public java.lang.String getMediaType()
Specified by:
getMediaType in interface ProfileLocator

setMediaType

public void setMediaType(java.lang.String mediaType)
Specified by:
setMediaType in interface ProfileLocator

getLanguage

public java.lang.String getLanguage()
Specified by:
getLanguage in interface ProfileLocator

setLanguage

public void setLanguage(java.lang.String language)
Specified by:
setLanguage in interface ProfileLocator

getCountry

public java.lang.String getCountry()
Specified by:
getCountry in interface ProfileLocator

setCountry

public void setCountry(java.lang.String country)
Specified by:
setCountry in interface ProfileLocator

getUser

public JetspeedUser getUser()
Specified by:
getUser in interface ProfileLocator

getUserName

public java.lang.String getUserName()
Specified by:
getUserName in interface ProfileLocator

setUser

public void setUser(JetspeedUser user)
Specified by:
setUser in interface ProfileLocator

getRole

public Role getRole()
Specified by:
getRole in interface ProfileLocator

getRoleName

public java.lang.String getRoleName()
Specified by:
getRoleName in interface ProfileLocator

setRole

public void setRole(Role role)
Specified by:
setRole in interface ProfileLocator

setRoleByName

public void setRoleByName(java.lang.String roleName)
Specified by:
setRoleByName in interface ProfileLocator

getGroup

public Group getGroup()
Specified by:
getGroup in interface ProfileLocator

getGroupName

public java.lang.String getGroupName()
Specified by:
getGroupName in interface ProfileLocator

setGroup

public void setGroup(Group group)
Specified by:
setGroup in interface ProfileLocator

setGroupByName

public void setGroupByName(java.lang.String groupName)
Specified by:
setGroupByName in interface ProfileLocator

equals

public boolean equals(java.lang.Object obj)
Define equality criteria for ProfileLocator objects.

Parameters:
obj - ProfileLocator object to be compared with.


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