public class ProgramZone extends Object implements Zone
| Modifier and Type | Field and Description | 
|---|---|
private ProgramPage | 
_page  | 
private AbstractThreadSafeComponentExtensionPoint<RepositoryModelItemType> | 
_zoneDataTypeExtensionPoint  | 
private AbstractThreadSafeComponentExtensionPoint<RepositoryModelItemType> | 
_zoneItemDataTypeExtensionPoint  | 
ZONEITEM_DATA_NAME| Constructor and Description | 
|---|
ProgramZone(ProgramPage page,
           AbstractThreadSafeComponentExtensionPoint<RepositoryModelItemType> zoneDataTypeExtensionPoint,
           AbstractThreadSafeComponentExtensionPoint<RepositoryModelItemType> zoneItemDataTypeExtensionPoint)
Constructor 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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 | 
getName()
Retrieves the name of the current object. 
 | 
Page | 
getPage()
Get the parent page of the zone 
 | 
Page | 
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. 
 | 
AmetysObjectIterable<? extends ZoneItem> | 
getZoneItems()
Retrieve the list of used zone items 
 | 
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 ProgramPage _page
private AbstractThreadSafeComponentExtensionPoint<RepositoryModelItemType> _zoneDataTypeExtensionPoint
private AbstractThreadSafeComponentExtensionPoint<RepositoryModelItemType> _zoneItemDataTypeExtensionPoint
public ProgramZone(ProgramPage page, AbstractThreadSafeComponentExtensionPoint<RepositoryModelItemType> zoneDataTypeExtensionPoint, AbstractThreadSafeComponentExtensionPoint<RepositoryModelItemType> zoneItemDataTypeExtensionPoint)
page - the parent ProgramPage.zoneDataTypeExtensionPoint - the extension point with available data types for zoneszoneItemDataTypeExtensionPoint - the extension point with available data types for zone itemspublic Page getPage()
Zonepublic AmetysObjectIterable<? extends ZoneItem> getZoneItems() throws AmetysRepositoryException
ZonegetZoneItems in interface ZoneAmetysRepositoryException - if an error occuredpublic 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 Page 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.