Package com.hybris.backoffice.services
Interface PerspectiveInfoService
-
- All Known Implementing Classes:
DefaultPerspectiveInfoService
public interface PerspectiveInfoServiceAllows to retrieve information about user perspectives.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetSelectedId()Returns identifier of the perspective selected by the user ornullif service does not store that information.booleanhasSelectedId()Tests whether service stores identifier of the perspective selected by the user.voidsetSelectedId(java.lang.String id)Sets identifier of the perspective selected by the user.
-
-
-
Method Detail
-
hasSelectedId
boolean hasSelectedId()
Tests whether service stores identifier of the perspective selected by the user.- Returns:
truewhether service stores identifier, otherwisefalse.
-
getSelectedId
java.lang.String getSelectedId()
Returns identifier of the perspective selected by the user ornullif service does not store that information.- Returns:
- selected perspective identifier or
null. - See Also:
hasSelectedId()
-
setSelectedId
void setSelectedId(java.lang.String id)
Sets identifier of the perspective selected by the user. This method does not change state for view or model.- Parameters:
id- the chosen perspective id.
-
-