org.alfresco.web.bean.wcm
Class WebProject

java.lang.Object
  extended by org.alfresco.web.bean.wcm.WebProject
All Implemented Interfaces:
java.io.Serializable

public class WebProject
extends java.lang.Object
implements java.io.Serializable

Provides configured data for a web project.

See Also:
Serialized Form

Constructor Summary
WebProject(org.alfresco.service.cmr.repository.NodeRef nodeRef)
           
WebProject(java.lang.String avmPath)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 java.lang.String getDescription()
          Deprecated.  
 Form getForm(java.lang.String name)
          Returns the form with the given name or null if not found.
 java.util.List getForms()
          Returns the forms configured for this web project.
 java.lang.String getName()
          Deprecated.  
 org.alfresco.service.cmr.repository.NodeRef getNodeRef()
          Returns the noderef for the webproject
 java.lang.String getStagingStore()
          Deprecated.  
 java.lang.String getStoreId()
          Deprecated.  
 java.lang.String getTitle()
          Deprecated.  
 int hashCode()
           
 boolean hasWorkflow()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebProject

public WebProject(org.alfresco.service.cmr.repository.NodeRef nodeRef)

WebProject

public WebProject(java.lang.String avmPath)
Method Detail

getNodeRef

public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
Returns the noderef for the webproject

Returns:
the noderef for the webproject.

getName

public java.lang.String getName()
Deprecated. 

Returns the name of the web project.

Returns:
the name of the web project.

getTitle

public java.lang.String getTitle()
Deprecated. 

Returns the title of the web project.

Returns:
the title of the web project.

getDescription

public java.lang.String getDescription()
Deprecated. 

Returns the description of the web project.

Returns:
the description of the web project.

getStoreId

public java.lang.String getStoreId()
Deprecated. 

Returns the store id for this web project.

Returns:
the store id for this web project.

getStagingStore

public java.lang.String getStagingStore()
Deprecated. 

Returns the staging store name.

Returns:
the staging store name.

getForms

public java.util.List getForms()
Returns the forms configured for this web project.

Returns:
the forms configured for this web project.

getForm

public Form getForm(java.lang.String name)
             throws FormNotFoundException
Returns the form with the given name or null if not found.

Parameters:
name - the name of the form
Returns:
the form or null if not found.
Throws:
java.lang.NullPointerException - if the name is null.
FormNotFoundException

hasWorkflow

public boolean hasWorkflow()
Returns:
true if this WebProject has any workflows assigned directly to the website or assigned to any of the forms attached to it

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.