|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IdGenerator
Used to generate UUID of components and pages and ID of desktops.
Component.getUuid(),
Page.getUuid(),
Desktop.getId()| Method Summary | |
|---|---|
java.lang.String |
nextComponentUuid(Desktop desktop,
Component comp)
Returns the next component UUID for the specified component, or null to generate the default UUID. |
java.lang.String |
nextDesktopId(Desktop desktop)
Returns the next desktop ID for the specified desktop, or null to generate the default UUID. |
java.lang.String |
nextPageUuid(Page page)
Returns the next page UUID for the specified page, or null to generate the default UUID. |
| Method Detail |
|---|
java.lang.String nextComponentUuid(Desktop desktop,
Component comp)
This method is called when Component.getUuid()
is called at the first time. It is usually when
the component is attached to a page, unless the application
invokes Component.getUuid() earlier.
desktop - the current desktop (never null)comp - the component (never null)
java.lang.String nextPageUuid(Page page)
Note: we can retrieve the execution by use of
Executions.getCurrent().
java.lang.String nextDesktopId(Desktop desktop)
Note: we can retrieve the execution by use of
Desktop.getExecution(), or Executions.getCurrent().
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||