blackboard.data.content
Class ContentHandlerWrapper
java.lang.Object
blackboard.data.content.ContentHandlerWrapper
public class ContentHandlerWrapper
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static ContentHandlerWrapper getInstance(Course crs)
getDefaultInstance
public static ContentHandlerWrapper getDefaultInstance()
getAvailableContentHandlers
public java.util.List getAvailableContentHandlers()
getName
public java.lang.String getName(ContentHandler ch)
getCreateUrl
public java.lang.String getCreateUrl(ContentHandler ch,
Content parent)
getIconToolbarUrl
public java.lang.String getIconToolbarUrl(ContentHandler ch)
getIconListUrl
public java.lang.String getIconListUrl(Content cnt)
getModifyUrl
public java.lang.String getModifyUrl(Content cnt)
canCopy
public boolean canCopy(Content cnt)
getContentViewUrl
public java.lang.String getContentViewUrl(Content content,
User user)
getContentViewUrl
public java.lang.String getContentViewUrl(Content content)
- Returns the URL for viewing the content in its location within the Course Content UI.
If the Content object is a folder, the URL returned by this method points to
the Content object itself.
If the Content object is not a folder, and the Content object's parent Id is set,
then the URL returned by this method points to the Content object's parent.
If the Content object is not a folder, and the Content object's parent Id is not
set, then the URL returned by this method points to the Content object.
- Parameters:
content
-
- Returns:
- String The URL for navigating to the Content object in the Course Content UI
getCpViewUrl
public java.lang.String getCpViewUrl(Content cnt)
getViewUrl
public java.lang.String getViewUrl(Content cnt)
getRemoveUrl
public java.lang.String getRemoveUrl(Content cnt)
Copyright © 2003 Blackboard, Inc. All Rights Reserved.