edu.wisc.my.portlets.bookmarks.domain
Class CollectionFolder

java.lang.Object
  extended by edu.wisc.my.portlets.bookmarks.domain.Entry
      extended by edu.wisc.my.portlets.bookmarks.domain.CollectionFolder
All Implemented Interfaces:
CollapsibleEntry, java.io.Serializable

public class CollectionFolder
extends Entry
implements CollapsibleEntry

See Also:
Serialized Form

Constructor Summary
CollectionFolder()
           
 
Method Summary
 java.util.Map<java.lang.Long,Entry> getChildren()
           
 java.util.List<Entry> getSortedChildren()
          Returns an immutable sorted view of the values of the children Map.
 java.lang.String getUrl()
           
 boolean isMinimized()
           
 void setMinimized(boolean minimized)
           
 void setUrl(java.lang.String url)
           
 
Methods inherited from class edu.wisc.my.portlets.bookmarks.domain.Entry
equals, getCreated, getId, getModified, getName, getNote, getNoteLines, hashCode, setCreated, setId, setModified, setName, setNote, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CollectionFolder

public CollectionFolder()
Method Detail

getChildren

public java.util.Map<java.lang.Long,Entry> getChildren()
Returns:
Returns the children, will never return null.

isMinimized

public boolean isMinimized()
Specified by:
isMinimized in interface CollapsibleEntry
Returns:
Returns the minimized.

setMinimized

public void setMinimized(boolean minimized)
Specified by:
setMinimized in interface CollapsibleEntry
Parameters:
minimized - The minimized to set.

getSortedChildren

public java.util.List<Entry> getSortedChildren()
Returns an immutable sorted view of the values of the children Map. The sorting is done using the current childComparator. Warning, this is has a time cost of 2n log(n) on every call.

Returns:
An immutable sorted view of the folder's children.

getUrl

public java.lang.String getUrl()

setUrl

public void setUrl(java.lang.String url)


Copyright © 2012 Jasig. All Rights Reserved.