Пример #1
0
 public boolean canPublishTo(PublicationNode publicationNode) {
   if (publicationNode == null || publicationNode.getParent() == null) {
     // we can't publish in the root node
     return false;
   }
   return true;
 }
Пример #2
0
 public String getNodeType() {
   return rootNode.getNodeType();
 }
Пример #3
0
 public String getPath() {
   return rootNode.getPath();
 }
Пример #4
0
 public List<PublishedDocument> getChildrenDocuments() {
   return rootNode.getChildrenDocuments();
 }
Пример #5
0
 public List<PublicationNode> getChildrenNodes() {
   return rootNode.getChildrenNodes();
 }
Пример #6
0
 public String getName() {
   return rootNode.getName();
 }
Пример #7
0
 public String getTitle() {
   return rootNode.getTitle();
 }
Пример #8
0
 public List<PublishedDocument> getPublishedDocumentInNode(PublicationNode node) {
   return node.getChildrenDocuments();
 }