Class UserGroupTransform

    • Constructor Detail

      • UserGroupTransform

        public UserGroupTransform()
    • Method Detail

      • initializeTransform

        public void initializeTransform​(Transformable data)
        Description copied from class: AbstractAppTransform

        This method initialize the private and protected fields of the transform, such as width and height. It also invokes the initializeWebComponent, initializeImages and initializeCss methods.

        This method is automatically called from the transform method. Transforms which would like to invoke other methods in this instance directly (for example, to invoke some render methods), need first to call this method to guarantee that the Transform is ready to generate output.
        Specified by:
        initializeTransform in interface AppTransform
        initializeTransform in class UserEntitiesTransform
        data - the bean to transform.
      • getSupportedBeanType

        public java.lang.Class getSupportedBeanType()
        Description copied from class: AbstractAppTransform
        Returns the supported bean type. This abstract Transform supports all WebComponents so every sub-class should override this method to return the class of the Bean the Transform is expecting, for example:
         public class CustomReportClass extends AbstractAppTransform {
            public Class getSupportedBeanType() {
                //This Transform is expected to work only with a ReportBean,
                //therefore this method needs to return this class:
                return ReportBean.class;
        Specified by:
        getSupportedBeanType in interface Transform
        getSupportedBeanType in class UserEntitiesTransform
        a root class/interface supported by this transform.
      • getGoToEvent

        public WebEvent getGoToEvent()
        getGoToEvent in class UserEntitiesTransform
        WebEvent instance with the information for handling incremental fetch requests on the list of objects being rendered by this transform. If not supported, it will return null
      • getBlockPosition

        protected int getBlockPosition()
        getBlockPosition in class UserEntitiesTransform
        value of the property indicating the index of the first element currently being viewed as part of the list output. Used for incremental fetch purposes.
      • getBlockSize

        protected int getBlockSize()
        getBlockSize in class UserEntitiesTransform
        value of the property indicating the number of elements included on a single 'page' of the list output. Used for incremental fetch purposes.
      • getChildCount

        protected int getChildCount()
        getChildCount in class UserEntitiesTransform
        the total number of elements that are included on the list that could be rendered by this transform. Used for incremental fetch purposes.