org.alfresco.repo.publishing
Class PublishingPackageImpl

java.lang.Object
  extended by org.alfresco.repo.publishing.PublishingPackageImpl
All Implemented Interfaces:
PublishingPackage

public class PublishingPackageImpl
extends java.lang.Object
implements PublishingPackage

Since:
4.0

Constructor Summary
PublishingPackageImpl(java.util.Map entries)
           
 
Method Summary
 java.util.Collection getEntries()
          Retrieve the collection of publishing package entries contained by this publishing package.
 java.util.Map getEntryMap()
          Returns a Map from the NodeRef to be published/unpublished to the corresponding PublishingPackageEntry.
 java.util.Set getNodesToPublish()
          
 java.util.Set getNodesToUnpublish()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PublishingPackageImpl

public PublishingPackageImpl(java.util.Map entries)
Method Detail

getEntries

public java.util.Collection getEntries()
Retrieve the collection of publishing package entries contained by this publishing package.

Specified by:
getEntries in interface PublishingPackage
Returns:
The collection of publishing package entries. Never null.

getEntryMap

public java.util.Map getEntryMap()
Description copied from interface: PublishingPackage
Returns a Map from the NodeRef to be published/unpublished to the corresponding PublishingPackageEntry.

Specified by:
getEntryMap in interface PublishingPackage
Returns:
the Map of Publishing Package Entries.

getNodesToPublish

public java.util.Set getNodesToPublish()

Specified by:
getNodesToPublish in interface PublishingPackage
Returns:
a Set of all the NodeRefs to be published.

getNodesToUnpublish

public java.util.Set getNodesToUnpublish()

Specified by:
getNodesToUnpublish in interface PublishingPackage
Returns:
a Set of all the NodeRefs to be unpublished.


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.