Package se.datadosen.jalbum
Class FileAlbumObject
java.lang.Object
se.datadosen.jalbum.AlbumObjectImpl
se.datadosen.jalbum.FileAlbumObject
- All Implemented Interfaces:
Transferable
,Serializable
,Comparable<AlbumObject>
,AlbumObject
Real implementation using backing file system
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface se.datadosen.jalbum.AlbumObject
AlbumObject.Ordering
-
Field Summary
Fields inherited from class se.datadosen.jalbum.AlbumObjectImpl
ALBUMFILES_FILE_NAME, AUDIO_CLIPS_FOLDER, CACHE_FOLDER, changeSupport, JALBUM_FOLDER_NAME, representingAlbumObject, SKIN_TEMPLATES_DIR, thumbCache, WEBLOCATION_EXTENSION
Fields inherited from interface se.datadosen.jalbum.AlbumObject
albumObjectFlavor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetChildren
(boolean ordered) protected Map<String,
AlbumObject> Speed up content look-upsvoid
Call if underlying (file) structure has changed Will force synchronization with underlying structure when getChildren is calledvoid
setChildren
(List<AlbumObject> children) Set List of children AlbumObjects if this is a directory/folderMethods inherited from class se.datadosen.jalbum.AlbumObjectImpl
add, add, add, add, add, addPropertyChangeListener, addPropertyChangeListener, compareTo, containsName, copyFileMetadataToXmp, createFolder, createFolder, createPage, createPage, delete, equals, fireModelChanged, firePropertyChange, getAudioClip, getAudioClipsFolder, getCameraDate, getCategory, getChild, getChild, getComment, getDescendants, getDescendants, getEngine, getFactory, getFile, getFlag, getFolderOrdering, getImageInfo, getJAlbumFolder, getKeywords, getKeywordSet, getLastModified, getLastRefreshed, getMetadata, getName, getOrdering, getOrientation, getParent, getPathFrom, getPathFromRoot, getProperties, getRating, getRenderer, getRepresentingAlbumObject, getRepresentingAlbumObject, getRepresentingIcon, getRepresentingIcon, getRepresentingImageFile, getSize, getSize, getThumbnailPath, getTitle, getTransferData, getTransferDataFlavors, getUniqueName, getVars, getWebName, getWhenAdded, getXmpManager, hasDisplayableImage, hashCode, isCached, isDataFlavorSupported, isDisplayableImage, isFolder, isFoldersFirst, isHidden, isIncluded, isIncludeOriginal, isLink, isResourcesFolder, isReverseFolderOrdering, isReverseOrdering, isUseOriginal, isWithin, loadImage, loadImage, loadImage, moveTo, moveTo, moveTo, moveTo, removePropertyChangeListener, repairLink, rotateLeft, rotateRight, scaleToFit, setAudioClip, setCameraDate, setComment, setFlag, setFolderOrdering, setFoldersFirst, setHidden, setIncluded, setIncludeOriginal, setKeywords, setLastModified, setName, setOrdering, setOrientation, setRating, setRepresentingAlbumObject, setRepresentingIcon, setReverseFolderOrdering, setReverseOrdering, setTitle, setUseOriginal, setVars, setWhenAdded, toString, updateRepresentingIcon
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface se.datadosen.jalbum.AlbumObject
getChildren, getChildren, setKeywords
-
Constructor Details
-
FileAlbumObject
-
-
Method Details
-
getChildren
- Returns:
- List of Children AlbumObjects of this AlbumObject or null if this is not a directory/folder. Will return an empty list if this is an empty directory/folder
- See Also:
-
getChildren
- Parameters:
ordered
- Pass false and ordering will not be guaranteed (performance option)- Returns:
- List of children AlbumObjects of this AlbumObject or null if this is not a directory/folder. Will return an empty list if this is an empty directory/folder
-
setChildren
Description copied from interface:AlbumObject
Set List of children AlbumObjects if this is a directory/folder- Throws:
IOException
-
getNameMap
Description copied from class:AlbumObjectImpl
Speed up content look-ups- Specified by:
getNameMap
in classAlbumObjectImpl
- Returns:
-
invalidate
public void invalidate()Description copied from interface:AlbumObject
Call if underlying (file) structure has changed Will force synchronization with underlying structure when getChildren is called- Specified by:
invalidate
in interfaceAlbumObject
- Overrides:
invalidate
in classAlbumObjectImpl
-