Class ProgramZoneFactory
java.lang.Object
org.ametys.plugins.odfweb.repository.ProgramZoneFactory
- All Implemented Interfaces:
AmetysObjectFactory<ProgramZone>,Component,Serviceable
public class ProgramZoneFactory
extends Object
implements AmetysObjectFactory<ProgramZone>, Serviceable
AmetysObjectFactory handling ProgramZone.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the protocol of this factory, used to construct unique ids.booleanReturn true if the specified id correspond to an existingAmetysObject.voidservice(ServiceManager manager)
-
Constructor Details
-
ProgramZoneFactory
public ProgramZoneFactory()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
getAmetysObjectById
Description copied from interface:AmetysObjectFactory- Specified by:
getAmetysObjectByIdin interfaceAmetysObjectFactory<ProgramZone>- Parameters:
id- the identifier.- Returns:
- the corresponding
AmetysObject. - Throws:
AmetysRepositoryException- if an error occurs.
-
getScheme
Description copied from interface:AmetysObjectFactoryReturns the protocol of this factory, used to construct unique ids.- Specified by:
getSchemein interfaceAmetysObjectFactory<ProgramZone>- Returns:
- the protocol of this factory.
-
hasAmetysObjectForId
Description copied from interface:AmetysObjectFactoryReturn true if the specified id correspond to an existingAmetysObject. Id are like<protocol>://<protocol-specific-part>.- Specified by:
hasAmetysObjectForIdin interfaceAmetysObjectFactory<ProgramZone>- Parameters:
id- the identifier.- Returns:
- true if the specified id correspond to an existing
AmetysObject. - Throws:
AmetysRepositoryException- if an error occurs.
-