org.opencms.ade.publish.shared
Class CmsProjectBean

java.lang.Object
  extended by org.opencms.ade.publish.shared.CmsProjectBean
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class CmsProjectBean
extends java.lang.Object
implements com.google.gwt.user.client.rpc.IsSerializable

A project bean.

Since:
7.6

Constructor Summary
protected CmsProjectBean()
          For serialization.
  CmsProjectBean(CmsUUID id, int type, java.lang.String name, java.lang.String description)
          Creates a new project bean.
 
Method Summary
 java.lang.String getDescription()
          Returns the project description.
 CmsUUID getId()
          Returns the id.
 java.lang.String getName()
          Returns the name.
 int getType()
          Returns the project type.
 boolean isWorkflowProject()
          Returns if the project is of the type workflow project.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsProjectBean

public CmsProjectBean(CmsUUID id,
                      int type,
                      java.lang.String name,
                      java.lang.String description)
Creates a new project bean.

Parameters:
id - the project id
type - the project type
name - the project name
description - the project description

CmsProjectBean

protected CmsProjectBean()
For serialization.

Method Detail

getDescription

public java.lang.String getDescription()
Returns the project description.

Returns:
the project description

getId

public CmsUUID getId()
Returns the id.

Returns:
the id

getName

public java.lang.String getName()
Returns the name.

Returns:
the name

getType

public int getType()
Returns the project type.

Returns:
the project type

isWorkflowProject

public boolean isWorkflowProject()
Returns if the project is of the type workflow project.

Returns:
true if the project is of the type workflow project