org.palo.api.impl.subsets2
Class Subset2Impl

java.lang.Object
  extended by org.palo.api.impl.subsets2.Subset2Impl
All Implemented Interfaces:
NamedEntity, Subset2

Deprecated. PLEASE DO NOT USE!! SUBJECT TO CHANGE!!

public class Subset2Impl
extends java.lang.Object
implements Subset2

Subset2Impl TODO DOCUMENT ME

Version:
$Id: Subset2Impl.html,v 1.1 2007/10/29 13:51:19 ArndHouben Exp $

Constructor Summary
Subset2Impl(java.lang.String id, Database database, java.lang.String dimensionID)
          Deprecated.  
 
Method Summary
 void add(SubsetFilter filter)
          Deprecated. Adds the given subset filter to the list of all subset filters which should be applied to this subset.
 boolean contains(Element element)
          Deprecated. Checks if the given Element is inside this subset or not.
 java.lang.String[] getAliases()
          Deprecated. Returns the IDs of aliases currently set.
 Dimension getDimension()
          Deprecated. Returns the Dimension to which this subset applies.
 java.lang.String[] getElementIds()
          Deprecated.  
 Element[] getElements()
          Deprecated. Returns all Elements of this subset.
 SubsetFilter getFilter(int type)
          Deprecated. Returns the subset filter which corresponds to the given type
 SubsetFilter[] getFilters()
          Deprecated. Returns all subset filters of this subset
 ElementNode[] getHierarchy()
          Deprecated.  
 java.lang.String getId()
          Deprecated. The unique subset id.
 int getIndent()
          Deprecated.  
 java.lang.String getName()
          Deprecated. Returns the name of the subset
 void remove(SubsetFilter filter)
          Deprecated. Removes the given subset filter from the list of all subset filters which should be applied to this subset.
 void reset()
          Deprecated. Resets this subset to its defaults, i.e. all filters and aliases are removed.
 boolean save()
          Deprecated. Saves this subset
 void setAlias(int index, java.lang.String alias)
          Deprecated.  
 void setIndent(int indent)
          Deprecated.  
 void setName(java.lang.String name)
          Deprecated.  
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Subset2Impl

public Subset2Impl(java.lang.String id,
                   Database database,
                   java.lang.String dimensionID)
Deprecated. 
Method Detail

getId

public final java.lang.String getId()
Deprecated. 
Description copied from interface: Subset2
The unique subset id.

Specified by:
getId in interface Subset2
Returns:
the subset id

contains

public final boolean contains(Element element)
Deprecated. 
Description copied from interface: Subset2
Checks if the given Element is inside this subset or not.

Specified by:
contains in interface Subset2
Parameters:
element - the Element to check
Returns:
true if Element is inside this subset, false if not.

getElementIds

public final java.lang.String[] getElementIds()
Deprecated. 

getElements

public final Element[] getElements()
Deprecated. 
Description copied from interface: Subset2
Returns all Elements of this subset.

Specified by:
getElements in interface Subset2
Returns:

getHierarchy

public final ElementNode[] getHierarchy()
Deprecated. 
Specified by:
getHierarchy in interface Subset2

reset

public final void reset()
Deprecated. 
Description copied from interface: Subset2
Resets this subset to its defaults, i.e. all filters and aliases are removed.

Specified by:
reset in interface Subset2

save

public final boolean save()
                   throws PaloAPIException
Deprecated. 
Description copied from interface: Subset2
Saves this subset

Specified by:
save in interface Subset2
Throws:
PaloAPIException

add

public final void add(SubsetFilter filter)
Deprecated. 
Description copied from interface: Subset2
Adds the given subset filter to the list of all subset filters which should be applied to this subset. Note that this will overwrite a filter of the same type which was added before.

Specified by:
add in interface Subset2

getFilters

public final SubsetFilter[] getFilters()
Deprecated. 
Description copied from interface: Subset2
Returns all subset filters of this subset

Specified by:
getFilters in interface Subset2
Returns:
an array of applied subset filters

remove

public final void remove(SubsetFilter filter)
Deprecated. 
Description copied from interface: Subset2
Removes the given subset filter from the list of all subset filters which should be applied to this subset.

Specified by:
remove in interface Subset2

getFilter

public final SubsetFilter getFilter(int type)
Deprecated. 
Description copied from interface: Subset2
Returns the subset filter which corresponds to the given type

Specified by:
getFilter in interface Subset2
Parameters:
type - a valid subset filter type
Returns:
the corresponding ISubsetFilter or null

getAliases

public final java.lang.String[] getAliases()
Deprecated. 
Description copied from interface: Subset2
Returns the IDs of aliases currently set. If the returned array is not empty the first alias should be used. If the first alias is not valid take the second one and so on.

Specified by:
getAliases in interface Subset2
Returns:

setAlias

public final void setAlias(int index,
                           java.lang.String alias)
Deprecated. 

getIndent

public final int getIndent()
Deprecated. 
Specified by:
getIndent in interface Subset2

setIndent

public final void setIndent(int indent)
Deprecated. 

getName

public final java.lang.String getName()
Deprecated. 
Description copied from interface: Subset2
Returns the name of the subset

Specified by:
getName in interface NamedEntity
Specified by:
getName in interface Subset2
Returns:
the subset name

setName

public final void setName(java.lang.String name)
Deprecated. 

getDimension

public Dimension getDimension()
Deprecated. 
Description copied from interface: Subset2
Returns the Dimension to which this subset applies.

Specified by:
getDimension in interface Subset2
Returns:
the subset dimension