edu.wisc.my.portlets.bookmarks.domain.support
Class FolderUtils

java.lang.Object
  extended by edu.wisc.my.portlets.bookmarks.domain.support.FolderUtils

public final class FolderUtils
extends java.lang.Object

Version:
$Revision: 12175 $
Author:
Eric Dalquist eric.dalquist@doit.wisc.edu

Method Summary
static Entry deepClone(Entry target, boolean copyIds)
           
static Bookmark deepCloneBookmark(Bookmark target, boolean copyIds)
           
static BookmarkSet deepCloneBookmarkSet(BookmarkSet target, boolean copyIds)
           
static Entry deepCloneEntry(Entry target, boolean copyIds)
           
static Folder deepCloneFolder(Folder target, boolean copyIds)
           
static boolean deepContains(Folder parent, Entry query)
           
static IdPathInfo getEntryInfo(Folder baseFolder, java.lang.String indexPath)
           
static IdPathInfo getEntryInfo(Folder baseFolder, java.lang.String idPath, java.lang.String regexDelimeter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getEntryInfo

public static IdPathInfo getEntryInfo(Folder baseFolder,
                                      java.lang.String indexPath)

getEntryInfo

public static IdPathInfo getEntryInfo(Folder baseFolder,
                                      java.lang.String idPath,
                                      java.lang.String regexDelimeter)
Parameters:
baseFolder -
idPath -
regexDelimeter -
Returns:
The IdPathInfo that represents the found Entry, null if no entry is found for the idPath.

deepContains

public static boolean deepContains(Folder parent,
                                   Entry query)

deepClone

public static Entry deepClone(Entry target,
                              boolean copyIds)

deepCloneEntry

public static Entry deepCloneEntry(Entry target,
                                   boolean copyIds)

deepCloneBookmark

public static Bookmark deepCloneBookmark(Bookmark target,
                                         boolean copyIds)

deepCloneFolder

public static Folder deepCloneFolder(Folder target,
                                     boolean copyIds)

deepCloneBookmarkSet

public static BookmarkSet deepCloneBookmarkSet(BookmarkSet target,
                                               boolean copyIds)


Copyright © 1998-2007 Java Architectures Special Interest Group. All Rights Reserved.