atg.svc.repository.beans
Interface SlotHome

All Superinterfaces:
javax.ejb.EJBLocalHome
All Known Implementing Classes:
_SlotHome_BeanImpl, _SlotHome_ReposImpl

public interface SlotHome
extends javax.ejb.EJBLocalHome

Finder Summaries

Finder Name Finder Description Returns
findByPrimaryKey one
findAllFinds all Slotsmany
findAllSlotsByItemDescriptorFinds all Slots ordered by item descriptormany
findAllSlotsByItemDescriptorReverseFinds all Slots ordered by item descriptor, in reversemany
findAllSlotsByNameFinds all Slots ordered by namemany
findAllSlotsByNameReverseFinds all Slots ordered by name, in reversemany
findAllSlotsByOrderingFinds all Slots ordered by orderingmany
findAllSlotsByOrderingReverseFinds all Slots ordered by ordering, in reversemany
findAllSlotsByRetrievalFinds all Slots ordered by retrievalmany
findAllSlotsByRetrievalReverseFinds all Slots ordered by retrieval, in reversemany


Method Summary
 Slot create()
          Returns a new instance.
 Slot create(java.lang.String pId)
          Returns a new instance with the repository id set to the given id.
 java.util.Collection findAll()
          Finds all Slots
 java.util.Collection findAllSlotsByItemDescriptor()
          Finds all Slots ordered by item descriptor
 java.util.Collection findAllSlotsByItemDescriptorReverse()
          Finds all Slots ordered by item descriptor, in reverse
 java.util.Collection findAllSlotsByName()
          Finds all Slots ordered by name
 java.util.Collection findAllSlotsByNameReverse()
          Finds all Slots ordered by name, in reverse
 java.util.Collection findAllSlotsByOrdering()
          Finds all Slots ordered by ordering
 java.util.Collection findAllSlotsByOrderingReverse()
          Finds all Slots ordered by ordering, in reverse
 java.util.Collection findAllSlotsByRetrieval()
          Finds all Slots ordered by retrieval
 java.util.Collection findAllSlotsByRetrievalReverse()
          Finds all Slots ordered by retrieval, in reverse
 Slot findByPrimaryKey(java.lang.String primaryKey)
          Returns the instance with the given primary key, throws ObjectNotFoundException if the instance is not found.
 Slot wrapRepositoryItem(atg.repository.RepositoryItem pRepositoryItem)
           
 java.util.Collection wrapRepositoryItems(java.util.Collection pRepositoryItems)
           
 
Methods inherited from interface javax.ejb.EJBLocalHome
remove
 

Method Detail

create

Slot create()
            throws javax.ejb.CreateException,
                   javax.ejb.EJBException
Returns a new instance. The properties are set to default values, and may be changed by using the appropriate setter methods. The instance may be a repository or bean implementation depending on how this home's factory was obtained. If the instance is backed by a persistent implementation, it may not actually be persisted until Slot.writeInstance() is called on the instance (and the transaction is committed, if the implementation is transaction-aware).

Throws:
javax.ejb.CreateException
javax.ejb.EJBException

create

Slot create(java.lang.String pId)
            throws javax.ejb.CreateException,
                   javax.ejb.EJBException
Returns a new instance with the repository id set to the given id. The properties are set to default values, and may be changed by using the appropriate setter methods. The instance may be a repository or bean implementation depending on how this home's factory was obtained. If the instance is backed by a persistent implementation, it may not actually be persisted until Slot.writeInstance() is called on the instance (and the transaction is committed, if the implementation is transaction-aware).

Throws:
javax.ejb.CreateException
javax.ejb.EJBException

findByPrimaryKey

Slot findByPrimaryKey(java.lang.String primaryKey)
                      throws javax.ejb.FinderException,
                             javax.ejb.EJBException
Returns the instance with the given primary key, throws ObjectNotFoundException if the instance is not found.

Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findAll

java.util.Collection findAll()
                             throws javax.ejb.FinderException,
                                    javax.ejb.EJBException
Finds all Slots

Returns:
a Collection of Slot instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findAllSlotsByItemDescriptor

java.util.Collection findAllSlotsByItemDescriptor()
                                                  throws javax.ejb.FinderException,
                                                         javax.ejb.EJBException
Finds all Slots ordered by item descriptor

Returns:
a Collection of Slot instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findAllSlotsByItemDescriptorReverse

java.util.Collection findAllSlotsByItemDescriptorReverse()
                                                         throws javax.ejb.FinderException,
                                                                javax.ejb.EJBException
Finds all Slots ordered by item descriptor, in reverse

Returns:
a Collection of Slot instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findAllSlotsByName

java.util.Collection findAllSlotsByName()
                                        throws javax.ejb.FinderException,
                                               javax.ejb.EJBException
Finds all Slots ordered by name

Returns:
a Collection of Slot instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findAllSlotsByNameReverse

java.util.Collection findAllSlotsByNameReverse()
                                               throws javax.ejb.FinderException,
                                                      javax.ejb.EJBException
Finds all Slots ordered by name, in reverse

Returns:
a Collection of Slot instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findAllSlotsByOrdering

java.util.Collection findAllSlotsByOrdering()
                                            throws javax.ejb.FinderException,
                                                   javax.ejb.EJBException
Finds all Slots ordered by ordering

Returns:
a Collection of Slot instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findAllSlotsByOrderingReverse

java.util.Collection findAllSlotsByOrderingReverse()
                                                   throws javax.ejb.FinderException,
                                                          javax.ejb.EJBException
Finds all Slots ordered by ordering, in reverse

Returns:
a Collection of Slot instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findAllSlotsByRetrieval

java.util.Collection findAllSlotsByRetrieval()
                                             throws javax.ejb.FinderException,
                                                    javax.ejb.EJBException
Finds all Slots ordered by retrieval

Returns:
a Collection of Slot instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

findAllSlotsByRetrievalReverse

java.util.Collection findAllSlotsByRetrievalReverse()
                                                    throws javax.ejb.FinderException,
                                                           javax.ejb.EJBException
Finds all Slots ordered by retrieval, in reverse

Returns:
a Collection of Slot instances matching the criteria. The Collection.iterator() method can be used to retrieve the instances in order. If no instances match the criteria, then an empty Collection is returned. A null value is never returned.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

wrapRepositoryItems

java.util.Collection wrapRepositoryItems(java.util.Collection pRepositoryItems)

wrapRepositoryItem

Slot wrapRepositoryItem(atg.repository.RepositoryItem pRepositoryItem)