Liferay 6.1.2-ce-ga3

com.liferay.portlet
Interface PortalPreferences

All Superinterfaces:
Serializable
All Known Implementing Classes:
PortalPreferencesImpl

public interface PortalPreferences
extends Serializable


Method Summary
 long getUserId()
           
 String getValue(String namespace, String key)
           
 String getValue(String namespace, String key, String defaultValue)
           
 String[] getValues(String namespace, String key)
           
 String[] getValues(String namespace, String key, String[] defaultValue)
           
 boolean isSignedIn()
           
 void resetValues(String namespace)
           
 void setSignedIn(boolean signedIn)
           
 void setUserId(long userId)
           
 void setValue(String namespace, String key, String value)
           
 void setValues(String namespace, String key, String[] values)
           
 int size()
           
 

Method Detail

getUserId

long getUserId()

getValue

String getValue(String namespace,
                String key)

getValue

String getValue(String namespace,
                String key,
                String defaultValue)

getValues

String[] getValues(String namespace,
                   String key)

getValues

String[] getValues(String namespace,
                   String key,
                   String[] defaultValue)

isSignedIn

boolean isSignedIn()

resetValues

void resetValues(String namespace)

setSignedIn

void setSignedIn(boolean signedIn)

setUserId

void setUserId(long userId)

setValue

void setValue(String namespace,
              String key,
              String value)

setValues

void setValues(String namespace,
               String key,
               String[] values)

size

int size()

Liferay 6.1.2-ce-ga3