|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.cms.beans.config.URI2RepositoryMapping
public class URI2RepositoryMapping
Describes a uri to repository mapping.
Constructor Summary | |
---|---|
URI2RepositoryMapping()
|
|
URI2RepositoryMapping(java.lang.String uriPrefix,
java.lang.String repository,
java.lang.String handlePrefix)
|
Method Summary | |
---|---|
java.lang.String |
getHandle(java.lang.String uri)
Create a node handle based on an uri. |
java.lang.String |
getHandlePrefix()
|
java.lang.String |
getRepository()
|
java.lang.String |
getURI(Link uuidLink)
|
java.lang.String |
getURI(java.lang.String handle)
Create a uri based on a handle. |
java.lang.String |
getURIPrefix()
|
boolean |
matches(java.lang.String uri)
True if this mapping can get applied to the specified uri. |
void |
setHandlePrefix(java.lang.String handlePrefix)
|
void |
setRepository(java.lang.String repository)
|
void |
setURIPrefix(java.lang.String uriPrefix)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public URI2RepositoryMapping(java.lang.String uriPrefix, java.lang.String repository, java.lang.String handlePrefix)
public URI2RepositoryMapping()
Method Detail |
---|
public boolean matches(java.lang.String uri)
public java.lang.String getHandle(java.lang.String uri)
public java.lang.String getURI(java.lang.String handle)
public java.lang.String getURI(Link uuidLink)
public java.lang.String getHandlePrefix()
public void setHandlePrefix(java.lang.String handlePrefix)
public java.lang.String getRepository()
public void setRepository(java.lang.String repository)
public java.lang.String getURIPrefix()
public void setURIPrefix(java.lang.String uriPrefix)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |