Package lumis.portal.presentation
Class CurrentPageDocType
- java.lang.Object
-
- lumis.portal.presentation.CurrentPageDocType
-
public class CurrentPageDocType extends Object
CurrentPageDocType
holder.- Since:
- 8.2.0
- Version:
- $Revision: 18135 $ $Date: 2015-12-15 17:31:03 -0200 (Tue, 15 Dec 2015) $
-
-
Constructor Summary
Constructors Constructor Description CurrentPageDocType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PageDocType
get()
Returns the current doc type, if any.static PageDocType
get(HttpServletRequest request)
Returns the current doc type, if any.static void
remove()
Removes current doc type.static void
set(PageDocType docType, HttpServletRequest request)
Stores current doc type.
-
-
-
Method Detail
-
set
public static void set(PageDocType docType, HttpServletRequest request)
Stores current doc type.- Parameters:
docType
- the doc type.request
- the request.- Since:
- 8.2.0
-
get
public static PageDocType get()
Returns the current doc type, if any.- Returns:
- the current doc type, if any.
- Since:
- 8.2.0
-
get
public static PageDocType get(HttpServletRequest request)
Returns the current doc type, if any.- Parameters:
request
- the request being processed.- Returns:
- the current doc type, if any.
- Since:
- 8.2.0
-
remove
public static void remove()
Removes current doc type.- Since:
- 8.2.0
-
-