| java.lang.Object com.flexive.faces.beans.SystemBean
Method Summary | |
public ResultLocation | getAdminResultLocation() | public FxRequest.Browser | getBrowser() | public String | getBrowserAsString() | public String | getBuildInfo() | public String | getBuildInfoVerbose() | public Map<String, UIComponent> | getComponent() | public Map<String, List<FacesMessage>> | getComponentMessages() | public Map<String, Object> | getComponentValue() Provides parametric access to UIInput form values. | public Map<String, Boolean> | getContainsErrorId() Returns true if the current request's error messages contain the
given ID. | public Map<Object, FxContent> | getContent() Returns mapped access to FxContent instances indexed by primary key. | public FxContext | getContext() Return the
FxContext instance of the current request. | public String | getContextPath() | public Map<Object, Integer> | getCounter() Provides a key-based counter service for JSF pages. | public Map<Object, Integer> | getCounterValue() Like
SystemBean.getCounter() , but only returns the current counter value without incrementing it. | public long | getCurrentTimeMillis() Returns the current system timestamp. | public String | getDocumentBase() | public synchronized List<String> | getDrops() | public String | getEdition() | public String | getEditionFull() | public FxEnvironment | getEnvironment() Return the structure envirnoment (filtered for the current user). | public Map<String, String> | getEscapeForJavaScript() | public Map<Object, FxContent> | getExplodedContent()
Returns mapped access to FxContent instances indexed by primary key.
The key parameter can be of type
Long ,
String ,
com.flexive.shared.content.FxPK FxPK ,
or
com.flexive.shared.value.FxReference FxReference , as described in
com.flexive.shared.content.FxPK.fromObject(Object) .
The only difference to
SystemBean.getContent() is that the returned content instance is "exploded", i.e.
that empty top-level properties and groups are properly initialized and not returned as null. | public long | getFailedLoginAttempts() | public String | getFlexiveContextPath() | public List<FxFacesMessage> | getFxMessages() Returns all faces messages. | public List<FxFacesMessages> | getGroupedFxMessages() Returns all faces messages grouped by their summary. | public boolean | getHasGroupedFxMessages() Returns true if grouped FxMessages are available. | public String | getHeader() | public Map<String, Boolean> | getIsInRole() | public Map<String, Boolean> | getMessageExists() A utility lookup function that returns true when a message key can be resolved in
MessageBean , false otherwise. | public List<FacesMessage> | getMessages() Returns all faces messages. | public long | getPageId() Returns the unique page ID generated for flexive responses. | public long | getPageRenderTime() Returns the total render time at the moment of this method call. | public FxRequest | getRequest() | public FxResponseWrapper | getResponse() | public Map<FacesMessage.Severity, String> | getSeverityName() Returns the lower-case name of the given JSF message severity. | public String | getUniqueId() Returns a new unique ID, obtained from the view root. | public long | getUpdateLanguageId() | public UserTicket | getUserTicket() Returns the ticket of the calling user. | public Map<String, String> | getWeblet() Returns the URL of the weblet mapping of the given resource name (e.g. | public String | gotoPage() Returns the next page to display based on the request parameter page. | public boolean | isNewInstallation() | public boolean | isTreeModified() Return true if the content tree was modified in the current request. | public void | setUpdateLanguageId(long updateLanguageId) | public void | updateLanguage() Updates the current session language supplied in the "updateLanguageId" property
and re-renders the current page. |
getBrowser | public FxRequest.Browser getBrowser()(Code) | | Returns the browser that the client is using
the browser the client is using |
getBrowserAsString | public String getBrowserAsString()(Code) | | Returns the browser that the client is using
the browser the client is using |
getBuildInfo | public String getBuildInfo()(Code) | | Get information about the flexive build
information about the flexive build |
getBuildInfoVerbose | public String getBuildInfoVerbose()(Code) | | Get verbose information about the flexive build
verbose information about the flexive build |
getComponent | public Map<String, UIComponent> getComponent()(Code) | | Provides parametric access to components.
For example:
#{fxSystemBean.component['frm:myInputComponent']}
a mapped function returning components for clientIds |
getComponentValue | public Map<String, Object> getComponentValue()(Code) | | Provides parametric access to UIInput form values. Returns the submitted value during
decoding, if available, otherwise the value property is returned.
the UIInput value property |
getContainsErrorId | public Map<String, Boolean> getContainsErrorId()(Code) | | Returns true if the current request's error messages contain the
given ID.
a map that returns true if the requested key is contained in the current request's error message IDs |
getCounter | public Map<Object, Integer> getCounter()(Code) | | Provides a key-based counter service for JSF pages. Supply your (unique) key
and get an auto-incremented counter value, starting with 0.
a key-based counter service for JSF pages |
getCurrentTimeMillis | public long getCurrentTimeMillis()(Code) | | Returns the current system timestamp.
the current system timestamp. |
getDrops | public synchronized List<String> getDrops()(Code) | | Get a list of all installed and deployed drops
list of all installed and deployed drops |
getEdition | public String getEdition()(Code) | | Get the flexive edition
flexive edition |
getEditionFull | public String getEditionFull()(Code) | | Get the flexive edition with product
flexive edition with product |
getEnvironment | public FxEnvironment getEnvironment()(Code) | | Return the structure envirnoment (filtered for the current user).
the structure envirnoment (filtered for the current user). |
getEscapeForJavaScript | public Map<String, String> getEscapeForJavaScript()(Code) | | Escape a String for usage in java script (remove characters like ')
escaped String |
getFailedLoginAttempts | public long getFailedLoginAttempts()(Code) | | Get the number of failed login attempts
number of failed login attempts |
getFlexiveContextPath | public String getFlexiveContextPath()(Code) | | |
getGroupedFxMessages | public List<FxFacesMessages> getGroupedFxMessages()(Code) | | Returns all faces messages grouped by their summary.
all messages |
getHasGroupedFxMessages | public boolean getHasGroupedFxMessages()(Code) | | Returns true if grouped FxMessages are available.
true if grouped FxMessages are available |
getHeader | public String getHeader()(Code) | | Get the flexive header string
header string |
getIsInRole | public Map<String, Boolean> getIsInRole()(Code) | | Check via map if the calling user is in the given role
if the calling user is in the given role |
getMessageExists | public Map<String, Boolean> getMessageExists()(Code) | | A utility lookup function that returns true when a message key can be resolved in
MessageBean , false otherwise.
true when a message key can be resolved in MessageBean, false otherwise. |
getMessages | public List<FacesMessage> getMessages()(Code) | | Returns all faces messages.
all messages |
getPageId | public long getPageId()(Code) | | Returns the unique page ID generated for flexive responses.
the unique page ID generated for flexive responses. |
getPageRenderTime | public long getPageRenderTime()(Code) | | Returns the total render time at the moment of this method call.
the total render time at the moment of this method call. |
getSeverityName | public Map<FacesMessage.Severity, String> getSeverityName()(Code) | | Returns the lower-case name of the given JSF message severity.
the lower-case name of the given JSF message severity. |
getUniqueId | public String getUniqueId()(Code) | | Returns a new unique ID, obtained from the view root.
a new unique ID, obtained from the view root. |
getUpdateLanguageId | public long getUpdateLanguageId()(Code) | | |
getUserTicket | public UserTicket getUserTicket()(Code) | | Returns the ticket of the calling user.
the ticket of the calling user |
getWeblet | public Map<String, String> getWeblet()(Code) | | Returns the URL of the weblet mapping of the given resource name (e.g. "com.flexive.faces.web/js/flexiveComponents.js").
the URL of the weblet mapping of the given resource name (e.g. "com.flexive.faces.web/js/flexiveComponents.js"). |
gotoPage | public String gotoPage()(Code) | | Returns the next page to display based on the request parameter page.
the next page to display based on the request parameter page |
isNewInstallation | public boolean isNewInstallation()(Code) | | Return if this is a new flexive installation that needs initialization still
if this is a new flexive installation that needs initialization still |
isTreeModified | public boolean isTreeModified()(Code) | | Return true if the content tree was modified in the current request.
true if the content tree was modified in the current request. |
setUpdateLanguageId | public void setUpdateLanguageId(long updateLanguageId)(Code) | | |
updateLanguage | public void updateLanguage()(Code) | | Updates the current session language supplied in the "updateLanguageId" property
and re-renders the current page.
|
|
|