com.hack23.cia.model.impl.application.configuration
Class AbstractAgencyConfiguration

Package class diagram package AbstractAgencyConfiguration
java.lang.Object
  extended by com.hack23.cia.model.impl.common.BaseEntity
      extended by com.hack23.cia.model.impl.common.AbstractResource
          extended by com.hack23.cia.model.impl.application.content.AbstractApplicationResource
              extended by com.hack23.cia.model.impl.application.configuration.AbstractAgencyConfiguration
All Implemented Interfaces:
Configuration, ApplicationResource, ModelObject, PersistedModelObject, Resource, Serializable
Direct Known Subclasses:
Portal

@Entity
public abstract class AbstractAgencyConfiguration
extends AbstractApplicationResource
implements Configuration

The Class AbstractAgencyConfiguration.

See Also:
Serialized Form

Constructor Summary
Modifier Constructor and Description
protected AbstractAgencyConfiguration(ResourceType resourceType)
          Instantiates a new abstract agency configuration.
 
Method Summary
Modifier and Type Method and Description
 boolean getActiveByDefault()
          Gets the active by default.
 TypeContext getApplicationTypeContext()
          Gets the application type context.
 String getName()
          Gets the name.
 int getUsageOrder()
          Gets the usage order.
 void setActiveByDefault(boolean activeByDefault)
          Sets the active by default.
 void setName(String name)
          Sets the name.
 void setUsageOrder(int usageOrder)
          Sets the usage order.
 
Methods inherited from class com.hack23.cia.model.impl.common.AbstractResource
getId, getResourceType, getVersion, setId, setResourceType, setVersion
 
Methods inherited from class com.hack23.cia.model.impl.common.BaseEntity
equals, getTypeContext, hashCode, isNew
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.hack23.cia.model.api.common.Resource
getResourceType
 
Methods inherited from interface com.hack23.cia.model.api.common.PersistedModelObject
getId, getTypeContext, getVersion, isNew, setId, setVersion
 

Constructor Detail

AbstractAgencyConfiguration

protected AbstractAgencyConfiguration(ResourceType resourceType)
Instantiates a new abstract agency configuration.

Parameters:
resourceType - the resource type
Method Detail

getActiveByDefault

public boolean getActiveByDefault()
Gets the active by default.

Returns:
the active by default

getApplicationTypeContext

public TypeContext getApplicationTypeContext()
Description copied from class: BaseEntity
Gets the application type context.

Specified by:
getApplicationTypeContext in class BaseEntity
Returns:
the application type context

getName

public String getName()
Description copied from interface: Configuration
Gets the name.

Specified by:
getName in interface Configuration
Returns:
the name

getUsageOrder

public int getUsageOrder()
Gets the usage order.

Returns:
the usage order

setActiveByDefault

public void setActiveByDefault(boolean activeByDefault)
Sets the active by default.

Parameters:
activeByDefault - the new active by default

setName

public void setName(String name)
Description copied from interface: Configuration
Sets the name.

Specified by:
setName in interface Configuration
Parameters:
name - the new name

setUsageOrder

public void setUsageOrder(int usageOrder)
Sets the usage order.

Parameters:
usageOrder - the new usage order


Copyright © 2008-2010 www.hack23.com. All Rights Reserved.