com.solidstategroup.cms
Class ArticleType

java.lang.Object
  extended by com.solidstategroup.cms.ArticleType
All Implemented Interfaces:
java.lang.Comparable

public class ArticleType
extends java.lang.Object
implements java.lang.Comparable

Implements a type of Article. Each ArticleType is a node in the ArticleTypes tree. For further information on how to access and manipulate the tree, please refer to the ArticleTypes class in this package.


Field Summary
static java.lang.String ARTICLE
           
static int ARTICLEID
           
static java.lang.String DOCUMENTREPOSITORY
           
static int DOCUMENTREPOSITORYID
           
static java.lang.String EMAIL
           
static int EMAILID
           
static java.lang.String FORUM
           
static int FORUMID
           
static java.lang.String IMAGEMETADATA
           
static int IMAGEMETADATAID
           
static int NUMBER_OF_ARTICLES_NONE
           
static int NUMBER_OF_ARTICLES_SINGLETON
           
static int NUMBER_OF_ARTICLES_UNLIMITED
           
static java.lang.String SMS
           
static int SMSID
           
 
Constructor Summary
ArticleType()
           
ArticleType(int articleTypeId, int rootArticleTypeId, boolean currentVersion, java.lang.String description, java.lang.String articleMetaType, java.lang.String metaDataDescription, java.lang.String metaDataKeywords, java.lang.String metaDataAuthor, java.lang.String metaDataTitle, boolean includeInNavigation, boolean hideFromWebDeckUsers, int priority, int numberOfArticlesId, boolean syndicated, java.lang.String navigationDescription)
           
 
Method Summary
 boolean addChunkType(com.solidstategroup.cms.ChunkType newChunkType)
           
 boolean addPermWebUserType(com.solidstategroup.user.WebUserType newObject)
           
 boolean addSSGObject(com.solidstategroup.ssgobject.SSGObject newObject)
           
 boolean chunkTypeExists(com.solidstategroup.cms.ChunkType newChunkType)
           
 boolean chunkTypeExists(int newRootChunkTypeId)
           
 void clear()
          Clears all data from object.
 int compareTo(java.lang.Object o)
          Compares two articleTypes.
 ArticleType copy()
           
 boolean delete()
          Removes the current ArticleType.
 ArticleType execute()
           
 java.util.Vector getAllArticles()
          Helper method
 java.util.Vector getAllChildren()
          Retrieves the children of this articleType as a Vector.
 com.solidstategroup.cms.ChunkTypes getAllowedChunkTypes()
           
 java.lang.String getArticleMetaType()
           
 int getArticleMetaTypeId(java.lang.String articleMetaType)
           
 int getArticleTypeId()
           
 ArticleType getChildArticleType(java.lang.String description)
           
 com.solidstategroup.cms.ArticleTemplate getDefaultArticleTemplate()
           
 java.lang.String getDefaultArticleTemplateLocation()
           
 com.solidstategroup.cms.ChunkType getDefaultChunkType()
           
 int getDepth()
          Calculates the number of descendents this artilcleType has.
 java.lang.String getDescription()
          Returns the simple description of the ArticleType.
 java.lang.String getFullyQualifiedDescription()
          Returns the fully qualified description of the current ArticleType.
 java.lang.String getHeaderImage()
          Rewrites the ArticleType description of the Parent ArticleType to allow it to be easily referenced as an image.
 java.lang.String getMetaDataAuthor()
           
 java.lang.String getMetaDataDescription()
           
 java.lang.String getMetaDataKeywords()
           
 java.lang.String getMetaDataTitle()
           
 java.lang.String getNavigationDescription()
           
 java.lang.String getNavigationDescriptionActual()
           
 int getNumberOfArticlesId()
           
 int getNumberOfArticlesThatExist(int browseType)
           
 int getNumberOfLiveArticlesThatExist()
           
 ArticleType getParentArticleType()
          Retrieves the parent of this articleType.
 ArticleType getParentArticleTypeWithLevel(int level)
          Retrieves the parent of this articleType.
 java.util.Vector getPermissableWebUserTypes()
           
 java.util.Collection getPermittedWebUsers()
          returns all the users that are in groups limited to this articleType
 int getPriority()
           
 int getRootArticleTypeId()
           
 com.solidstategroup.user.WebUserTypeSecurityLevel getSecurityLevel()
           
 int getSecurityLevelId()
           
 java.util.Vector getSsgObjects()
           
 com.solidstategroup.ssgobject.SSGObjects getSsgObjectsObject()
           
 java.lang.String getSubHeaderImage()
          Rewrites the ArticleType description of the current ArticleType to allow it to be easily referenced as an image.
 java.lang.String getVanityURL(int startingLevel)
          Returns the vanity URL of the current ArticleType.
 java.lang.String getVanityURLFromBottom(int heightToTraverse)
          Returns the vanity URL of the current ArticleType.
 boolean grantPrivilege(int cmsUserId, boolean includesChildren)
          Applies access priveledges to this ArticleType, and all descendents of the ArticleType to the CMSUser provided.
 boolean isCurrentVersion()
           
 boolean isHideFromWebDeckUsers()
           
 boolean isIncludeInNavigation()
           
 boolean isInheritArticleFunction()
           
 boolean isInheritAssociatedGroups()
           
 boolean isInheritAssociatedSections()
           
 boolean isInheritDefaultFirstSection()
           
 boolean isInheritDefaultTemplate()
           
 boolean isInheritHideFromWebDeckUsers()
           
 boolean isInheritIncludeInNavigation()
           
 boolean isInheritLockTemplate()
           
 boolean isInheritMaximumNumberOfArticles()
           
 boolean isInheritMetaTagAuthor()
           
 boolean isInheritMetaTagDescription()
           
 boolean isInheritMetaTagKeywords()
           
 boolean isInheritMetaTagTitle()
           
 boolean isInheritPermissableWebUserTypes()
           
 boolean isInheritRSSSyndicated()
           
 boolean isInheritSecurityLevelId()
           
 boolean isLeafNode()
           
 boolean isLockTemplate()
           
 boolean isNavigationChildren()
          Determines whether or not this node has child nodes to display
 boolean isPreviewVersion()
           
 boolean isSyndicated()
           
 boolean permWebUserTypeExists(com.solidstategroup.user.WebUserType newObject)
           
 boolean revokePrivilege(int cmsUserId)
          Removes access priveledges to this ArticleType, and all descendents of the ArticleType to the CMSUser provided.
 void setAllowedChunkTypes(com.solidstategroup.cms.ChunkTypes allowedChunkTypes)
           
 void setArticleMetaType(java.lang.String articleMetaType)
           
 void setArticleTemplateId(int articleTemplateId)
           
 void setArticleTypeId(int articleTypeId)
           
 void setCurrentVersion(boolean currentVersion)
           
 void setDefaultArticleTemplate(com.solidstategroup.cms.ArticleTemplate defaultArticleTemplate)
           
 void setDefaultChunkType(com.solidstategroup.cms.ChunkType defaultChunkType)
           
 void setDefaultChunkTypeId(int chunkTypeId)
           
 void setDefaultRootChunkTypeId(int rootChunkTypeId)
           
 void setDescription(java.lang.String description)
          Sets the description of the ArticleType.
 void setDescriptionOnly(java.lang.String description)
           
 void setDescriptionOnlyWithoutSanitisation(java.lang.String description)
           
 boolean setFullyQualifiedDescription(java.lang.String description)
          Sets the fully qualified description of the ArticleType.
 void setHideFromWebDeckUsers(boolean hideFromWebDeckUsers)
           
 void setIncludeInNavigation(boolean includeInNavigation)
           
 void setInheritArticleFunction(boolean inheritArticleFunction)
           
 void setInheritAssociatedGroups(boolean inheritAssociatedGroups)
           
 void setInheritAssociatedSections(boolean inheritAssociatedSections)
           
 void setInheritDefaultFirstSection(boolean inheritDefaultFirstSection)
           
 void setInheritDefaultTemplate(boolean inheritDefaultTemplate)
           
 void setInheritHideFromWebDeckUsers(boolean inheritHideFromWebDeckUsers)
           
 void setInheritIncludeInNavigation(boolean inheritIncludeInNavigation)
           
 void setInheritLockTemplate(boolean inheritLockTemplate)
           
 void setInheritMaximumNumberOfArticles(boolean inheritMaximumNumberOfArticles)
           
 void setInheritMetaTagAuthor(boolean inheritMetaTagAuthor)
           
 void setInheritMetaTagDescription(boolean inheritMetaTagDescription)
           
 void setInheritMetaTagKeywords(boolean inheritMetaTagKeywords)
           
 void setInheritMetaTagTitle(boolean inheritMetaTagTitle)
           
 void setInheritPermissableWebUserTypes(boolean inheritPermissableWebUserTypes)
           
 void setInheritRSSSyndicated(boolean inheritRSSSyndicated)
           
 void setInheritSecurityLevelId(boolean inheritSecurityLevelId)
           
 void setLockTemplate(boolean lockTemplate)
           
 void setMetaDataAuthor(java.lang.String metaDataAuthor)
           
 void setMetaDataDescription(java.lang.String metaDataDescription)
           
 void setMetaDataKeywords(java.lang.String metaDataKeywords)
           
 void setMetaDataTitle(java.lang.String metaDataTitle)
           
 void setNavigationDescription(java.lang.String navigationDescription)
           
 void setNumberOfArticlesId(int numberOfArticlesID)
           
 void setPermissableWebUserTypes(java.util.Vector permissableWebUserTypes)
           
 void setPreviewVersion(boolean previewVersion)
           
 void setPriority(int priority)
           
 void setRootArticleTypeId(int rootArticleTypeId)
           
 void setSecurityLevel(com.solidstategroup.user.WebUserTypeSecurityLevel securityLevel)
           
 void setSecurityLevelId(int securityLevelId)
           
 void setSsgObjects(java.util.Vector ssgObjects)
           
 void setSsgObjectsObject(com.solidstategroup.ssgobject.SSGObjects newObjects)
           
 void setSyndicated(boolean syndicated)
           
 boolean ssgObjectExists(com.solidstategroup.ssgobject.SSGObject newObject)
           
 boolean store(int parentRootArticleTypeId)
          Stores the current ArticleType in the database.
 boolean webUserAuthorised(com.solidstategroup.user.WebUser webUser)
           
 boolean webUserTypeAuthorised(com.solidstategroup.user.WebUserTypes webUserTypes)
          are any of these WebUserTypes authorised to view this ArticleType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ARTICLE

public static final java.lang.String ARTICLE
See Also:
Constant Field Values

EMAIL

public static final java.lang.String EMAIL
See Also:
Constant Field Values

SMS

public static final java.lang.String SMS
See Also:
Constant Field Values

FORUM

public static final java.lang.String FORUM
See Also:
Constant Field Values

IMAGEMETADATA

public static final java.lang.String IMAGEMETADATA
See Also:
Constant Field Values

DOCUMENTREPOSITORY

public static final java.lang.String DOCUMENTREPOSITORY
See Also:
Constant Field Values

ARTICLEID

public static final int ARTICLEID
See Also:
Constant Field Values

EMAILID

public static final int EMAILID
See Also:
Constant Field Values

SMSID

public static final int SMSID
See Also:
Constant Field Values

FORUMID

public static final int FORUMID
See Also:
Constant Field Values

IMAGEMETADATAID

public static final int IMAGEMETADATAID
See Also:
Constant Field Values

DOCUMENTREPOSITORYID

public static final int DOCUMENTREPOSITORYID
See Also:
Constant Field Values

NUMBER_OF_ARTICLES_UNLIMITED

public static final int NUMBER_OF_ARTICLES_UNLIMITED
See Also:
Constant Field Values

NUMBER_OF_ARTICLES_SINGLETON

public static final int NUMBER_OF_ARTICLES_SINGLETON
See Also:
Constant Field Values

NUMBER_OF_ARTICLES_NONE

public static final int NUMBER_OF_ARTICLES_NONE
See Also:
Constant Field Values
Constructor Detail

ArticleType

public ArticleType()

ArticleType

public ArticleType(int articleTypeId,
                   int rootArticleTypeId,
                   boolean currentVersion,
                   java.lang.String description,
                   java.lang.String articleMetaType,
                   java.lang.String metaDataDescription,
                   java.lang.String metaDataKeywords,
                   java.lang.String metaDataAuthor,
                   java.lang.String metaDataTitle,
                   boolean includeInNavigation,
                   boolean hideFromWebDeckUsers,
                   int priority,
                   int numberOfArticlesId,
                   boolean syndicated,
                   java.lang.String navigationDescription)
Method Detail

clear

public void clear()
Clears all data from object.


getAllArticles

public java.util.Vector getAllArticles()
Helper method


getParentArticleType

public ArticleType getParentArticleType()
Retrieves the parent of this articleType.

Returns:
the parent ArticleType, or null if this is the root node.

getParentArticleTypeWithLevel

public ArticleType getParentArticleTypeWithLevel(int level)
Retrieves the parent of this articleType.

Returns:
the parent ArticleType, or null if this is the root node.

getAllChildren

public java.util.Vector getAllChildren()
Retrieves the children of this articleType as a Vector.

Returns:
The children of this ArticleType. If this ArticleType is a leaf node, an empty Vector is returned.

isNavigationChildren

public boolean isNavigationChildren()
Determines whether or not this node has child nodes to display


getDepth

public int getDepth()
Calculates the number of descendents this artilcleType has.

Returns:
The number of descendentes, including this level.

compareTo

public int compareTo(java.lang.Object o)
Compares two articleTypes.

Specified by:
compareTo in interface java.lang.Comparable
Parameters:
o - The ArticleType to compare.
Returns:
The comparable result.

execute

public ArticleType execute()

copy

public ArticleType copy()

grantPrivilege

public boolean grantPrivilege(int cmsUserId,
                              boolean includesChildren)
Applies access priveledges to this ArticleType, and all descendents of the ArticleType to the CMSUser provided.

Parameters:
cmsUserId - The CMSUserId to grant priveleges to.
Returns:
The success of the operation.

revokePrivilege

public boolean revokePrivilege(int cmsUserId)
Removes access priveledges to this ArticleType, and all descendents of the ArticleType to the CMSUser provided.

Parameters:
cmsUserId - The CMSUserId to revoke priveleges from.
Returns:
The success of the operation.

store

public boolean store(int parentRootArticleTypeId)
Stores the current ArticleType in the database.

Parameters:
parentRootArticleTypeId - The Parent ArticleType
Returns:
The success of the operation.

getNumberOfLiveArticlesThatExist

public int getNumberOfLiveArticlesThatExist()

getNumberOfArticlesThatExist

public int getNumberOfArticlesThatExist(int browseType)

delete

public boolean delete()
Removes the current ArticleType. Note that this merely flags the ArticleType as deleted. The ArticleType and all associated articles and assets remain in the database. Fixed in 3.4.2 - all descendants are now deleted as well.s

Returns:
The success of the operation.

getHeaderImage

public java.lang.String getHeaderImage()
Rewrites the ArticleType description of the Parent ArticleType to allow it to be easily referenced as an image.

Returns:
The rewritten string.

getSubHeaderImage

public java.lang.String getSubHeaderImage()
Rewrites the ArticleType description of the current ArticleType to allow it to be easily referenced as an image.

Returns:
The rewritten string.

getFullyQualifiedDescription

public java.lang.String getFullyQualifiedDescription()
Returns the fully qualified description of the current ArticleType. The fully qualified description is the concatenation of all the parent ArticleTypes, up to and including the root ArticleType, seperated by a period ".". For example: "All Articles.Produts.WebDeck.Technical Requirements"

Returns:
The fully qualified description

getVanityURL

public java.lang.String getVanityURL(int startingLevel)
Returns the vanity URL of the current ArticleType. The vanity URL is the concatenation of all the parent ArticleTypes, up to and including the root ArticleType, seperated by a period "/". spaces replaced by underscores and in lower case. For example: "All Articles.Produts.WebDeck.Technical Requirements"

Returns:
The vanity URL

getVanityURLFromBottom

public java.lang.String getVanityURLFromBottom(int heightToTraverse)
Returns the vanity URL of the current ArticleType. The vanity URL is the concatenation of all the parent ArticleTypes, up to and including the root ArticleType, seperated by a period "/". spaces replaced by underscores and in lower case. For example: "All Articles.Produts.WebDeck.Technical Requirements"

Returns:
The vanity URL

getDescription

public java.lang.String getDescription()
Returns the simple description of the ArticleType.

Returns:
The ArticleType description.

setFullyQualifiedDescription

public boolean setFullyQualifiedDescription(java.lang.String description)
Sets the fully qualified description of the ArticleType. This description is tokenised and parsed to find the correct ArticleType. The fully qualified description is the concatenation of all the parent ArticleTypes, up to and including the root ArticleType, seperated by a period ".". For example: "All Articles.Produts.WebDeck.Technical Requirements

Parameters:
description - The fully qualified description of the ArticleType.
Returns:
True if the ArticleType was found in the tree, otherwise false.

setDescription

public void setDescription(java.lang.String description)
Sets the description of the ArticleType. If the description contains a period ".", the fully qualified ArticleType will be searched.

Parameters:
description - The description to set.

setDescriptionOnly

public void setDescriptionOnly(java.lang.String description)

setDescriptionOnlyWithoutSanitisation

public void setDescriptionOnlyWithoutSanitisation(java.lang.String description)

setArticleTypeId

public void setArticleTypeId(int articleTypeId)

getArticleTypeId

public int getArticleTypeId()

setArticleMetaType

public void setArticleMetaType(java.lang.String articleMetaType)

getArticleMetaType

public java.lang.String getArticleMetaType()

getDefaultChunkType

public com.solidstategroup.cms.ChunkType getDefaultChunkType()

setDefaultChunkType

public void setDefaultChunkType(com.solidstategroup.cms.ChunkType defaultChunkType)

setDefaultChunkTypeId

public void setDefaultChunkTypeId(int chunkTypeId)

setDefaultRootChunkTypeId

public void setDefaultRootChunkTypeId(int rootChunkTypeId)

getMetaDataDescription

public java.lang.String getMetaDataDescription()

setMetaDataDescription

public void setMetaDataDescription(java.lang.String metaDataDescription)

getMetaDataKeywords

public java.lang.String getMetaDataKeywords()

setMetaDataKeywords

public void setMetaDataKeywords(java.lang.String metaDataKeywords)

getMetaDataAuthor

public java.lang.String getMetaDataAuthor()

setMetaDataAuthor

public void setMetaDataAuthor(java.lang.String metaDataAuthor)

isIncludeInNavigation

public boolean isIncludeInNavigation()

setIncludeInNavigation

public void setIncludeInNavigation(boolean includeInNavigation)

getDefaultArticleTemplate

public com.solidstategroup.cms.ArticleTemplate getDefaultArticleTemplate()

getDefaultArticleTemplateLocation

public java.lang.String getDefaultArticleTemplateLocation()

setDefaultArticleTemplate

public void setDefaultArticleTemplate(com.solidstategroup.cms.ArticleTemplate defaultArticleTemplate)

setArticleTemplateId

public void setArticleTemplateId(int articleTemplateId)

getPriority

public int getPriority()

setPriority

public void setPriority(int priority)

getSsgObjects

public java.util.Vector getSsgObjects()

getSsgObjectsObject

public com.solidstategroup.ssgobject.SSGObjects getSsgObjectsObject()

setSsgObjects

public void setSsgObjects(java.util.Vector ssgObjects)

setSsgObjectsObject

public void setSsgObjectsObject(com.solidstategroup.ssgobject.SSGObjects newObjects)

addSSGObject

public boolean addSSGObject(com.solidstategroup.ssgobject.SSGObject newObject)

ssgObjectExists

public boolean ssgObjectExists(com.solidstategroup.ssgobject.SSGObject newObject)

addPermWebUserType

public boolean addPermWebUserType(com.solidstategroup.user.WebUserType newObject)

permWebUserTypeExists

public boolean permWebUserTypeExists(com.solidstategroup.user.WebUserType newObject)

getArticleMetaTypeId

public int getArticleMetaTypeId(java.lang.String articleMetaType)

isLeafNode

public boolean isLeafNode()

isHideFromWebDeckUsers

public boolean isHideFromWebDeckUsers()

setHideFromWebDeckUsers

public void setHideFromWebDeckUsers(boolean hideFromWebDeckUsers)

getNumberOfArticlesId

public int getNumberOfArticlesId()

setNumberOfArticlesId

public void setNumberOfArticlesId(int numberOfArticlesID)

getAllowedChunkTypes

public com.solidstategroup.cms.ChunkTypes getAllowedChunkTypes()

setAllowedChunkTypes

public void setAllowedChunkTypes(com.solidstategroup.cms.ChunkTypes allowedChunkTypes)

addChunkType

public boolean addChunkType(com.solidstategroup.cms.ChunkType newChunkType)

chunkTypeExists

public boolean chunkTypeExists(com.solidstategroup.cms.ChunkType newChunkType)

chunkTypeExists

public boolean chunkTypeExists(int newRootChunkTypeId)

isSyndicated

public boolean isSyndicated()

setSyndicated

public void setSyndicated(boolean syndicated)

getRootArticleTypeId

public int getRootArticleTypeId()

setRootArticleTypeId

public void setRootArticleTypeId(int rootArticleTypeId)

isCurrentVersion

public boolean isCurrentVersion()

setCurrentVersion

public void setCurrentVersion(boolean currentVersion)

isPreviewVersion

public boolean isPreviewVersion()

setPreviewVersion

public void setPreviewVersion(boolean previewVersion)

isLockTemplate

public boolean isLockTemplate()

setLockTemplate

public void setLockTemplate(boolean lockTemplate)

isInheritArticleFunction

public boolean isInheritArticleFunction()

setInheritArticleFunction

public void setInheritArticleFunction(boolean inheritArticleFunction)

isInheritDefaultTemplate

public boolean isInheritDefaultTemplate()

setInheritDefaultTemplate

public void setInheritDefaultTemplate(boolean inheritDefaultTemplate)

isInheritDefaultFirstSection

public boolean isInheritDefaultFirstSection()

setInheritDefaultFirstSection

public void setInheritDefaultFirstSection(boolean inheritDefaultFirstSection)

isInheritMaximumNumberOfArticles

public boolean isInheritMaximumNumberOfArticles()

setInheritMaximumNumberOfArticles

public void setInheritMaximumNumberOfArticles(boolean inheritMaximumNumberOfArticles)

isInheritIncludeInNavigation

public boolean isInheritIncludeInNavigation()

setInheritIncludeInNavigation

public void setInheritIncludeInNavigation(boolean inheritIncludeInNavigation)

isInheritHideFromWebDeckUsers

public boolean isInheritHideFromWebDeckUsers()

setInheritHideFromWebDeckUsers

public void setInheritHideFromWebDeckUsers(boolean inheritHideFromWebDeckUsers)

isInheritRSSSyndicated

public boolean isInheritRSSSyndicated()

setInheritRSSSyndicated

public void setInheritRSSSyndicated(boolean inheritRSSSyndicated)

isInheritMetaTagDescription

public boolean isInheritMetaTagDescription()

setInheritMetaTagDescription

public void setInheritMetaTagDescription(boolean inheritMetaTagDescription)

isInheritMetaTagKeywords

public boolean isInheritMetaTagKeywords()

setInheritMetaTagKeywords

public void setInheritMetaTagKeywords(boolean inheritMetaTagKeywords)

isInheritMetaTagAuthor

public boolean isInheritMetaTagAuthor()

setInheritMetaTagAuthor

public void setInheritMetaTagAuthor(boolean inheritMetaTagAuthor)

isInheritAssociatedSections

public boolean isInheritAssociatedSections()

setInheritAssociatedSections

public void setInheritAssociatedSections(boolean inheritAssociatedSections)

isInheritAssociatedGroups

public boolean isInheritAssociatedGroups()

setInheritAssociatedGroups

public void setInheritAssociatedGroups(boolean inheritAssociatedGroups)

isInheritLockTemplate

public boolean isInheritLockTemplate()

setInheritLockTemplate

public void setInheritLockTemplate(boolean inheritLockTemplate)

isInheritSecurityLevelId

public boolean isInheritSecurityLevelId()

setInheritSecurityLevelId

public void setInheritSecurityLevelId(boolean inheritSecurityLevelId)

getSecurityLevel

public com.solidstategroup.user.WebUserTypeSecurityLevel getSecurityLevel()

setSecurityLevel

public void setSecurityLevel(com.solidstategroup.user.WebUserTypeSecurityLevel securityLevel)

getSecurityLevelId

public int getSecurityLevelId()

setSecurityLevelId

public void setSecurityLevelId(int securityLevelId)

getPermissableWebUserTypes

public java.util.Vector getPermissableWebUserTypes()

setPermissableWebUserTypes

public void setPermissableWebUserTypes(java.util.Vector permissableWebUserTypes)

isInheritPermissableWebUserTypes

public boolean isInheritPermissableWebUserTypes()

setInheritPermissableWebUserTypes

public void setInheritPermissableWebUserTypes(boolean inheritPermissableWebUserTypes)

webUserAuthorised

public boolean webUserAuthorised(com.solidstategroup.user.WebUser webUser)

webUserTypeAuthorised

public boolean webUserTypeAuthorised(com.solidstategroup.user.WebUserTypes webUserTypes)
are any of these WebUserTypes authorised to view this ArticleType

Parameters:
webUserTypes -

getPermittedWebUsers

public java.util.Collection getPermittedWebUsers()
returns all the users that are in groups limited to this articleType


getMetaDataTitle

public java.lang.String getMetaDataTitle()

setMetaDataTitle

public void setMetaDataTitle(java.lang.String metaDataTitle)

isInheritMetaTagTitle

public boolean isInheritMetaTagTitle()

setInheritMetaTagTitle

public void setInheritMetaTagTitle(boolean inheritMetaTagTitle)

getNavigationDescription

public java.lang.String getNavigationDescription()

getNavigationDescriptionActual

public java.lang.String getNavigationDescriptionActual()

setNavigationDescription

public void setNavigationDescription(java.lang.String navigationDescription)

getChildArticleType

public ArticleType getChildArticleType(java.lang.String description)