Package org.drools.guvnor.client.rpc

Examples of org.drools.guvnor.client.rpc.QueryPageRow


import org.drools.guvnor.client.rpc.QueryPageRow;
import org.drools.repository.AssetItem;

public class QueryPageRowCreator {
    public static QueryPageRow makeQueryPageRow(AssetItem assetItem) {
        QueryPageRow row = new QueryPageRow();
        row.setUuid( assetItem.getUUID() );
        row.setFormat( assetItem.getFormat() );
        row.setName( assetItem.getName() );
        row.setDescription( assetItem.getDescription() );
        row.setAbbreviatedDescription( StringUtils.abbreviate( assetItem.getDescription(),
                                                               80 ) );
        row.setPackageName( assetItem.getModuleName() );
        row.setCreatedDate( assetItem.getCreatedDate().getTime() );
        row.setLastModified( assetItem.getLastModified().getTime() );
        return row;
    }
View Full Code Here


import org.drools.guvnor.client.rpc.QueryPageRow;
import org.drools.repository.AssetItem;

public class QueryPageRowCreator {
    public static QueryPageRow makeQueryPageRow(AssetItem assetItem) {
        QueryPageRow row = new QueryPageRow();
        row.setUuid( assetItem.getUUID() );
        row.setFormat( assetItem.getFormat() );
        row.setName( assetItem.getName() );
        row.setDescription( assetItem.getDescription() );
        row.setAbbreviatedDescription( StringUtils.abbreviate( assetItem.getDescription(),
                                                               80 ) );
        row.setPackageName( assetItem.getPackageName() );
        row.setCreatedDate( assetItem.getCreatedDate().getTime() );
        row.setLastModified( assetItem.getLastModified().getTime() );
        return row;
    }
View Full Code Here

TOP

Related Classes of org.drools.guvnor.client.rpc.QueryPageRow

Copyright © 2018 www.massapicom. 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.