public interface ManagedFileHome
extends javax.ejb.EJBHome
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Modifier and Type | Method and Description |
---|---|
com.ibm.commerce.context.content.resources.file.objects.ManagedFile | create(com.ibm.commerce.context.content.objects.EntityCreationData entityCreationData)
Creates a new managed file.
|
java.util.Collection | findByFileDirectoryId(java.lang.Long fileDirId)
Finds all the managed file with the same file directory ID.
|
com.ibm.commerce.context.content.resources.file.objects.ManagedFile | findByFilePath(java.lang.String filePath)
Finds the managed file that matches the specified file path.
|
com.ibm.commerce.context.content.resources.file.objects.ManagedFile | findByPrimaryKey(java.lang.Long primaryKey)
Finds the managed file based on the primary key.
|
java.util.Collection | findByPromoteToFS(java.lang.Short anPromoteToFS)
Finds all the managed file with the specified promote to file system flag.
|
java.util.Collection | findByPromoteToFSAndBeforeUploadTimestamp(java.lang.Short anPromoteToFS, java.sql.Timestamp atmLastUploadTimestamp)
Finds all the managed file with the specified promote to file system flag and before a specified upload time.
|
java.util.Collection | findByPromoteToFSAndPublished(java.lang.Short anPromoteToFS, java.lang.Short anPublished)
Finds all the managed file with the specified promote to file system flag and published flag.
|
java.util.Collection | findByPromoteToFSAndPublishedAndBeforeUploadTimestamp(java.lang.Short anPromoteToFS, java.lang.Short anPublished, java.sql.Timestamp atmLastUploadTimestamp)
Finds all the managed file with the specified promote to file system flag and published flag and before a specified upload time.
|
static final java.lang.String COPYRIGHT
com.ibm.commerce.context.content.resources.file.objects.ManagedFile create(com.ibm.commerce.context.content.objects.EntityCreationData entityCreationData) throws javax.ejb.CreateException, java.rmi.RemoteException
com.ibm.commerce.context.content.resources.file.objects.ManagedFile findByPrimaryKey(java.lang.Long primaryKey) throws javax.ejb.FinderException, java.rmi.RemoteException
com.ibm.commerce.context.content.resources.file.objects.ManagedFile findByFilePath(java.lang.String filePath) throws javax.ejb.FinderException, java.rmi.RemoteException
EJBQL:
select object(o) from ManagedFile o where o.filePath= filePath
java.util.Collection findByFileDirectoryId(java.lang.Long fileDirId) throws javax.ejb.FinderException, java.rmi.RemoteException
EJBQL:
select object(o) from ManagedFile o where o.fileDirId = fileDirId
java.util.Collection findByPromoteToFS(java.lang.Short anPromoteToFS) throws javax.ejb.FinderException, java.rmi.RemoteException
EJBQL:
select object(o) from ManagedFile o where o.promotedToFileSystem = anPromoteToFS
java.util.Collection findByPromoteToFSAndPublished(java.lang.Short anPromoteToFS, java.lang.Short anPublished) throws javax.ejb.FinderException, java.rmi.RemoteException
EJBQL:
select object(o) from ManagedFile o where o.promotedToFileSystem = anPromoteToFS and o.published = anPublished
java.util.Collection findByPromoteToFSAndBeforeUploadTimestamp(java.lang.Short anPromoteToFS, java.sql.Timestamp atmLastUploadTimestamp) throws javax.ejb.FinderException, java.rmi.RemoteException
EJBQL:
select object(o) from ManagedFile o where o.promotedToFileSystem = anPromoteToFS and o.uploadTimestamp atmLastUploadTimestamp
java.util.Collection findByPromoteToFSAndPublishedAndBeforeUploadTimestamp(java.lang.Short anPromoteToFS, java.lang.Short anPublished, java.sql.Timestamp atmLastUploadTimestamp) throws javax.ejb.FinderException, java.rmi.RemoteException
EJBQL:
select object(o) from ManagedFile o where o.promotedToFileSystem = anPromoteToFS and o.published = anPublished and o.uploadTimestamp atmLastUploadTimestamp