Package com.liferay.portlet
Class PortalPreferencesImpl
Object
com.liferay.portlet.PortalPreferencesImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.portlet.PortalPreferences,Serializable,Cloneable
public class PortalPreferencesImpl
extends Object
implements Cloneable, com.liferay.portal.kernel.portlet.PortalPreferences, Serializable
- Author:
- Brian Wing Shun Chan, Alexander Chow
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.liferay.portal.kernel.transaction.TransactionConfig -
Constructor Summary
ConstructorsConstructorDescriptionPortalPreferencesImpl(long ownerId, int ownerType, Map<PortalPreferenceKey, String[]> preferences, boolean signedIn) -
Method Summary
-
Field Details
-
SUPPORTS_TRANSACTION_CONFIG
public static final com.liferay.portal.kernel.transaction.TransactionConfig SUPPORTS_TRANSACTION_CONFIG
-
-
Constructor Details
-
PortalPreferencesImpl
public PortalPreferencesImpl() -
PortalPreferencesImpl
public PortalPreferencesImpl(long ownerId, int ownerType, Map<PortalPreferenceKey, String[]> preferences, boolean signedIn)
-
-
Method Details
-
clone
-
equals
-
getMap
-
getNames
-
getOwnerId
public long getOwnerId() -
getOwnerType
public int getOwnerType() -
getPreferences
-
getUserId
public long getUserId()- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.portlet.PortalPreferences
-
getValue
- Specified by:
getValuein interfacecom.liferay.portal.kernel.portlet.PortalPreferences
-
getValue
- Specified by:
getValuein interfacecom.liferay.portal.kernel.portlet.PortalPreferences
-
getValues
- Specified by:
getValuesin interfacecom.liferay.portal.kernel.portlet.PortalPreferences
-
getValues
- Specified by:
getValuesin interfacecom.liferay.portal.kernel.portlet.PortalPreferences
-
hashCode
public int hashCode() -
isSignedIn
public boolean isSignedIn()- Specified by:
isSignedInin interfacecom.liferay.portal.kernel.portlet.PortalPreferences
-
reset
-
resetValues
- Specified by:
resetValuesin interfacecom.liferay.portal.kernel.portlet.PortalPreferences
-
setSignedIn
public void setSignedIn(boolean signedIn) - Specified by:
setSignedInin interfacecom.liferay.portal.kernel.portlet.PortalPreferences
-
setUserId
public void setUserId(long userId) - Specified by:
setUserIdin interfacecom.liferay.portal.kernel.portlet.PortalPreferences
-
setValue
- Specified by:
setValuein interfacecom.liferay.portal.kernel.portlet.PortalPreferences
-
setValues
- Specified by:
setValuesin interfacecom.liferay.portal.kernel.portlet.PortalPreferences
-
size
public int size()- Specified by:
sizein interfacecom.liferay.portal.kernel.portlet.PortalPreferences
-
store
- Throws:
IOException
-
toXML
-