Class SecureIdGenerator

  • All Implemented Interfaces:
    org.zkoss.zk.ui.sys.IdGenerator

    public class SecureIdGenerator
    extends java.lang.Object
    implements org.zkoss.zk.ui.sys.IdGenerator
    Generator for secure desktop-IDs. The IDs are generated by UUID.randomUUID(). UUIDs for new components and pages are generated by ZK's default algorithm.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String nextComponentUuid​(org.zkoss.zk.ui.Desktop desktop, org.zkoss.zk.ui.Component comp, org.zkoss.zk.ui.metainfo.ComponentInfo compInfo)  
      java.lang.String nextDesktopId​(org.zkoss.zk.ui.Desktop desktop)  
      java.lang.String nextPageUuid​(org.zkoss.zk.ui.Page page)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SecureIdGenerator

        public SecureIdGenerator()
    • Method Detail

      • nextComponentUuid

        public java.lang.String nextComponentUuid​(org.zkoss.zk.ui.Desktop desktop,
                                                  org.zkoss.zk.ui.Component comp,
                                                  org.zkoss.zk.ui.metainfo.ComponentInfo compInfo)
        Specified by:
        nextComponentUuid in interface org.zkoss.zk.ui.sys.IdGenerator
      • nextPageUuid

        public java.lang.String nextPageUuid​(org.zkoss.zk.ui.Page page)
        Specified by:
        nextPageUuid in interface org.zkoss.zk.ui.sys.IdGenerator
      • nextDesktopId

        public java.lang.String nextDesktopId​(org.zkoss.zk.ui.Desktop desktop)
        Specified by:
        nextDesktopId in interface org.zkoss.zk.ui.sys.IdGenerator