org.apache.jetspeed.om.page
Interface BaseElement

All Superinterfaces:
SecuredResource
All Known Subinterfaces:
ContentFragment, ContentPage, Document, Folder, FolderMetaData, Fragment, Link, Node, Page, PageSecurity

public interface BaseElement
extends SecuredResource

BaseElement

Version:
$Id: BaseElement.java 187962 2004-11-19 03:07:43Z taylor $
Author:
David Sean Taylor

Field Summary
 
Fields inherited from interface org.apache.jetspeed.om.common.SecuredResource
EDIT_ACTION, VIEW_ACTION
 
Method Summary
 String getId()
          Returns the unique Id of this element.
 String getShortTitle()
          Returns the short title in the default Locale
 String getTitle()
          Returns the title in the default Locale
 void setId(String id)
          Modifies the id of this element.
 void setShortTitle(String title)
          Sets the short title for the default Locale
 void setTitle(String title)
          Sets the title for the default Locale
 
Methods inherited from interface org.apache.jetspeed.om.common.SecuredResource
checkAccess, checkConstraints, checkPermissions, getConstraintsEnabled, getPermissionsEnabled, getSecurityConstraints, setSecurityConstraints
 

Method Detail

getId

public String getId()
Returns the unique Id of this element. This id is guaranteed to be unique from the complete portal and is suitable to be used as a unique key.

Returns:
the unique id of this element.

setId

public void setId(String id)
Modifies the id of this element. This id must not be null and must be unique for the portal.

Parameters:
id - the new id for this element

getTitle

public String getTitle()
Returns the title in the default Locale

Returns:
the page title

setTitle

public void setTitle(String title)
Sets the title for the default Locale

Parameters:
title - the new title

getShortTitle

public String getShortTitle()
Returns the short title in the default Locale

Returns:
the page short title

setShortTitle

public void setShortTitle(String title)
Sets the short title for the default Locale

Parameters:
title - the new title


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.