SPT Core API

com.sptci.jdo
Interface Publishable


public interface Publishable

An interface that represents an object that holds state regarding its publishable/published status.

© Copyright 2007 Sans Pareil Technologies, Inc.

Version:
$Id: Publishable.java 4553 2008-12-24 10:34:16Z rakesh $
Author:
Rakesh Vidyadharan 2007-05-21

Method Summary
 boolean isPublished()
          Returns a boolean value indicating whether the object has been marked for publication on the front-end application or not.
 void setPublished(boolean published)
          Set the publication status of this instance.
 

Method Detail

isPublished

boolean isPublished()
Returns a boolean value indicating whether the object has been marked for publication on the front-end application or not.

Returns:
Returns true if the instance is approved for publication.

setPublished

void setPublished(boolean published)
Set the publication status of this instance.

Parameters:
published - The value to set.

SPT Core API