Package org.ametys.plugins.ugc.page
Class UGCZoneItemFactory
java.lang.Object
org.ametys.plugins.ugc.page.UGCZoneItemFactory
- All Implemented Interfaces:
AmetysObjectFactory<UGCZoneItem>,Component,Serviceable
public class UGCZoneItemFactory
extends Object
implements AmetysObjectFactory<UGCZoneItem>, Serviceable
AmetysObjectFactory handling UGCZoneItem.-
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
-
UGCZoneItemFactory
public UGCZoneItemFactory()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
getAmetysObjectById
Description copied from interface:AmetysObjectFactory- Specified by:
getAmetysObjectByIdin interfaceAmetysObjectFactory<UGCZoneItem>- 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<UGCZoneItem>- 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<UGCZoneItem>- Parameters:
id- the identifier.- Returns:
- true if the specified id correspond to an existing
AmetysObject. - Throws:
AmetysRepositoryException- if an error occurs.
-