Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * #%L
  * BroadleafCommerce Framework
  * %%
  * Copyright (C) 2009 - 2013 Broadleaf Commerce
  * %%
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
 * 
 *       http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * #L%
 */
package org.broadleafcommerce.core.order.dao;
public interface FulfillmentGroupDao {
    public FulfillmentGroup readFulfillmentGroupById(Long fulfillmentGroupId);
    public FulfillmentGroup save(FulfillmentGroup fulfillmentGroup);
    public void delete(FulfillmentGroup fulfillmentGroup);
    public FulfillmentGroup createDefault();
    public FulfillmentGroup create();
    public FulfillmentGroupFee createFulfillmentGroupFee();
    
    
Reads FulfillmentGroups whose status is not FULFILLED or DELIVERED.

Parameters:
start
maxResults
Returns:
    public List<FulfillmentGroupreadUnfulfilledFulfillmentGroups(int startint maxResults);
    
    
Reads FulfillmentGroups whose status is PARTIALLY_FULFILLED or PARTIALLY_DELIVERED.

Parameters:
start
maxResults
Returns:
    public List<FulfillmentGroupreadPartiallyFulfilledFulfillmentGroups(int startint maxResults);
    
    
Returns FulfillmentGroups whose status is null, or where no processing has yet occured. Default returns in ascending order according to date that the order was created.

Parameters:
start
maxResults
Returns:
    public List<FulfillmentGroupreadUnprocessedFulfillmentGroups(int startint maxResults);
    
    
Reads FulfillmentGroups by status, either ascending or descending according to the date that the order was created.

Parameters:
status
start
maxResults
ascending
Returns:
    public List<FulfillmentGroupreadFulfillmentGroupsByStatus(FulfillmentGroupStatusType statusint startint maxResultsboolean ascending);
    
    
Reads FulfillmentGroups by status, ascending according to the date that the order was created.

Parameters:
status
start
maxResults
Returns:
    public List<FulfillmentGroupreadFulfillmentGroupsByStatus(FulfillmentGroupStatusType statusint startint maxResults);

    
Reads the max sequnce of fulfillment groups for a particular order and increments by 1.

Parameters:
order
Returns:
New to GrepCode? Check out our FAQ X