Examples of loadRuleListTable()


Examples of org.drools.guvnor.server.util.TableDisplayHandler.loadRuleListTable()

                resultList.add( ai );
            }
        }

        TableDisplayHandler handler = new TableDisplayHandler( "searchresults" );
        return handler.loadRuleListTable( resultList,
                                          skip,
                                          numRows );
    }

    private boolean checkPackagePermissionHelper(RepositoryFilter filter,
View Full Code Here

Examples of org.drools.guvnor.server.util.TableDisplayHandler.loadRuleListTable()

            }
        }

        TableDisplayHandler handler = new TableDisplayHandler( "searchresults" );

        return handler.loadRuleListTable( resultList,
                                          skip,
                                          numRows );

    }
View Full Code Here

Examples of org.drools.guvnor.server.util.TableDisplayHandler.loadRuleListTable()

                                                                             false,
                                                                             skip,
                                                                             numRows,
                                                                             filter );
        TableDisplayHandler handler = new TableDisplayHandler( tableConfig );
        return handler.loadRuleListTable( result );
    }

    /**
     * @deprecated in favour of {@link AbstractPagedTable}
     */
 
View Full Code Here

Examples of org.drools.guvnor.server.util.TableDisplayHandler.loadRuleListTable()

        if ( Contexts.isSessionContextActive() ) {
            if ( !Identity.instance().hasPermission( new CategoryPathType( categoryPath ),
                                                     RoleTypes.ANALYST_READ ) ) {

                TableDisplayHandler handler = new TableDisplayHandler( tableConfig );
                return handler.loadRuleListTable( new AssetItemPageResult() );
            }
        }

        AssetItemPageResult result = getRulesRepository().findAssetsByCategory( categoryPath,
                                                                                false,
View Full Code Here

Examples of org.drools.guvnor.server.util.TableDisplayHandler.loadRuleListTable()

        AssetItemPageResult result = getRulesRepository().findAssetsByCategory( categoryPath,
                                                                                false,
                                                                                skip,
                                                                                numRows );
        TableDisplayHandler handler = new TableDisplayHandler( tableConfig );
        return handler.loadRuleListTable( result );

    }

    protected PageResponse<CategoryPageRow> loadRuleListForCategories(CategoryPageRequest request)  {
View Full Code Here

Examples of org.drools.guvnor.server.util.TableDisplayHandler.loadRuleListTable()

        // First check the user has permission to access this categoryPath.
        if ( Contexts.isSessionContextActive() ) {
            if ( !Identity.instance().hasPermission( new CategoryPathType( categoryPath ), RoleTypes.ANALYST_READ ) ) {

                TableDisplayHandler handler = new TableDisplayHandler( tableConfig );
                return handler.loadRuleListTable( new AssetItemPageResult() );
            }
        }

        AssetItemPageResult result = repository.findAssetsByCategory( categoryPath, false, skip, numRows );
        TableDisplayHandler handler = new TableDisplayHandler( tableConfig );
View Full Code Here

Examples of org.drools.guvnor.server.util.TableDisplayHandler.loadRuleListTable()

            }
        }

        AssetItemPageResult result = repository.findAssetsByCategory( categoryPath, false, skip, numRows );
        TableDisplayHandler handler = new TableDisplayHandler( tableConfig );
        return handler.loadRuleListTable( result );

    }

    @WebRemote
    @Restrict("#{identity.loggedIn}")
View Full Code Here

Examples of org.drools.guvnor.server.util.TableDisplayHandler.loadRuleListTable()

        //TODO: May need to use a filter that acts on both package based and category based.
        RepositoryFilter filter = new AssetItemFilter();
        AssetItemPageResult result = repository.findAssetsByState( stateName, false, skip, numRows, filter );
        TableDisplayHandler handler = new TableDisplayHandler( tableConfig );
        return handler.loadRuleListTable( result );
    }

    @WebRemote
    @Restrict("#{identity.loggedIn}")
    public TableConfig loadTableConfig(String listName) {
View Full Code Here

Examples of org.drools.guvnor.server.util.TableDisplayHandler.loadRuleListTable()

        } else {
            it = pkg.listAssetsNotOfFormat( AssetFormatHelper.listRegisteredTypes() );
        }
        TableDisplayHandler handler = new TableDisplayHandler( tableConfig );
        log.debug( "time for asset list load: " + (System.currentTimeMillis() - start) );
        return handler.loadRuleListTable( it, skip, numRows );
    }

    @WebRemote
    @Restrict("#{identity.loggedIn}")
    public TableDataResult quickFindAsset(String searchText, boolean searchArchived, int skip, int numRows) throws SerializationException {
View Full Code Here

Examples of org.drools.guvnor.server.util.TableDisplayHandler.loadRuleListTable()

                resultList.add( ai );
            }
        }

        TableDisplayHandler handler = new TableDisplayHandler( "searchresults" );
        return handler.loadRuleListTable( resultList, skip, numRows );
    }

    @WebRemote
    @Restrict("#{identity.loggedIn}")
    public TableDataResult queryFullText(String text, boolean seekArchived, int skip, int numRows) throws SerializationException {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.