com.arsdigita.cms.contenttypes
Class FileStorageItem

java.lang.Object
  extended bycom.arsdigita.domain.DomainObject
      extended bycom.arsdigita.domain.ObservableDomainObject
          extended bycom.arsdigita.kernel.ACSObject
              extended bycom.arsdigita.versioning.VersionedACSObject
                  extended bycom.arsdigita.cms.ContentItem
                      extended bycom.arsdigita.cms.ContentPage
                          extended bycom.arsdigita.cms.contenttypes.FileStorageItem
All Implemented Interfaces:
com.arsdigita.auditing.Audited, com.arsdigita.cms.CustomCopy

public class FileStorageItem
extends com.arsdigita.cms.ContentPage

This content type represents a FileStorageItem.

Version:
$Revision: #6 $ $Date: 2004/04/07 $

Field Summary
static String BASE_DATA_OBJECT_TYPE
          Data object type for this domain object
static String DESCRIPTION
          PDL property name for description
static String DESCRIPTION_LABEL
          Labels to avoid duplicated hard-coded strings anywhere in the content type files
static int DESCRIPTION_LENGTH
           
static String DESCRIPTION_TYPE
           
static String FILE
          PDL property name for file
static String ITEM_LABEL
           
static int SUMMARY_LENGTH
           
 
Fields inherited from class com.arsdigita.cms.ContentPage
LAUNCH_DATE, PAGES_IN_CATEGORY, PAGES_IN_FOLDER, QUERY_CATEGORY_ID, QUERY_PAGE, QUERY_ROOT_ID, QUERY_TYPE, SUMMARY, TITLE, versionId
 
Fields inherited from class com.arsdigita.cms.ContentItem
ANCESTORS, AUDITING, CHILDREN, CONTENT_SECTION, CONTENT_TYPE, DRAFT, DRAFT_VERSION, LANGUAGE, LIVE, NAME, PARENT, PENDING, VERSION, VERSIONS
 
Fields inherited from class com.arsdigita.versioning.VersionedACSObject
IS_DELETED, MASTER
 
Fields inherited from class com.arsdigita.kernel.ACSObject
CONTAINER, DEFAULT_DOMAIN_CLASS, DISPLAY_NAME, ID, OBJECT_TYPE
 
Constructor Summary
FileStorageItem()
           
FileStorageItem(BigDecimal id)
           
FileStorageItem(com.arsdigita.persistence.DataObject obj)
           
FileStorageItem(com.arsdigita.persistence.OID id)
           
FileStorageItem(String type)
           
 
Method Summary
 void beforeSave()
           
 String getDescription()
           
 com.arsdigita.cms.FileAsset getFile()
           
 String getSearchSummary()
           
 void setDescription(String description)
           
 void setFile(com.arsdigita.cms.FileAsset file)
           
 
Methods inherited from class com.arsdigita.cms.ContentPage
getBaseDataObjectType, getContentBundle, getDisplayName, getLaunchDate, getPagesInSectionQuery, getPagesInSectionQuery, getPagesInSectionQuery, getPagesInSectionQuery, getTitle, setLaunchDate, setName, setPagesQueryParameters, setPagesQueryParameters, setTitle
 
Methods inherited from class com.arsdigita.cms.ContentItem
addCategory, addPendingVersion, afterSave, assertDraft, assertLive, assertMaster, assertPending, beforeDelete, canPublishToFS, copy, copy, copyProperty, copyProperty, copyServices, copyServicesFrom, createLiveVersion, createPendingVersion, get, getCategories, getCategoryCollection, getChildren, getContentSection, getContentType, getCreationDate, getCreationIP, getCreationUser, getDraftVersion, getLanguage, getLastModifiedDate, getLastModifiedIP, getLastModifiedUser, getLifecycle, getLiveVersion, getLocale, getName, getParent, getPath, getPathInfo, getPathInfo, getPathNoJsp, getPendingVersions, getPublicVersion, getVersion, getWorkingVersion, initialize, isDraftVersion, isLive, isLiveVersion, isPendingVersion, isPublished, makeCopy, promotePendingVersion, publish, publishToFS, removeCategory, removeLifecycle, removePendingVersion, set, setContentSection, setContentType, setDefaultCategory, setLanguage, setLifecycle, setLive, setLiveVersion, setParent, setVersion, setVersionRecursively, unpublish, unpublishFromFS
 
Methods inherited from class com.arsdigita.versioning.VersionedACSObject
applyTag, applyUniqueTag, autoPropagateMaster, getMaster, getRolledBackTo, getTransactions, getTransactions, isMaster, isRolledBack, isSubtype, permanentlyDelete, propagateMaster, recordAttributeChange, rollBackTo, rollBackTo, rollForward, save, setMaster, trackChanges
 
Methods inherited from class com.arsdigita.kernel.ACSObject
assertPrivilege, checkPrivilege, doCreateCheck, doWriteCheck, getContainer, getDefaultDomainClass, getID, getSpecificObjectType, getSpecificOID, gimmeContainer, isContainerModified, setID, setID
 
Methods inherited from class com.arsdigita.domain.ObservableDomainObject
addObserver, getObservers
 
Methods inherited from class com.arsdigita.domain.DomainObject
add, add, addToAssociation, afterDelete, clear, delete, disconnect, equals, getObjectType, getOID, getSession, hashCode, isDeleted, isDisconnected, isModified, isNew, isPropertyModified, isValid, remove, remove, remove, removeFromAssociation, save, setAssociation, setAssociation, specializeDataObject, specializeDataObject, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DESCRIPTION

public static final String DESCRIPTION
PDL property name for description

See Also:
Constant Field Values

FILE

public static final String FILE
PDL property name for file

See Also:
Constant Field Values

DESCRIPTION_LABEL

public static final String DESCRIPTION_LABEL
Labels to avoid duplicated hard-coded strings anywhere in the content type files

See Also:
Constant Field Values

ITEM_LABEL

public static final String ITEM_LABEL
See Also:
Constant Field Values

DESCRIPTION_TYPE

public static final String DESCRIPTION_TYPE
See Also:
Constant Field Values

BASE_DATA_OBJECT_TYPE

public static final String BASE_DATA_OBJECT_TYPE
Data object type for this domain object

See Also:
Constant Field Values

DESCRIPTION_LENGTH

public static final int DESCRIPTION_LENGTH
See Also:
Constant Field Values

SUMMARY_LENGTH

public static final int SUMMARY_LENGTH
See Also:
Constant Field Values
Constructor Detail

FileStorageItem

public FileStorageItem()

FileStorageItem

public FileStorageItem(BigDecimal id)
                throws com.arsdigita.domain.DataObjectNotFoundException

FileStorageItem

public FileStorageItem(com.arsdigita.persistence.OID id)
                throws com.arsdigita.domain.DataObjectNotFoundException

FileStorageItem

public FileStorageItem(com.arsdigita.persistence.DataObject obj)

FileStorageItem

public FileStorageItem(String type)
Method Detail

beforeSave

public void beforeSave()

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getSearchSummary

public String getSearchSummary()

getFile

public com.arsdigita.cms.FileAsset getFile()

setFile

public void setFile(com.arsdigita.cms.FileAsset file)


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 22 2004:0002 UTC