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:
getUserId
in interfacecom.liferay.portal.kernel.portlet.PortalPreferences
-
getValue
- Specified by:
getValue
in interfacecom.liferay.portal.kernel.portlet.PortalPreferences
-
getValue
- Specified by:
getValue
in interfacecom.liferay.portal.kernel.portlet.PortalPreferences
-
getValues
- Specified by:
getValues
in interfacecom.liferay.portal.kernel.portlet.PortalPreferences
-
getValues
- Specified by:
getValues
in interfacecom.liferay.portal.kernel.portlet.PortalPreferences
-
hashCode
public int hashCode() -
isSignedIn
public boolean isSignedIn()- Specified by:
isSignedIn
in interfacecom.liferay.portal.kernel.portlet.PortalPreferences
-
reset
-
resetValues
- Specified by:
resetValues
in interfacecom.liferay.portal.kernel.portlet.PortalPreferences
-
setSignedIn
public void setSignedIn(boolean signedIn) - Specified by:
setSignedIn
in interfacecom.liferay.portal.kernel.portlet.PortalPreferences
-
setUserId
public void setUserId(long userId) - Specified by:
setUserId
in interfacecom.liferay.portal.kernel.portlet.PortalPreferences
-
setValue
- Specified by:
setValue
in interfacecom.liferay.portal.kernel.portlet.PortalPreferences
-
setValues
- Specified by:
setValues
in interfacecom.liferay.portal.kernel.portlet.PortalPreferences
-
size
public int size()- Specified by:
size
in interfacecom.liferay.portal.kernel.portlet.PortalPreferences
-
store
- Throws:
IOException
-
toXML
-