public class JobBean
extends java.lang.Object
Constructor and Description |
---|
JobBean() |
Modifier and Type | Method and Description |
---|---|
void |
addPhotographs(Location location)
Checks a directory stored in "location" for new photographs or films.
|
protected javax.persistence.EntityManager |
getEntityManager() |
java.lang.String |
importPhotographs(Gallery found,
java.lang.String location)
Imports photographs/films matching a certain mask (location) into an
existing gallery.
|
void |
initGalleries(Location location)
Creates galleries and adds photographs to them, based on the information
in the photographs at a certain location.
|
void |
verifyPhotographs(Location location)
Verifies existing Photographs upon a Location.
|
protected javax.persistence.EntityManager getEntityManager()
public void addPhotographs(Location location)
location
- the location that *may* have new photographs.public java.lang.String importPhotographs(Gallery found, java.lang.String location)
found
- the gallery to import photographs intolocation
- the location that should match, can use SQL wildcards
like %public void verifyPhotographs(Location location)
location
- the location at which the photographs need to be checkedpublic void initGalleries(Location location)
location
- all photographs at this location will be used.