org.alfresco.repo.domain
Interface ContentUrlDAO

All Known Implementing Classes:
HibernateContentUrlDAOImpl

public interface ContentUrlDAO

Abstraction for manipulating Content URL entities.

Since:
2.0

Nested Class Summary
static interface ContentUrlDAO.ContentUrlHandler
          A callback interface to handle Content URLS produced by iteration.
 
Method Summary
 ContentUrl createContentUrl(java.lang.String contentUrl)
          Create a new Content URL or get an existing instance.
 void deleteAllContentUrls()
          Delete all Content URL entities.
 void deleteContentUrl(java.lang.String contentUrl)
          Delete the Content URL.
 void deleteContentUrls(java.util.Set contentUrls)
          Delete a set of Content URL.
 void getAllContentUrls(ContentUrlDAO.ContentUrlHandler handler)
          Enumerate all the available Content URLs, calling back to the given handler.
 

Method Detail

createContentUrl

ContentUrl createContentUrl(java.lang.String contentUrl)
Create a new Content URL or get an existing instance.


getAllContentUrls

void getAllContentUrls(ContentUrlDAO.ContentUrlHandler handler)
Enumerate all the available Content URLs, calling back to the given handler.

Parameters:
handler - the component that will be called with each URL

deleteContentUrl

void deleteContentUrl(java.lang.String contentUrl)
Delete the Content URL.


deleteContentUrls

void deleteContentUrls(java.util.Set contentUrls)
Delete a set of Content URL.


deleteAllContentUrls

void deleteAllContentUrls()
Delete all Content URL entities.



Copyright © 2005 - 2008 Alfresco Software, Inc. All Rights Reserved.