Class Page
- java.lang.Object
-
- lumis.portal.structure.sync.model.page.Page
-
- All Implemented Interfaces:
java.io.Serializable
,IFileElement
,IFileStructureElement
public class Page extends java.lang.Object implements IFileStructureElement, java.io.Serializable
Page model.Documentation in this class focus synchronization behavior. About the use behind the fields in the portal, see
PageConfig
.- Since:
- 6.2.0
- Version:
- $Revision$ $Date$
- See Also:
PageConfig
, Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Page.CenterPageType
static class
Page.PageCacheType
static class
Page.PageCacheTypeHibernate
static class
Page.PageLayoutType
static class
Page.PageProtocolType
static class
Page.PageWebResourceDataProviderType
-
Constructor Summary
Constructors Constructor Description Page()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessControlList
getAccessControlList()
java.lang.String
getChannelId()
java.util.List<PageCss>
getCsss()
java.lang.String
getDirectoryChannelId()
Returns the identifier of the channel that corresponds to the directory this element's file resides in.java.lang.String
getId()
Returns the element's identifier.java.util.SortedSet<InterfaceInstance>
getInterfaceInstances()
java.util.List<MetaTag>
getMetaTags()
java.lang.String
getName()
PropertyBag
getPropertyBag()
java.lang.String
getStructureFileName()
Returns the name of the structure file for this element.boolean
isImplicitForeignKeysSet()
Indicates whether the implicit foreign keys, set bysetImplicitForeignKeys(String, String, String, String)
, have been set.void
setFriendlyId(java.lang.String friendlyId)
Sets the friendly identifier for this structure element.void
setImplicitForeignKeys(java.lang.String accessControlListId, java.lang.String parentAccessControlListId, java.lang.String propertyBagId, java.lang.String parentPropertyBagId)
Sets the implicit foreign keys in this page.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface lumis.portal.structure.sync.IFileElement
getFileVersion
-
-
-
-
Method Detail
-
getChannelId
public java.lang.String getChannelId()
-
getInterfaceInstances
public java.util.SortedSet<InterfaceInstance> getInterfaceInstances()
-
getAccessControlList
public AccessControlList getAccessControlList()
-
getMetaTags
public java.util.List<MetaTag> getMetaTags()
-
getCsss
public java.util.List<PageCss> getCsss()
-
getPropertyBag
public PropertyBag getPropertyBag()
-
isImplicitForeignKeysSet
public boolean isImplicitForeignKeysSet()
Indicates whether the implicit foreign keys, set bysetImplicitForeignKeys(String, String, String, String)
, have been set.- Returns:
- true if the implicit foreign keys are set, false otherwise.
- Since:
- 6.2.0
-
setImplicitForeignKeys
public void setImplicitForeignKeys(java.lang.String accessControlListId, java.lang.String parentAccessControlListId, java.lang.String propertyBagId, java.lang.String parentPropertyBagId)
Sets the implicit foreign keys in this page. Required before it can be properly persisted to the database.- Parameters:
accessControlListId
- the identifier for this page's ACL. Must benull
if the page will be added (will be auto-generated).parentAccessControlListId
- the identifier of the parent of this page's ACL.propertyBagId
- the identifier for this page's property bag. Must benull
if the page will be added. (will be auto-generated).parentPropertyBagId
- the identifier for the parent of this page's property bag.- Since:
- 6.2.0
-
getId
public java.lang.String getId()
Description copied from interface:IFileStructureElement
Returns the element's identifier.- Specified by:
getId
in interfaceIFileStructureElement
- Returns:
- the element's identifier.
-
getDirectoryChannelId
public java.lang.String getDirectoryChannelId()
Description copied from interface:IFileStructureElement
Returns the identifier of the channel that corresponds to the directory this element's file resides in.- Specified by:
getDirectoryChannelId
in interfaceIFileStructureElement
- Returns:
- the identifier of the channel.
-
getStructureFileName
public java.lang.String getStructureFileName()
Description copied from interface:IFileStructureElement
Returns the name of the structure file for this element.- Specified by:
getStructureFileName
in interfaceIFileStructureElement
- Returns:
- the structure file name (only the file's name, does not include any path).
-
setFriendlyId
public void setFriendlyId(java.lang.String friendlyId)
Description copied from interface:IFileStructureElement
Sets the friendly identifier for this structure element.- Specified by:
setFriendlyId
in interfaceIFileStructureElement
- Parameters:
friendlyId
- the friendly identifier.
-
getName
public java.lang.String getName()
-
-