Skip navigation links


com.fatwire.services.beans.entity
Class StartMenuBean

java.lang.Object
  extended by com.fatwire.services.beans.BaseBean
      extended by com.fatwire.services.beans.entity.StartMenuBean

All Implemented Interfaces:
java.io.Serializable

public class StartMenuBean
extends BaseBean

The StartMenuBean is the value object which represents a start menu item available to a specific role. Start menus are associated with a type (and optionally with a sub-type) and are the starting points for creating assets of the specific type. Following the attempt to create, the asset is attempted to be set into a workflow, hence a start menu will also associate the workflow it sets the asset into. This bean provides the following information:

See Also:
AssetBean, TypeBean, RoleBean, WorkflowBean, Serialized Form

Nested Class Summary
static class StartMenuBean.Type
          Enumerates all the supported start menu types.

 

Constructor Summary
StartMenuBean()
           

 

Method Summary
 TypeBean getAssetType()
          Returns the asset type which can be accessed using this start menu item.
 java.lang.String getDefaultLayout()
           
 java.lang.String getDescription()
          Returns the description of this start menu item.
 java.lang.Long getId()
          Returns the identifier for this start menu item.
 java.lang.String getName()
          Returns the name of this start menu item.
 StartMenuBean.Type getType()
          Returns the type of this start menu item.
 WorkflowBean getWorkflow()
          Returns the workflow object associated with this start menu item.
 void setAssetType(TypeBean assetType)
          Sets the asset type which can be accessed using this start menu item.
 void setDefaultLayout(java.lang.String defaultLayout)
           
 void setDescription(java.lang.String description)
          Sets the description of this start menu item.
 void setId(java.lang.Long id)
          Sets the identifier for this start menu item.
 void setName(java.lang.String name)
          Sets the name of this start menu item.
 void setType(StartMenuBean.Type type)
          Sets the type of this start menu item.
 void setWorkflow(WorkflowBean workflow)
          Sets the workflow object associated with this start menu item.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

StartMenuBean

public StartMenuBean()

Method Detail

getId

public java.lang.Long getId()
Returns the identifier for this start menu item.
Returns:
the start menu id.

setId

public void setId(java.lang.Long id)
Sets the identifier for this start menu item.
Parameters:
id - the id to set.

setName

public void setName(java.lang.String name)
Sets the name of this start menu item.
Parameters:
name - the name of this start menu to set.

getName

public java.lang.String getName()
Returns the name of this start menu item.
Returns:
the name of this start menu item.

getDescription

public java.lang.String getDescription()
Returns the description of this start menu item.
Returns:
the description of this start menu item.

setDescription

public void setDescription(java.lang.String description)
Sets the description of this start menu item.
Parameters:
description - the description to set for this start menu.

getType

public StartMenuBean.Type getType()
Returns the type of this start menu item.
Returns:
type of this start menu.
See Also:
StartMenuBean.Type

setType

public void setType(StartMenuBean.Type type)
Sets the type of this start menu item.
Parameters:
type - the type to set for this start menu.
See Also:
StartMenuBean.Type

getAssetType

public TypeBean getAssetType()
Returns the asset type which can be accessed using this start menu item.
Returns:
the asset type associated with this start menu.

setAssetType

public void setAssetType(TypeBean assetType)
Sets the asset type which can be accessed using this start menu item.
Parameters:
assetType -

getWorkflow

public WorkflowBean getWorkflow()
Returns the workflow object associated with this start menu item.
Returns:
the associated workflow object.

setWorkflow

public void setWorkflow(WorkflowBean workflow)
Sets the workflow object associated with this start menu item.
Parameters:
workflow - the workflow object to set.

getDefaultLayout

public java.lang.String getDefaultLayout()

setDefaultLayout

public void setDefaultLayout(java.lang.String defaultLayout)

Skip navigation links


Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.