com.flexive.shared.interfaces
Interface SelectListEngine

All Known Subinterfaces:
SelectListEngineLocal

public interface SelectListEngine

SelectList management

Author:
Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)

Method Summary
 long getSelectListItemInstanceCount(long selectListItemId)
          Get the number of content instances using a given select list item,
 void remove(FxSelectList list)
          Remove a select list
 void remove(FxSelectListItem item)
          Remove a select list item
 long save(FxSelectListEdit list)
          Create or update a FxSelectList and all of its items
 long save(FxSelectListItemEdit item)
          Create or update a FxSelectListItem
 

Method Detail

save

long save(FxSelectListEdit list)
          throws FxApplicationException
Create or update a FxSelectList and all of its items

Parameters:
list - the FxSelectList to create or update
Returns:
id of the list
Throws:
FxApplicationException - on errors

save

long save(FxSelectListItemEdit item)
          throws FxApplicationException
Create or update a FxSelectListItem

Parameters:
item - the FxSelectListItem to create or update
Returns:
id of the item
Throws:
FxApplicationException - on errors

remove

void remove(FxSelectList list)
            throws FxApplicationException
Remove a select list

Parameters:
list - the list ro remove
Throws:
FxApplicationException - on errors

remove

void remove(FxSelectListItem item)
            throws FxApplicationException
Remove a select list item

Parameters:
item - the item to remove
Throws:
FxApplicationException - on errors

getSelectListItemInstanceCount

long getSelectListItemInstanceCount(long selectListItemId)
                                    throws FxApplicationException
Get the number of content instances using a given select list item,

Parameters:
selectListItemId - id of the requested select list item
Returns:
number of content instances using the select list item
Throws:
FxApplicationException - on errors