Package org.ametys.plugins.ugc.page
Class UGCTransitionalZoneItemFactory
- java.lang.Object
-
- org.ametys.plugins.ugc.page.UGCTransitionalZoneItemFactory
-
- All Implemented Interfaces:
AmetysObjectFactory<UGCTransitionalZoneItem>,Component,Serviceable
public class UGCTransitionalZoneItemFactory extends Object implements AmetysObjectFactory<UGCTransitionalZoneItem>, Serviceable
AmetysObjectFactoryhandlingUGCTransitionalZoneItem.
-
-
Constructor Summary
Constructors Constructor Description UGCTransitionalZoneItemFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UGCTransitionalZoneItemgetAmetysObjectById(String id)StringgetScheme()Returns the protocol of this factory, used to construct unique ids.booleanhasAmetysObjectForId(String id)Return true if the specified id correspond to an existingAmetysObject.voidservice(ServiceManager manager)
-
-
-
Constructor Detail
-
UGCTransitionalZoneItemFactory
public UGCTransitionalZoneItemFactory()
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
getAmetysObjectById
public UGCTransitionalZoneItem getAmetysObjectById(String id) throws AmetysRepositoryException
Description copied from interface:AmetysObjectFactory- Specified by:
getAmetysObjectByIdin interfaceAmetysObjectFactory<UGCTransitionalZoneItem>- Parameters:
id- the identifier.- Returns:
- the corresponding
AmetysObject. - Throws:
AmetysRepositoryException- if an error occurs.
-
getScheme
public String getScheme()
Description copied from interface:AmetysObjectFactoryReturns the protocol of this factory, used to construct unique ids.- Specified by:
getSchemein interfaceAmetysObjectFactory<UGCTransitionalZoneItem>- Returns:
- the protocol of this factory.
-
hasAmetysObjectForId
public boolean hasAmetysObjectForId(String id) throws AmetysRepositoryException
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<UGCTransitionalZoneItem>- Parameters:
id- the identifier.- Returns:
- true if the specified id correspond to an existing
AmetysObject. - Throws:
AmetysRepositoryException- if an error occurs.
-
-