KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > content > ContentContainerListKey


1
2 package org.jahia.content;
3
4 public class ContentContainerListKey extends ContentObjectKey {
5
6     public static final String JavaDoc CONTAINERLIST_TYPE = "ContentContainerList";
7
8     static {
9         ObjectKey.registerType(CONTAINERLIST_TYPE, ContentContainerListKey.class.getName());
10     }
11
12     public ContentContainerListKey(int containerListID) {
13         super(CONTAINERLIST_TYPE, Integer.toString(containerListID));
14     }
15
16     public int getContainerListID() {
17         return getIdInType();
18     }
19
20     public static ObjectKey getChildInstance(String JavaDoc IDInType) {
21         return new ContentContainerListKey(Integer.parseInt(IDInType));
22     }
23
24 }
25
Popular Tags