atg.svc.repository.beans
Interface OrganizationValueHome

All Superinterfaces:
javax.ejb.EJBLocalHome
All Known Implementing Classes:
_OrganizationValueHome_BeanImpl, _OrganizationValueHome_ReposImpl

public interface OrganizationValueHome
extends javax.ejb.EJBLocalHome

Finder Summaries

Finder Name Finder Description Returns
findByPrimaryKey one
findAllFinds all OrganizationValue objectsmany
findAllInternalAudienceFinds all internal audience OrganizationValue objectsmany
findAllOwningGroupFinds all owning group OrganizationValue objectsmany
findByOrganizationFinds all OrganizationValue objects that wraps the given Organizationmany
findByOrganizationAndTypeFinds the OrganizationValue object that wraps the given Organization for the given typeone


Method Summary
 OrganizationValue create()
          Returns a new instance.
 OrganizationValue create(java.lang.String pId)
          Returns a new instance with the repository id set to the given id.
 java.util.Collection findAll()
          Finds all OrganizationValue objects
 java.util.Collection findAllInternalAudience()
          Finds all internal audience OrganizationValue objects
 java.util.Collection findAllOwningGroup()
          Finds all owning group OrganizationValue objects
 java.util.Collection findByOrganization(java.lang.String organizationId)
          Finds all OrganizationValue objects that wraps the given Organization
 OrganizationValue findByOrganizationAndType(java.lang.String organizationId, java.lang.String type)
          Finds the OrganizationValue object that wraps the given Organization for the given type
 OrganizationValue findByPrimaryKey(java.lang.String primaryKey)
          Returns the instance with the given primary key, throws ObjectNotFoundException if the instance is not found.
 OrganizationValue wrapRepositoryItem(atg.repository.RepositoryItem pRepositoryItem)
           
 java.util.Collection wrapRepositoryItems(java.util.Collection pRepositoryItems)
           
 
Methods inherited from interface javax.ejb.EJBLocalHome
remove
 

Method Detail

create

OrganizationValue 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 OrganizationValue.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

OrganizationValue 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 OrganizationValue.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

OrganizationValue 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 OrganizationValue objects

Returns:
a Collection of OrganizationValue 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

findAllInternalAudience

java.util.Collection findAllInternalAudience()
                                             throws javax.ejb.FinderException,
                                                    javax.ejb.EJBException
Finds all internal audience OrganizationValue objects

Returns:
a Collection of OrganizationValue 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

findAllOwningGroup

java.util.Collection findAllOwningGroup()
                                        throws javax.ejb.FinderException,
                                               javax.ejb.EJBException
Finds all owning group OrganizationValue objects

Returns:
a Collection of OrganizationValue 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

findByOrganization

java.util.Collection findByOrganization(java.lang.String organizationId)
                                        throws javax.ejb.FinderException,
                                               javax.ejb.EJBException
Finds all OrganizationValue objects that wraps the given Organization

Parameters:
organizationId - Repository id of the organization being wrapped
Returns:
a Collection of OrganizationValue 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

findByOrganizationAndType

OrganizationValue findByOrganizationAndType(java.lang.String organizationId,
                                            java.lang.String type)
                                            throws javax.ejb.FinderException,
                                                   javax.ejb.EJBException
Finds the OrganizationValue object that wraps the given Organization for the given type

Parameters:
organizationId - Repository id of the organization being wrapped
type - Enum id for the type of organization value
Returns:
an instance matching the query criteria, or throws ObjectNotFoundException if no such instance is found.
Throws:
javax.ejb.FinderException
javax.ejb.EJBException

wrapRepositoryItems

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

wrapRepositoryItem

OrganizationValue wrapRepositoryItem(atg.repository.RepositoryItem pRepositoryItem)