|Home >> All >> org >> acs|
AssetDB: Title: High-level database abstraction that deals with domain objects Description: A singleton class which abstracts access to the sql database; including adding to, removing from, and querying. This class deals with domain objects. SQL generation and JDBC connection handling are peformed by MidAssetDB and LowAssetDB, respectively. The general form of an interaction with the AssetDB class is as follows: 1. Get a handle on the AssetDB object 2. Call one of the high level methods (addAsset, getSchema, etc) 3. That method extracts the information from the domain object and calls a middle-tier method. ...
SchemaMgr: Title: SchemaMgr Description: The SchemaMgr class provides access to metadata Schemas, which in turn contain MetaDataTags and their associated information (i.e., controlled vocabulary lists). Aside from adding, removing, and getting handles on Schemas, SchemaMgr also provides easy access to a Vector of Strings containing the names of the available Schemas (i.e., for display purposes). SchemaMgr (as well as Schema and MetaDataTag) supports serialization and the current state of all Schemas can easily be stored and loaded using the save() and newSchemaMgrFromFile() methods. Note that newSchemaMgrFromFile ...
AuthMgr: Class Name: AuthMgr Description: The Authorization Manager (AuthMgr for short) is a manager-level class that facilitates communication between the server layer and the presentation layer. It provides support for all things related to authorization, including methods for asking whether a specific user has permission to perform a specific action, retrieving permission names from the database, authenticating a user based on username and password, and verifying whether a user is in an administrator.
Asset: Class Name: Asset Description: Each instance of the Asset class represents a single asset stored in the repository. Instances maintain asset filename and metadata filename as well as an Asset Descriptor Collection which stores all of the asset descriptors listed in the metadata file. The one metadata tag that all assets have in common is the assetID, which is an autonumber (i.e., a number that is unique and automatically incremented) retrieved from the Config object.
MetaDataTag: Title: MetaDataTag Description: MetaDataTag holds a name for a tag (i.e., "Title", "Description", etc) as well as a vocabulary list for tags with a controlled vocabulary (as opposed to free-form tags). The class overrides the Object equals() method with one that only compares the Tag name. Thus, tag names must be unique, even if their other properties, such as having a controlled vocabulary list, are not.
Schema: Title: Schema Description: Schema holds a name for the schema (i.e., "Dublin Core", "Realia", etc) and a list of MetaDataTags that compose the Schema. Random access to tags is provided by isInSchema() and getTag(), sequential access by using the Iterator from tagsIterator(). Like MetaDataTags, Schemas are uniquely identified by name, even if their other properties are different.
CollectionMgr: Class Name: Collection Manager Description: This class is a manager that grabs collections from the database and passes them to anyone who reqests them. Also adds, removes and edits collections on the database. Note that this class does not maintain a list of Collections, nor does it deal with Collection objects, it deals with the database directly
Table: Title: Abstracts SQL query result tables Description: This class is used to handle the results of SQL queries made on the database. It can be used to process data in from the results of a table or out into methods using the results data. The entries in the table can also be sorted and accessed by rows, columns, or individual cells.
SlideShow: Title: SlideShow Description: Each instance of the SlideShow class represents a single SlideShow stored in the database. Instances maintain a CollectionView of all of the assets in the SlideShow, as well as the slideshow name, ownerName, permissionId, delay between slides, and a vector of tags to be display.
AdvancedSearchParams: Title: AdavancedSearchParams Description: Instances of this object are used in advanced searching. The object stores the collection to be searched as well as four vectors containing search pairs for each of the four different types of advanced searches (all words, any words, exact phrase, without words).
GroupMgr: Title: GroupMgr Description: The GroupMgr class provides access to user groups. It can be used to create and remove groups in the database, as well as add and delete users from groups, get a list of all of the groups in the data base, and retrieve the permissions associated with a particular group.
ClientApp: Title: ClientApp Description: This class is a singleton mediator between the presentation and application layers and provides the presentation layer access to objects and services in the application layer This class provides access to the SchemaMgr, CollectionMgr, AuthMgr and SearchMgr
Group: Title: Group Description: Instances of the Group class contain the group name and description, as well as Strings representing all of the possible permissions that a group can have. Class provides getters and setters for all of the permissions as well as the group name and description.
Collection: Class Name: Collection Description: This class provides services to interface with the database by setting and getting any collection information including assets located within a collection. Instances maintain a copy of all information stored in the database about a collection.
Config: Title: Config Description: Config is a singleton class that stores the configuration information for the application. It also provides a means to save the configuration to a disk. When the Config class is first created, it loads the saved configuration information from disk.
SearchPair: Title: SearchPair Description: This class is used for storing name value pairs read in from the advanced search form. Instances of SearchPair are used in constructing an AdvancedSearchParams object which facilitates in advanced searching.
DBUtils: Title: Database utility method package Description: This singleton class contains the high level methods for the AssetDB class. Methods include: the basic constructor, getPermissions, browse, and search, getCollections, getUsers, etc..
CollectionView: Class Name: Collection View Description: This class provides methods to add, remove and iterate through assets in a particular collection view. More features to be added later, i.e. the ability to apply a Mask object to this view, etc.
ControlledVocabularyException: Title: ControlledVocabularyException Description: Exception thrown by methods in the MetaDataTag class when there is an error while getting, setting, or deleting the controlled vocabulary associated with a MetaDataTag.
MidAssetDB: Title: Mid-level SQL query and statement generation Description: This singleton class contains the mid level methods for the AssetDB class. Methods include: the basic constructor, query, insert, and delete.
UserMgr: Class Name: UserMgr Description: This class contains methods to manage the UserTable. It can be used to set or retrieve users in the DB, as well as update and retrieve specific fields of the UserTable.
SearchMgr: Title: SearchMgr Description: This class contains methods used to facilitate searching and browsing of assets in the database. It includes methods for simple and advance searches, as well as browsing.
LowAssetDB: Title: Low-level database access via JDBC Description: This Class contains the low level methods of the AssetDB class. Methods include the basic constructor, executeQuery and executeStatement
AssetDescriptorCollection: Title: AssetDescriptorCollection Description: This class uses the Vector class to provide methods to manage AssetDescriptor objects. This is a collection of AssetDescriptors.
SearchAction: This checks for a keyword input. If a keyword is provided, the user is forwarded to the search results page, otherwise he/she is redirected to the search page where an error is generated.