|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.content.core.ContentPublication
@StableMinor(version="6.2", sinceVersion="4.2") public class ContentPublication
A content publication definition entity class.
Constructor Summary | |
---|---|
ContentPublication()
|
Method Summary | |
---|---|
protected ContentPublication |
clone()
|
void |
delete()
Deletes this publication. |
ContentVersion |
getContentVersion()
Returns the content version this publication belongs to. |
Date |
getHighlightEndDateTime()
Returns the date-time when this publication should no longer be highlighted. |
String |
getId()
Return the unique identifier for this publication object. |
Collection<String> |
getPrincipalIds()
Returns the identifiers of the principals this publication is done to. |
Date |
getPublishEndDateTime()
Returns the maximum date-time limit for this publication. |
Date |
getPublishStartDateTime()
Returns the initial date-time from which the publication is to be done. |
Collection<String> |
getServiceInstanceIds()
Returns the identifiers of the service instances this publication is done to. |
boolean |
isHighlight()
Indicates if this publication is currently highlighted. |
boolean |
isPublished()
Indicates if this publication is currently published. |
void |
setHighlight(boolean highlight)
Sets the highlight property for this publication. |
void |
setHighlightEndDateTime(Date highlightEndDateTime)
Sets the date-time when this publication should no longer be highlighted. |
void |
setPublishEndDateTime(Date publishEndDateTime)
Sets the maximum time limit for this publication. |
void |
setPublishStartDateTime(Date publishStartDateTime)
Sets the initial date-time from which the publication is to be done. |
void |
updateCalculatedFields()
Updates this publication's calculated fields. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContentPublication()
Method Detail |
---|
public String getId()
public boolean isHighlight()
public void setHighlight(boolean highlight)
highlight
- true to enable the highlight, false to disable it.getHighlightEndDateTime()
public Date getHighlightEndDateTime()
null
if no maximum limit for
highlight exists.public void setHighlightEndDateTime(Date highlightEndDateTime)
null
, there will be no maximum time limit for the
highlight.
highlightEnd
- the date-time value to set.public Date getPublishEndDateTime()
null
if no maximum limit for
this publication exists.public void setPublishEndDateTime(Date publishEndDateTime)
null
, there will be no maximum time limit for the
publication.
publishEndDateTime
- the date-time value to set.public Date getPublishStartDateTime()
null
if no minimum limit for
this publication exists.public void setPublishStartDateTime(Date publishStartDateTime)
null
, there will be no minimum time limit for the
publication.
publishStartDateTime
- the date-time value to set.public boolean isPublished()
public Collection<String> getServiceInstanceIds()
public Collection<String> getPrincipalIds()
public ContentVersion getContentVersion()
public void delete() throws PortalException
PortalException
public void updateCalculatedFields() throws PortalException
This method may be called directly to force immediate fields calculations, or when no other change is done but it is desired to update the calculated fields.
PortalException
protected ContentPublication clone()
clone
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |