public class MergedList extends ArrayList
| Modifier and Type | Class and Description |
|---|---|
static interface |
MergedList.ChannelReferenceMaker
Used to create a reference.
|
static interface |
MergedList.EntryProvider
This interface is used to describe a generic list entry provider so that
a variety of list entries can be used.
|
static interface |
MergedList.MergedEntry
channel entry used to communicate with the Velocity templates when dealing with merged channels.
|
modCount| Constructor and Description |
|---|
MergedList() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getAllPermittedChannels(MergedList.ChannelReferenceMaker refMaker)
Forms an array of all channel references to which the user has read access.
|
String[] |
getChannelReferenceArrayFromDelimitedString(String primarychannelReference,
String mergedInitParameterValue)
This gets a list of channels from the portlet configuration information.
|
String |
getDelimitedChannelReferenceString()
Loads data input by the user into this list and then saves the list to
the portlet config information.
|
List |
getReferenceList()
Returns an array of merged references.
|
void |
loadChannelsFromDelimitedString(boolean isOnWorkspaceTab,
boolean mergeAllOnWorkspaceTab,
MergedList.EntryProvider entryProvider,
String userId,
String[] channelArray,
boolean isSuperUser,
String currentSiteId)
loadChannelsFromDelimitedString
(see description on above method)
|
void |
loadChannelsFromDelimitedString(boolean isOnWorkspaceTab,
MergedList.EntryProvider entryProvider,
String userId,
String[] channelArray,
boolean isSuperUser,
String currentSiteId)
loadChannelsFromDelimitedString
Selects and loads channels from a list provided by the entryProvider
parameter.
|
void |
loadFromRunData(ParameterParser params)
Loads data input by the user into this list and then saves the list to
the portlet config information.
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic void loadChannelsFromDelimitedString(boolean isOnWorkspaceTab,
MergedList.EntryProvider entryProvider,
String userId,
String[] channelArray,
boolean isSuperUser,
String currentSiteId)
isOnWorkspaceTab - - true if this is the user's my workspaceentryProvider - - provides available channels for load/mergeuserId - - current userIdchannelArray - - array of selected channels for load/mergeisSuperUser - - if true, then don't merge all available channelscurrentSiteId - - current worksitepublic void loadChannelsFromDelimitedString(boolean isOnWorkspaceTab,
boolean mergeAllOnWorkspaceTab,
MergedList.EntryProvider entryProvider,
String userId,
String[] channelArray,
boolean isSuperUser,
String currentSiteId)
isOnWorkspaceTab - - true if this is the user's my workspacemergeAllOnWorkspaceTab - - if true, merge all channels in channelArrayentryProvider - - provides available channels for load/mergeuserId - - current userIdchannelArray - - array of selected channels for load/mergeisSuperUser - - if true, then don't merge all available channelscurrentSiteId - - current worksitepublic String[] getAllPermittedChannels(MergedList.ChannelReferenceMaker refMaker)
public String[] getChannelReferenceArrayFromDelimitedString(String primarychannelReference, String mergedInitParameterValue)
public void loadFromRunData(ParameterParser params)
public String getDelimitedChannelReferenceString()
public List getReferenceList()
Copyright © 2003–2022 Sakai Project. All rights reserved.