com.melloware.jukes.db.orm
Class Catalog
java.lang.Object
com.jgoodies.binding.beans.Model
com.melloware.jukes.db.orm.AbstractJukesObject
com.melloware.jukes.db.orm.Catalog
- All Implemented Interfaces:
- com.jgoodies.binding.beans.Observable, Serializable
public final class Catalog
- extends AbstractJukesObject
References all relevant project data: the project description and a list of
artists. The artists refer to their child components.
Copyright (c) 1999-2007 Melloware, Inc.
- Version:
- 4.0 AZ modifications 2009
- Author:
- Emil A. Lefkof III
- See Also:
- Serialized Form
|
Constructor Summary |
Catalog(String aFilter)
Constructs a Catalog with the given name and and loads all
the artists. |
| Methods inherited from class com.jgoodies.binding.beans.Model |
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, equals, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, fireMultiplePropertiesChanged, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
settings
public static Settings settings
- EAL
Catalog
public Catalog(String aFilter)
- Constructs a
Catalog with the given name and and loads all
the artists.
- Parameters:
aFilter - the filter if there is one to apply
setSettings
public static void setSettings(Settings aSettings)
- EAL
findAllArtists
public static List findAllArtists()
- Loads all artists (excluding empty ones) in the catalog and will return
quickly if they are already cached.
- Returns:
- the complete list of artists
findAllArtistsIncludingEmpty
public static List findAllArtistsIncludingEmpty()
- AZ Loads all artists (including empty ones) in the catalog and will return
quickly if they are already cached.
- Returns:
- the complete list of artists
getArtists
public List getArtists()
- Gets the artists.
- Returns:
- Returns the artists.
getAuditDate
public Date getAuditDate()
- This date determines how the NEW flag is checked in the isNew() function.
- Specified by:
getAuditDate in class AbstractJukesObject
- Returns:
- the audit date to determine new-ness
getChildCount
public int getChildCount()
- Description copied from class:
AbstractJukesObject
- Method implemented in each ORM class. If it has some sort of child return
the count else return 0. This is used for lazy loading the tree nodes.
- Specified by:
getChildCount in class AbstractJukesObject
- Returns:
- the count of the children or 0 if no children
getCreatedDate
public Date getCreatedDate()
- Description copied from class:
AbstractJukesObject
- Method implemented in each ORM class. This returns the audit created
date.
- Specified by:
getCreatedDate in class AbstractJukesObject
- Returns:
- the created date
getId
public Long getId()
- Description copied from class:
AbstractJukesObject
- All objects must implement a unique identifier.
- Specified by:
getId in class AbstractJukesObject
- Returns:
- the id of the object
getModifiedDate
public Date getModifiedDate()
- Description copied from class:
AbstractJukesObject
- Method implemented in each ORM class. This returns the audit modified
date.
- Specified by:
getModifiedDate in class AbstractJukesObject
- Returns:
- the modification date
getName
public String getName()
- Description copied from class:
AbstractJukesObject
- All objects must implement a name function to describe this object.
- Specified by:
getName in class AbstractJukesObject
- Returns:
- the name of the object
isValid
public boolean isValid()
- Description copied from class:
AbstractJukesObject
- Gets the valid flag.
- Specified by:
isValid in class AbstractJukesObject
- Returns:
- Returns the valid flag.
Copyright © 1999-2010 Melloware Inc. All Rights Reserved.