sets the initial defaults for the pagecontrol . sort attribute specifies which attribute to sort on . concode_field_sep int sortorder concode_elem_sep Serializable metaData concode_elem_sep int SORT_ASC concode_elem_sep int SORT_UNSORTED concode_elem_sep int pagenum concode_elem_sep int pagesize concode_elem_sep int SIZE_UNLIMITED concode_elem_sep int sortattribute concode_elem_sep int SORT_DESC concode_field_sep int getSortattribute concode_elem_sep boolean isDescending concode_elem_sep void setSortattribute concode_elem_sep int getPagesize concode_elem_sep void setSortorder concode_elem_sep int getPageEntityIndex concode_elem_sep int getPagenum concode_elem_sep void setPagesize concode_elem_sep void setPagenum concode_elem_sep int getSortorder concode_elem_sep Object clone concode_elem_sep String toString concode_elem_sep boolean isAscending concode_elem_sep Serializable getMetaData concode_elem_sep void getMetaData
PageControl function ( PageControl arg0 , int arg1 ) { if ( arg0 == null ) { arg0 = new PageControl ( ) ; } else { arg0 = ( PageControl ) arg0 . clone ( ) ; } if ( arg0 . getSortattribute ( ) == SortAttribute . DEFAULT ) { arg0 . setSortattribute ( arg1 ) ; } if ( arg0 . getSortorder ( ) == SORT_UNSORTED ) { arg0 . setSortorder ( SORT_ASC ) ; } return arg0 ; }