public class UGCTransitionalZoneItem extends Object implements ZoneItem
ZoneItem holding a Sitemap serviceZoneItem.ZoneType| Modifier and Type | Field and Description | 
|---|---|
private UGCTransitionalPage | 
_page  | 
private ServiceExtensionPoint | 
_serviceExtensionPoint  | 
private AbstractThreadSafeComponentExtensionPoint<RepositoryModelItemType> | 
_zoneDataTypeExtensionPoint  | 
private AbstractThreadSafeComponentExtensionPoint<RepositoryModelItemType> | 
_zoneItemDataTypeExtensionPoint  | 
SERVICE_PARAMETERS_DATA_NAME| Constructor and Description | 
|---|
UGCTransitionalZoneItem(UGCTransitionalPage page,
                       AbstractThreadSafeComponentExtensionPoint<RepositoryModelItemType> zoneDataTypeExtensionPoint,
                       ServiceExtensionPoint serviceExtensionPoint,
                       AbstractThreadSafeComponentExtensionPoint<RepositoryModelItemType> zoneItemDataTypeExtensionPoint)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
private void | 
_setServiceParameters(ModifiableModelAwareDataHolder dataHolder)  | 
Content | 
getContent()
Retrieves the content reference. 
 | 
ModelLessDataHolder | 
getDataHolder()
Returns the  
DataHolder of this AmetysObject. | 
String | 
getId()
Retrieves the unique identifier of this AmetysObject. 
It must be unique in the whole repository and must never be null. It must conform to the URI syntax: <protocol>://<protocol-specific-part> | 
String | 
getMetadataSetName()
Get the name of the metadata set to render the Content with. 
 | 
String | 
getName()
Retrieves the name of the current object. 
 | 
UGCTransitionalZone | 
getParent()
Returns the parent object in the Ametys hierarchy. 
 | 
String | 
getParentPath()
Returns the path of the parent object in the Ametys hierarchy. 
 | 
String | 
getPath()
Retrieves the path of the current object. 
 | 
String | 
getServiceId()
Retrieves the service id. 
 | 
ModelAwareDataHolder | 
getServiceParameters()
Get the service parameters 
 | 
ZoneItem.ZoneType | 
getType()
Retrieves the type. 
 | 
String | 
getViewName()
Get the name of the view to render the Content with. 
 | 
Zone | 
getZone()
Get the parent zone. 
 | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetComposite, getRepeater, getType, getValue, getValue, getValueOfType, getValueOfType, hasValue, isMultiplecopyTo, getDataNamesequals, hashCodetoSAX, toSAXdataToSAX, dataToSAX, dataToSAX, dataToSAXprivate UGCTransitionalPage _page
private AbstractThreadSafeComponentExtensionPoint<RepositoryModelItemType> _zoneDataTypeExtensionPoint
private ServiceExtensionPoint _serviceExtensionPoint
private AbstractThreadSafeComponentExtensionPoint<RepositoryModelItemType> _zoneItemDataTypeExtensionPoint
public UGCTransitionalZoneItem(UGCTransitionalPage page, AbstractThreadSafeComponentExtensionPoint<RepositoryModelItemType> zoneDataTypeExtensionPoint, ServiceExtensionPoint serviceExtensionPoint, AbstractThreadSafeComponentExtensionPoint<RepositoryModelItemType> zoneItemDataTypeExtensionPoint)
page - the parent UGCTransitionalPage.zoneDataTypeExtensionPoint - the extension point with available data types for zonesserviceExtensionPoint - the service extension pointzoneItemDataTypeExtensionPoint - the extension point with available data types for zone itemspublic Content getContent() throws AmetysRepositoryException
ZoneItemgetContent in interface ZoneItemAmetysRepositoryException - if an error occurs.public String getMetadataSetName() throws AmetysRepositoryException
ZoneItemgetMetadataSetName in interface ZoneItemAmetysRepositoryException - if an error occurs.public String getViewName() throws AmetysRepositoryException
ZoneItemgetViewName in interface ZoneItemAmetysRepositoryException - if an error occurs.
 TODO NEWATTRIBUTEAPI_SERVICE: remove the default implementation when all zone items implement the methodpublic String getServiceId() throws AmetysRepositoryException
ZoneItemgetServiceId in interface ZoneItemAmetysRepositoryException - if an error occurs.public ModelAwareDataHolder getServiceParameters() throws AmetysRepositoryException
ZoneItemgetServiceParameters in interface ZoneItemAmetysRepositoryException - if an error occurs.private void _setServiceParameters(ModifiableModelAwareDataHolder dataHolder)
public ZoneItem.ZoneType getType() throws AmetysRepositoryException
ZoneItemgetType in interface ZoneItemAmetysRepositoryException - if an error occurs.ZoneItem.ZoneTypepublic ModelLessDataHolder getDataHolder()
DataAwareAmetysObjectDataHolder of this AmetysObject.getDataHolder in interface DataAwareAmetysObjectgetDataHolder in interface ModelLessDataAwareAmetysObjectDataHolder of this AmetysObjectpublic String getId() throws AmetysRepositoryException
AmetysObject<protocol>://<protocol-specific-part>getId in interface AmetysObjectAmetysRepositoryException - if an error occurs.public String getName() throws AmetysRepositoryException
AmetysObjectgetName in interface AmetysObjectAmetysRepositoryException - if an error occurs.public UGCTransitionalZone getParent() throws AmetysRepositoryException
AmetysObjectgetParent in interface AmetysObjectnull if current object
         is the root.AmetysRepositoryException - if an error occurs.public String getParentPath() throws AmetysRepositoryException
AmetysObjectgetParentPath in interface AmetysObjectAmetysRepositoryException - if an error occurs.public String getPath() throws AmetysRepositoryException
AmetysObjectgetPath in interface AmetysObjectAmetysRepositoryException - if an error occurs.