Interface ISectionAPI
-
- All Superinterfaces:
T4PublishAPI
public interface ISectionAPI extends T4PublishAPI
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PDSection
get()
PDSection
get(int id)
String
getField(String name)
int
getId()
int
getLayoutId()
int
getLevel()
Get how deep in the site structure the current section is - starting with 1 as the channel root.PDContentItem
getMetaContent()
String
getName()
List<PDContentListItem>
listContent()
List<PDContentListItem>
listContent(int sectionId)
List<PDContentListItem>
listContentByType(int typeId)
List<PDContentListItem>
listContentByType(int sectionId, int typeId)
-
-
-
Method Detail
-
get
PDSection get()
-
getId
int getId()
-
getName
String getName()
-
getLayoutId
int getLayoutId()
-
get
PDSection get(int id)
-
listContent
List<PDContentListItem> listContent()
-
listContent
List<PDContentListItem> listContent(int sectionId)
-
listContentByType
List<PDContentListItem> listContentByType(int typeId)
-
listContentByType
List<PDContentListItem> listContentByType(int sectionId, int typeId)
-
getMetaContent
PDContentItem getMetaContent()
-
getLevel
int getLevel()
Get how deep in the site structure the current section is - starting with 1 as the channel root.- Returns:
- The section level.
-
-