# com.bea.netuix.application.definition
DefinitionCount Class

public class DefinitionCount
extends `Object`

A convenience class to supply the definition counts of different WebLogic Portal Framework entities for a particular web app.

Hierarchy
  `Object`
  `DefinitionCount`

## Constructor Summary

DefinitionCount()

## Method Summary

`public int` | `getBookDefinitionCount`() Returns the number of `BookDefinition`s.
`public int` | `getLayoutDefinitionCount`() Returns the number of `LayoutDefinition`s.
`public int` | `getLookAndFeelDefinitionCount`() Returns the number of `LookAndFeelDefinition`s.
`public int` | `getMenuDefinitionCount`() Returns the number of `MenuDefinition`s.
`public int` | `getPageDefinitionCount`() Returns the number of `PageDefinition`s
`public int` | `getPortletDefinitionCount`() Returns the number of `PortletDefinition`s
`public int` | `getShellDefinitionCount`() Returns the number of `ShellDefinition`s
`public int` | `getThemeDefinitionCount`() Returns the number of `ThemeDefinition`s
`public int` | `getTotalDefinitionCount`() Returns a sum of all it's constituent definition counts.
`public void` | `setBookDefinitionCount`(int bookDefinitionCount) Sets the number of `BookDefinition`s.
`public void` | `setLayoutDefinitionCount`(int layoutDefinitionCount) Sets the number of `LayoutDefinition`s.
`public void` | `setLookAndFeelDefinitionCount`(int lookAndFeelDefinitionCount) Sets the number of `LookAndFeelDefinition`s.
`public void` | `setMenuDefinitionCount`(int menuDefinitionCount) Sets the number of `MenuDefinition`s.
`public void` | `setPageDefinitionCount`(int pageDefinitionCount) Sets the number of `PageDefinition`s
`public void` | `setPortletDefinitionCount`(int portletDefinitionCount) Sets the number of `PortletDefinition`s
`public void` | `setShellDefinitionCount`(int shellDefinitionCount) Sets the number of `ShellDefinition`s
`public void` | `setThemeDefinitionCount`(int themeDefinitionCount) Sets the number of `ThemeDefinition`s

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

## Constructor Detail

### DefinitionCount

    public DefinitionCount()

## Method Detail

### getBookDefinitionCount() Method

    public int getBookDefinitionCount()

Returns the number of `BookDefinition`s.

#### Returns

number of `BookDefinition`s

### getLayoutDefinitionCount() Method

    public int getLayoutDefinitionCount()

Returns the number of `LayoutDefinition`s.

#### Returns

number of `LayoutDefinition`s

### getLookAndFeelDefinitionCount() Method

    public int getLookAndFeelDefinitionCount()

Returns the number of `LookAndFeelDefinition`s.

#### Returns

number of `LookAndFeelDefinition`s

### getMenuDefinitionCount() Method

    public int getMenuDefinitionCount()

Returns the number of `MenuDefinition`s.

#### Returns

number of `LookAndFeelDefinition`s

### getPageDefinitionCount() Method

    public int getPageDefinitionCount()

Returns the number of `PageDefinition`s

#### Returns

number of `PageDefinition`s

### getPortletDefinitionCount() Method

    public int getPortletDefinitionCount()

Returns the number of `PortletDefinition`s

#### Returns

number of `PortletDefinition`s

### getShellDefinitionCount() Method

    public int getShellDefinitionCount()

Returns the number of `ShellDefinition`s

#### Returns

number of `ShellDefinition`s

### getThemeDefinitionCount() Method

    public int getThemeDefinitionCount()

Returns the number of `ThemeDefinition`s

#### Returns

number of `ThemeDefinition`s

### getTotalDefinitionCount() Method

    public int getTotalDefinitionCount()

Returns a sum of all it's constituent definition counts.

#### Returns

sum of all definition counts

### setBookDefinitionCount(int) Method

    public void setBookDefinitionCount(int bookDefinitionCount)

Sets the number of `BookDefinition`s.

#### Parameters

bookDefinitionCount
  number of `BookDefinition`s

### setLayoutDefinitionCount(int) Method

    public void setLayoutDefinitionCount(int layoutDefinitionCount)

Sets the number of `LayoutDefinition`s.

#### Parameters

layoutDefinitionCount
  number of `BookDefinition`s

### setLookAndFeelDefinitionCount(int) Method

    public void setLookAndFeelDefinitionCount(int lookAndFeelDefinitionCount)

Sets the number of `LookAndFeelDefinition`s.

#### Parameters

lookAndFeelDefinitionCount
  number of `LookAndFeelDefinition`s

### setMenuDefinitionCount(int) Method

    public void setMenuDefinitionCount(int menuDefinitionCount)

Sets the number of `MenuDefinition`s.

#### Parameters

menuDefinitionCount
  number of `MenuDefinition`s

### setPageDefinitionCount(int) Method

    public void setPageDefinitionCount(int pageDefinitionCount)

Sets the number of `PageDefinition`s

#### Parameters

pageDefinitionCount
  number of `PageDefinition`s

### setPortletDefinitionCount(int) Method

    public void setPortletDefinitionCount(int portletDefinitionCount)

Sets the number of `PortletDefinition`s

### setShellDefinitionCount(int) Method

    public void setShellDefinitionCount(int shellDefinitionCount)

Sets the number of `ShellDefinition`s

#### Parameters

shellDefinitionCount
  number of `ShellDefinition`s

### setThemeDefinitionCount(int) Method

    public void setThemeDefinitionCount(int themeDefinitionCount)

Sets the number of `ThemeDefinition`s

#### Parameters

themeDefinitionCount
  number of `ThemeDefinition`s