public interface PortletState
Modifier and Type | Field and Description |
---|---|
static long |
LOADCALLED |
static long |
LOADED |
static long |
NOTLOADED |
Modifier and Type | Method and Description |
---|---|
long |
getLoadState()
Returns load state
|
boolean |
hasData()
Returns true if has data
|
boolean |
isFilterOpen()
Returns whether portlet's filter is open
|
boolean |
isFilterToggled() |
boolean |
isMaximised()
Returns whether portlet is expanded
|
boolean |
isPortletLoaded()
Returns true if the portlet has been loaded && ignore reload is off
|
boolean |
isPortletNotLoaded(ComponentInstance component)
Returns true if portlet was never loaded
|
boolean |
isPortletUpdated()
Returns true of portlet was udpated
|
void |
setFilterOpen(boolean newFlag)
Sets filter open flag
|
void |
setFilterToggled(boolean flag)
Sets the filterToggled state
|
void |
setHasData(boolean newFlag)
Sets new has data flag
|
void |
setLoadState(long status)
/**
Sets load state
|
void |
setMaximised(boolean newFlag)
Returns whether portlet is expanded
|
void |
setPortletUpdated(boolean portletUpdated)
Sets portlet updated state
|
void |
setStateLoadCalled()
Use to set load called state
|
void |
setStateLoaded()
Use to set loaded state
|
boolean |
wasPortletLoadCalled()
Returns true if portlet was just called for load
|
static final long NOTLOADED
static final long LOADCALLED
static final long LOADED
boolean isPortletLoaded()
boolean wasPortletLoadCalled()
boolean isPortletNotLoaded(ComponentInstance component)
boolean hasData()
void setHasData(boolean newFlag)
long getLoadState()
void setLoadState(long status)
status
- boolean isPortletUpdated()
void setPortletUpdated(boolean portletUpdated)
portletUpdated
- boolean isFilterToggled()
void setFilterToggled(boolean flag)
void setMaximised(boolean newFlag)
boolean isMaximised()
boolean isFilterOpen()
void setFilterOpen(boolean newFlag)
void setStateLoaded()
void setStateLoadCalled()