com.liferay.faces.bridge.preference
Class PreferenceValuesList

java.lang.Object
  extended by com.liferay.faces.bridge.preference.PreferenceValuesList
All Implemented Interfaces:
Iterable<String>, Collection<String>, List<String>

public class PreferenceValuesList
extends Object
implements List<String>

Author:
Neil Griffin

Constructor Summary
PreferenceValuesList(javax.portlet.PortletPreferences portletPreferences, String name)
           
 
Method Summary
 void add(int index, String value)
           
 boolean add(String value)
           
 boolean addAll(Collection<? extends String> values)
           
 boolean addAll(int index, Collection<? extends String> values)
           
 void clear()
           
 boolean contains(Object value)
           
 boolean containsAll(Collection<?> values)
           
 boolean equals(Object obj)
           
 String get(int index)
           
 int indexOf(Object value)
           
 boolean isEmpty()
           
 Iterator<String> iterator()
           
 int lastIndexOf(Object value)
           
 ListIterator<String> listIterator()
           
 ListIterator<String> listIterator(int arg0)
           
 String remove(int arg0)
           
 boolean remove(Object arg0)
           
 boolean removeAll(Collection<?> arg0)
           
 boolean retainAll(Collection<?> arg0)
           
 String set(int arg0, String arg1)
           
 int size()
           
 List<String> subList(int arg0, int arg1)
           
 Object[] toArray()
           
<T> T[]
toArray(T[] arg0)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.List
hashCode
 

Constructor Detail

PreferenceValuesList

public PreferenceValuesList(javax.portlet.PortletPreferences portletPreferences,
                            String name)
Method Detail

add

public boolean add(String value)
Specified by:
add in interface Collection<String>
Specified by:
add in interface List<String>

add

public void add(int index,
                String value)
Specified by:
add in interface List<String>

addAll

public boolean addAll(Collection<? extends String> values)
Specified by:
addAll in interface Collection<String>
Specified by:
addAll in interface List<String>

addAll

public boolean addAll(int index,
                      Collection<? extends String> values)
Specified by:
addAll in interface List<String>

clear

public void clear()
Specified by:
clear in interface Collection<String>
Specified by:
clear in interface List<String>

contains

public boolean contains(Object value)
Specified by:
contains in interface Collection<String>
Specified by:
contains in interface List<String>

containsAll

public boolean containsAll(Collection<?> values)
Specified by:
containsAll in interface Collection<String>
Specified by:
containsAll in interface List<String>

equals

public boolean equals(Object obj)
Specified by:
equals in interface Collection<String>
Specified by:
equals in interface List<String>
Overrides:
equals in class Object

get

public String get(int index)
Specified by:
get in interface List<String>

indexOf

public int indexOf(Object value)
Specified by:
indexOf in interface List<String>

iterator

public Iterator<String> iterator()
Specified by:
iterator in interface Iterable<String>
Specified by:
iterator in interface Collection<String>
Specified by:
iterator in interface List<String>

lastIndexOf

public int lastIndexOf(Object value)
Specified by:
lastIndexOf in interface List<String>

listIterator

public ListIterator<String> listIterator()
Specified by:
listIterator in interface List<String>

listIterator

public ListIterator<String> listIterator(int arg0)
Specified by:
listIterator in interface List<String>

remove

public boolean remove(Object arg0)
Specified by:
remove in interface Collection<String>
Specified by:
remove in interface List<String>

remove

public String remove(int arg0)
Specified by:
remove in interface List<String>

removeAll

public boolean removeAll(Collection<?> arg0)
Specified by:
removeAll in interface Collection<String>
Specified by:
removeAll in interface List<String>

retainAll

public boolean retainAll(Collection<?> arg0)
Specified by:
retainAll in interface Collection<String>
Specified by:
retainAll in interface List<String>

set

public String set(int arg0,
                  String arg1)
Specified by:
set in interface List<String>

size

public int size()
Specified by:
size in interface Collection<String>
Specified by:
size in interface List<String>

subList

public List<String> subList(int arg0,
                            int arg1)
Specified by:
subList in interface List<String>

toArray

public Object[] toArray()
Specified by:
toArray in interface Collection<String>
Specified by:
toArray in interface List<String>

toArray

public <T> T[] toArray(T[] arg0)
Specified by:
toArray in interface Collection<String>
Specified by:
toArray in interface List<String>

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Collection<String>
Specified by:
isEmpty in interface List<String>


Copyright © 2014 Liferay, Inc.. All Rights Reserved.