com.arsdigita.portalserver
Class CWURLFinder

java.lang.Object
  extended bycom.arsdigita.portalserver.CWURLFinder
All Implemented Interfaces:
com.arsdigita.kernel.URLFinder

public class CWURLFinder
extends Object
implements com.arsdigita.kernel.URLFinder

Experimental A URLFinder that can be registered for most object types. The CWURLFinder is constructed with a specified URL pattern such as one-ticket?ticket_id=:id.

Author:
Oumi Mehrotra (oumi@arsdigita.com)

Field Summary
static String versionId
           
 
Constructor Summary
CWURLFinder(String urlEndingPattern)
           
 
Method Summary
 String find(com.arsdigita.persistence.OID oid)
           
 String find(com.arsdigita.persistence.OID oid, String context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

CWURLFinder

public CWURLFinder(String urlEndingPattern)
Method Detail

find

public String find(com.arsdigita.persistence.OID oid,
                   String context)
            throws com.arsdigita.kernel.NoValidURLException
Specified by:
find in interface com.arsdigita.kernel.URLFinder
Throws:
com.arsdigita.kernel.NoValidURLException

find

public String find(com.arsdigita.persistence.OID oid)
            throws com.arsdigita.kernel.NoValidURLException
Specified by:
find in interface com.arsdigita.kernel.URLFinder
Throws:
com.arsdigita.kernel.NoValidURLException


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2344 UTC