Liferay 6.2.0

com.liferay.portlet.asset.service
Interface AssetEntryLocalService

All Superinterfaces:
BaseLocalService, PersistedModelLocalService
All Known Implementing Classes:
AssetEntryLocalServiceBaseImpl, AssetEntryLocalServiceImpl, AssetEntryLocalServiceWrapper

@ProviderType
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface AssetEntryLocalService
extends BaseLocalService, PersistedModelLocalService

Provides the local service interface for AssetEntry. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

See Also:
AssetEntryLocalServiceUtil, AssetEntryLocalServiceBaseImpl, AssetEntryLocalServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
abstract  void addAssetCategoryAssetEntries(long categoryId, List<AssetEntry> AssetEntries)
           
abstract  void addAssetCategoryAssetEntries(long categoryId, long[] entryIds)
           
abstract  void addAssetCategoryAssetEntry(long categoryId, AssetEntry assetEntry)
           
abstract  void addAssetCategoryAssetEntry(long categoryId, long entryId)
           
abstract  AssetEntry addAssetEntry(AssetEntry assetEntry)
          Adds the asset entry to the database.
abstract  void addAssetTagAssetEntries(long tagId, List<AssetEntry> AssetEntries)
           
abstract  void addAssetTagAssetEntries(long tagId, long[] entryIds)
           
abstract  void addAssetTagAssetEntry(long tagId, AssetEntry assetEntry)
           
abstract  void addAssetTagAssetEntry(long tagId, long entryId)
           
abstract  void clearAssetCategoryAssetEntries(long categoryId)
           
abstract  void clearAssetTagAssetEntries(long tagId)
           
abstract  AssetEntry createAssetEntry(long entryId)
          Creates a new asset entry with the primary key.
abstract  void deleteAssetCategoryAssetEntries(long categoryId, List<AssetEntry> AssetEntries)
           
abstract  void deleteAssetCategoryAssetEntries(long categoryId, long[] entryIds)
           
abstract  void deleteAssetCategoryAssetEntry(long categoryId, AssetEntry assetEntry)
           
abstract  void deleteAssetCategoryAssetEntry(long categoryId, long entryId)
           
abstract  AssetEntry deleteAssetEntry(AssetEntry assetEntry)
          Deletes the asset entry from the database.
abstract  AssetEntry deleteAssetEntry(long entryId)
          Deletes the asset entry with the primary key from the database.
abstract  void deleteAssetTagAssetEntries(long tagId, List<AssetEntry> AssetEntries)
           
abstract  void deleteAssetTagAssetEntries(long tagId, long[] entryIds)
           
abstract  void deleteAssetTagAssetEntry(long tagId, AssetEntry assetEntry)
           
abstract  void deleteAssetTagAssetEntry(long tagId, long entryId)
           
abstract  void deleteEntry(AssetEntry entry)
           
abstract  void deleteEntry(long entryId)
           
abstract  void deleteEntry(String className, long classPK)
           
abstract  DynamicQuery dynamicQuery()
           
abstract  List dynamicQuery(DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
abstract  List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
abstract  List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
          Performs a dynamic query on the database and returns an ordered range of the matching rows.
abstract  long dynamicQueryCount(DynamicQuery dynamicQuery)
          Returns the number of rows that match the dynamic query.
abstract  long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
          Returns the number of rows that match the dynamic query.
abstract  AssetEntry fetchAssetEntry(long entryId)
           
abstract  AssetEntry fetchEntry(long entryId)
           
abstract  AssetEntry fetchEntry(long groupId, String classUuid)
           
abstract  AssetEntry fetchEntry(String className, long classPK)
           
abstract  List<AssetEntry> getAncestorEntries(long entryId)
           
abstract  List<AssetEntry> getAssetCategoryAssetEntries(long categoryId)
           
abstract  List<AssetEntry> getAssetCategoryAssetEntries(long categoryId, int start, int end)
           
abstract  List<AssetEntry> getAssetCategoryAssetEntries(long categoryId, int start, int end, OrderByComparator orderByComparator)
           
abstract  int getAssetCategoryAssetEntriesCount(long categoryId)
           
abstract  List<AssetEntry> getAssetEntries(int start, int end)
          Returns a range of all the asset entries.
abstract  int getAssetEntriesCount()
          Returns the number of asset entries.
abstract  AssetEntry getAssetEntry(long entryId)
          Returns the asset entry with the primary key.
abstract  List<AssetEntry> getAssetTagAssetEntries(long tagId)
           
abstract  List<AssetEntry> getAssetTagAssetEntries(long tagId, int start, int end)
           
abstract  List<AssetEntry> getAssetTagAssetEntries(long tagId, int start, int end, OrderByComparator orderByComparator)
           
abstract  int getAssetTagAssetEntriesCount(long tagId)
           
abstract  String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
abstract  List<AssetEntry> getChildEntries(long entryId)
           
abstract  List<AssetEntry> getCompanyEntries(long companyId, int start, int end)
           
abstract  int getCompanyEntriesCount(long companyId)
           
abstract  List<AssetEntry> getEntries(AssetEntryQuery entryQuery)
           
abstract  int getEntriesCount(AssetEntryQuery entryQuery)
           
abstract  AssetEntry getEntry(long entryId)
           
abstract  AssetEntry getEntry(long groupId, String classUuid)
           
abstract  AssetEntry getEntry(String className, long classPK)
           
abstract  AssetEntry getNextEntry(long entryId)
           
abstract  AssetEntry getParentEntry(long entryId)
           
abstract  PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
abstract  AssetEntry getPreviousEntry(long entryId)
           
abstract  List<AssetEntry> getTopViewedEntries(String[] className, boolean asc, int start, int end)
           
abstract  List<AssetEntry> getTopViewedEntries(String className, boolean asc, int start, int end)
           
abstract  boolean hasAssetCategoryAssetEntries(long categoryId)
           
abstract  boolean hasAssetCategoryAssetEntry(long categoryId, long entryId)
           
abstract  boolean hasAssetTagAssetEntries(long tagId)
           
abstract  boolean hasAssetTagAssetEntry(long tagId, long entryId)
           
abstract  AssetEntry incrementViewCounter(long userId, String className, long classPK)
           
abstract  AssetEntry incrementViewCounter(long userId, String className, long classPK, int increment)
           
abstract  void reindex(List<AssetEntry> entries)
           
abstract  Hits search(long companyId, long[] groupIds, long userId, String className, String keywords, int start, int end)
          Deprecated. As of 6.2.0, replaced by search(long, long[], long, String, String, int, int, int)
abstract  Hits search(long companyId, long[] groupIds, long userId, String className, String keywords, int status, int start, int end)
           
abstract  Hits search(long companyId, long[] groupIds, long userId, String className, String userName, String title, String description, String assetCategoryIds, String assetTagNames, boolean andSearch, int start, int end)
          Deprecated. As of 6.2.0, replaced by search(long, long[], long, String, String, String, String, String, String, int, boolean, int, int)
abstract  Hits search(long companyId, long[] groupIds, long userId, String className, String userName, String title, String description, String assetCategoryIds, String assetTagNames, int status, boolean andSearch, int start, int end)
           
abstract  Hits search(long companyId, long[] groupIds, String className, String keywords, int start, int end)
          Deprecated. As of 6.2.0, replaced by search(long, long[], long, String, String, int, int, int)
abstract  void setAssetCategoryAssetEntries(long categoryId, long[] entryIds)
           
abstract  void setAssetTagAssetEntries(long tagId, long[] entryIds)
           
abstract  void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
abstract  AssetEntry updateAssetEntry(AssetEntry assetEntry)
          Updates the asset entry in the database or adds it if it does not yet exist.
abstract  AssetEntry updateEntry(long userId, long groupId, Date createDate, Date modifiedDate, String className, long classPK, String classUuid, long classTypeId, long[] categoryIds, String[] tagNames, boolean visible, Date startDate, Date endDate, Date expirationDate, String mimeType, String title, String description, String summary, String url, String layoutUuid, int height, int width, Integer priority, boolean sync)
           
abstract  AssetEntry updateEntry(long userId, long groupId, String className, long classPK, long[] categoryIds, String[] tagNames)
           
abstract  AssetEntry updateEntry(long userId, long groupId, String className, long classPK, String classUuid, long classTypeId, long[] categoryIds, String[] tagNames, boolean visible, Date startDate, Date endDate, Date publishDate, Date expirationDate, String mimeType, String title, String description, String summary, String url, String layoutUuid, int height, int width, Integer priority, boolean sync)
          Deprecated. As of 6.2.0, replaced by updateEntry(long, long, String, long, String, long, long[], String[], boolean, Date, Date, Date, String, String, String, String, String, String, int, int, Integer, boolean)
abstract  AssetEntry updateEntry(long userId, long groupId, String className, long classPK, String classUuid, long classTypeId, long[] categoryIds, String[] tagNames, boolean visible, Date startDate, Date endDate, Date expirationDate, String mimeType, String title, String description, String summary, String url, String layoutUuid, int height, int width, Integer priority, boolean sync)
          Deprecated. As of 6.2.0, replaced by updateEntry(long, long, Date, Date, String, long, String, long, long[], String[], boolean, Date, Date, Date, String, String, String, String, String, String, int, int, Integer, boolean)
abstract  AssetEntry updateEntry(String className, long classPK, Date publishDate, boolean visible)
           
abstract  AssetEntry updateEntry(String className, long classPK, Date publishDate, Date expirationDate, boolean visible)
           
abstract  AssetEntry updateVisible(String className, long classPK, boolean visible)
           
abstract  void validate(long groupId, String className, long[] categoryIds, String[] tagNames)
           
 

Method Detail

addAssetEntry

AssetEntry addAssetEntry(AssetEntry assetEntry)
                         throws SystemException
Adds the asset entry to the database. Also notifies the appropriate model listeners.

Parameters:
assetEntry - the asset entry
Returns:
the asset entry that was added
Throws:
SystemException - if a system exception occurred

createAssetEntry

AssetEntry createAssetEntry(long entryId)
Creates a new asset entry with the primary key. Does not add the asset entry to the database.

Parameters:
entryId - the primary key for the new asset entry
Returns:
the new asset entry

deleteAssetEntry

AssetEntry deleteAssetEntry(long entryId)
                            throws PortalException,
                                   SystemException
Deletes the asset entry with the primary key from the database. Also notifies the appropriate model listeners.

Parameters:
entryId - the primary key of the asset entry
Returns:
the asset entry that was removed
Throws:
PortalException - if a asset entry with the primary key could not be found
SystemException - if a system exception occurred

deleteAssetEntry

AssetEntry deleteAssetEntry(AssetEntry assetEntry)
                            throws SystemException
Deletes the asset entry from the database. Also notifies the appropriate model listeners.

Parameters:
assetEntry - the asset entry
Returns:
the asset entry that was removed
Throws:
SystemException - if a system exception occurred

dynamicQuery

DynamicQuery dynamicQuery()

dynamicQuery

List dynamicQuery(DynamicQuery dynamicQuery)
                  throws SystemException
Performs a dynamic query on the database and returns the matching rows.

Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

List dynamicQuery(DynamicQuery dynamicQuery,
                  int start,
                  int end)
                  throws SystemException
Performs a dynamic query on the database and returns a range of the matching rows.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
Returns:
the range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

List dynamicQuery(DynamicQuery dynamicQuery,
                  int start,
                  int end,
                  OrderByComparator orderByComparator)
                  throws SystemException
Performs a dynamic query on the database and returns an ordered range of the matching rows.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQueryCount

long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Returns the number of rows that match the dynamic query.

Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows that match the dynamic query
Throws:
SystemException - if a system exception occurred

dynamicQueryCount

long dynamicQueryCount(DynamicQuery dynamicQuery,
                       Projection projection)
                       throws SystemException
Returns the number of rows that match the dynamic query.

Parameters:
dynamicQuery - the dynamic query
projection - the projection to apply to the query
Returns:
the number of rows that match the dynamic query
Throws:
SystemException - if a system exception occurred

fetchAssetEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AssetEntry fetchAssetEntry(long entryId)
                           throws SystemException
Throws:
SystemException

getAssetEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AssetEntry getAssetEntry(long entryId)
                         throws PortalException,
                                SystemException
Returns the asset entry with the primary key.

Parameters:
entryId - the primary key of the asset entry
Returns:
the asset entry
Throws:
PortalException - if a asset entry with the primary key could not be found
SystemException - if a system exception occurred

getPersistedModel

@Transactional(propagation=SUPPORTS,
               readOnly=true)
PersistedModel getPersistedModel(Serializable primaryKeyObj)
                                 throws PortalException,
                                        SystemException
Specified by:
getPersistedModel in interface PersistedModelLocalService
Throws:
PortalException
SystemException

getAssetEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetEntry> getAssetEntries(int start,
                                                                          int end)
                                 throws SystemException
Returns a range of all the asset entries.

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from AssetEntryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
start - the lower bound of the range of asset entries
end - the upper bound of the range of asset entries (not inclusive)
Returns:
the range of asset entries
Throws:
SystemException - if a system exception occurred

getAssetEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getAssetEntriesCount()
                         throws SystemException
Returns the number of asset entries.

Returns:
the number of asset entries
Throws:
SystemException - if a system exception occurred

updateAssetEntry

AssetEntry updateAssetEntry(AssetEntry assetEntry)
                            throws SystemException
Updates the asset entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Parameters:
assetEntry - the asset entry
Returns:
the asset entry that was updated
Throws:
SystemException - if a system exception occurred

addAssetCategoryAssetEntry

void addAssetCategoryAssetEntry(long categoryId,
                                long entryId)
                                throws SystemException
Throws:
SystemException - if a system exception occurred

addAssetCategoryAssetEntry

void addAssetCategoryAssetEntry(long categoryId,
                                AssetEntry assetEntry)
                                throws SystemException
Throws:
SystemException - if a system exception occurred

addAssetCategoryAssetEntries

void addAssetCategoryAssetEntries(long categoryId,
                                  long[] entryIds)
                                  throws SystemException
Throws:
SystemException - if a system exception occurred

addAssetCategoryAssetEntries

void addAssetCategoryAssetEntries(long categoryId,
                                  List<AssetEntry> AssetEntries)
                                  throws SystemException
Throws:
SystemException - if a system exception occurred

clearAssetCategoryAssetEntries

void clearAssetCategoryAssetEntries(long categoryId)
                                    throws SystemException
Throws:
SystemException - if a system exception occurred

deleteAssetCategoryAssetEntry

void deleteAssetCategoryAssetEntry(long categoryId,
                                   long entryId)
                                   throws SystemException
Throws:
SystemException - if a system exception occurred

deleteAssetCategoryAssetEntry

void deleteAssetCategoryAssetEntry(long categoryId,
                                   AssetEntry assetEntry)
                                   throws SystemException
Throws:
SystemException - if a system exception occurred

deleteAssetCategoryAssetEntries

void deleteAssetCategoryAssetEntries(long categoryId,
                                     long[] entryIds)
                                     throws SystemException
Throws:
SystemException - if a system exception occurred

deleteAssetCategoryAssetEntries

void deleteAssetCategoryAssetEntries(long categoryId,
                                     List<AssetEntry> AssetEntries)
                                     throws SystemException
Throws:
SystemException - if a system exception occurred

getAssetCategoryAssetEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetEntry> getAssetCategoryAssetEntries(long categoryId)
                                              throws SystemException
Throws:
SystemException - if a system exception occurred

getAssetCategoryAssetEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetEntry> getAssetCategoryAssetEntries(long categoryId,
                                                                                       int start,
                                                                                       int end)
                                              throws SystemException
Throws:
SystemException - if a system exception occurred

getAssetCategoryAssetEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetEntry> getAssetCategoryAssetEntries(long categoryId,
                                                                                       int start,
                                                                                       int end,
                                                                                       OrderByComparator orderByComparator)
                                              throws SystemException
Throws:
SystemException - if a system exception occurred

getAssetCategoryAssetEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getAssetCategoryAssetEntriesCount(long categoryId)
                                      throws SystemException
Throws:
SystemException - if a system exception occurred

hasAssetCategoryAssetEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
boolean hasAssetCategoryAssetEntry(long categoryId,
                                                                            long entryId)
                                   throws SystemException
Throws:
SystemException - if a system exception occurred

hasAssetCategoryAssetEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
boolean hasAssetCategoryAssetEntries(long categoryId)
                                     throws SystemException
Throws:
SystemException - if a system exception occurred

setAssetCategoryAssetEntries

void setAssetCategoryAssetEntries(long categoryId,
                                  long[] entryIds)
                                  throws SystemException
Throws:
SystemException - if a system exception occurred

addAssetTagAssetEntry

void addAssetTagAssetEntry(long tagId,
                           long entryId)
                           throws SystemException
Throws:
SystemException - if a system exception occurred

addAssetTagAssetEntry

void addAssetTagAssetEntry(long tagId,
                           AssetEntry assetEntry)
                           throws SystemException
Throws:
SystemException - if a system exception occurred

addAssetTagAssetEntries

void addAssetTagAssetEntries(long tagId,
                             long[] entryIds)
                             throws SystemException
Throws:
SystemException - if a system exception occurred

addAssetTagAssetEntries

void addAssetTagAssetEntries(long tagId,
                             List<AssetEntry> AssetEntries)
                             throws SystemException
Throws:
SystemException - if a system exception occurred

clearAssetTagAssetEntries

void clearAssetTagAssetEntries(long tagId)
                               throws SystemException
Throws:
SystemException - if a system exception occurred

deleteAssetTagAssetEntry

void deleteAssetTagAssetEntry(long tagId,
                              long entryId)
                              throws SystemException
Throws:
SystemException - if a system exception occurred

deleteAssetTagAssetEntry

void deleteAssetTagAssetEntry(long tagId,
                              AssetEntry assetEntry)
                              throws SystemException
Throws:
SystemException - if a system exception occurred

deleteAssetTagAssetEntries

void deleteAssetTagAssetEntries(long tagId,
                                long[] entryIds)
                                throws SystemException
Throws:
SystemException - if a system exception occurred

deleteAssetTagAssetEntries

void deleteAssetTagAssetEntries(long tagId,
                                List<AssetEntry> AssetEntries)
                                throws SystemException
Throws:
SystemException - if a system exception occurred

getAssetTagAssetEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetEntry> getAssetTagAssetEntries(long tagId)
                                         throws SystemException
Throws:
SystemException - if a system exception occurred

getAssetTagAssetEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetEntry> getAssetTagAssetEntries(long tagId,
                                                                                  int start,
                                                                                  int end)
                                         throws SystemException
Throws:
SystemException - if a system exception occurred

getAssetTagAssetEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetEntry> getAssetTagAssetEntries(long tagId,
                                                                                  int start,
                                                                                  int end,
                                                                                  OrderByComparator orderByComparator)
                                         throws SystemException
Throws:
SystemException - if a system exception occurred

getAssetTagAssetEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getAssetTagAssetEntriesCount(long tagId)
                                 throws SystemException
Throws:
SystemException - if a system exception occurred

hasAssetTagAssetEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
boolean hasAssetTagAssetEntry(long tagId,
                                                                       long entryId)
                              throws SystemException
Throws:
SystemException - if a system exception occurred

hasAssetTagAssetEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
boolean hasAssetTagAssetEntries(long tagId)
                                throws SystemException
Throws:
SystemException - if a system exception occurred

setAssetTagAssetEntries

void setAssetTagAssetEntries(long tagId,
                             long[] entryIds)
                             throws SystemException
Throws:
SystemException - if a system exception occurred

getBeanIdentifier

String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

deleteEntry

void deleteEntry(AssetEntry entry)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

deleteEntry

void deleteEntry(long entryId)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

deleteEntry

void deleteEntry(String className,
                 long classPK)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

fetchEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AssetEntry fetchEntry(long entryId)
                      throws SystemException
Throws:
SystemException

fetchEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AssetEntry fetchEntry(long groupId,
                                                               String classUuid)
                      throws SystemException
Throws:
SystemException

fetchEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AssetEntry fetchEntry(String className,
                                                               long classPK)
                      throws SystemException
Throws:
SystemException

getAncestorEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetEntry> getAncestorEntries(long entryId)
                                    throws PortalException,
                                           SystemException
Throws:
PortalException
SystemException

getChildEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetEntry> getChildEntries(long entryId)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

getCompanyEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetEntry> getCompanyEntries(long companyId,
                                                                            int start,
                                                                            int end)
                                   throws SystemException
Throws:
SystemException

getCompanyEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getCompanyEntriesCount(long companyId)
                           throws SystemException
Throws:
SystemException

getEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetEntry> getEntries(AssetEntryQuery entryQuery)
                            throws SystemException
Throws:
SystemException

getEntriesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getEntriesCount(AssetEntryQuery entryQuery)
                    throws SystemException
Throws:
SystemException

getEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AssetEntry getEntry(long entryId)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

getEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AssetEntry getEntry(long groupId,
                                                             String classUuid)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

getEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AssetEntry getEntry(String className,
                                                             long classPK)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

getNextEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AssetEntry getNextEntry(long entryId)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

getParentEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AssetEntry getParentEntry(long entryId)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

getPreviousEntry

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AssetEntry getPreviousEntry(long entryId)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

getTopViewedEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetEntry> getTopViewedEntries(String className,
                                                                              boolean asc,
                                                                              int start,
                                                                              int end)
                                     throws SystemException
Throws:
SystemException

getTopViewedEntries

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetEntry> getTopViewedEntries(String[] className,
                                                                              boolean asc,
                                                                              int start,
                                                                              int end)
                                     throws SystemException
Throws:
SystemException

incrementViewCounter

AssetEntry incrementViewCounter(long userId,
                                String className,
                                long classPK)
                                throws PortalException,
                                       SystemException
Throws:
PortalException
SystemException

incrementViewCounter

AssetEntry incrementViewCounter(long userId,
                                String className,
                                long classPK,
                                int increment)
                                throws SystemException
Throws:
SystemException

reindex

@Transactional(propagation=SUPPORTS,
               readOnly=true)
void reindex(List<AssetEntry> entries)
             throws PortalException
Throws:
PortalException

search

@Transactional(propagation=SUPPORTS,
               readOnly=true)
Hits search(long companyId,
                                                     long[] groupIds,
                                                     long userId,
                                                     String className,
                                                     String keywords,
                                                     int start,
                                                     int end)
            throws SystemException
Deprecated. As of 6.2.0, replaced by search(long, long[], long, String, String, int, int, int)

Throws:
SystemException

search

@Transactional(propagation=SUPPORTS,
               readOnly=true)
Hits search(long companyId,
                                                     long[] groupIds,
                                                     long userId,
                                                     String className,
                                                     String keywords,
                                                     int status,
                                                     int start,
                                                     int end)
            throws SystemException
Throws:
SystemException

search

@Transactional(propagation=SUPPORTS,
               readOnly=true)
Hits search(long companyId,
                                                     long[] groupIds,
                                                     long userId,
                                                     String className,
                                                     String userName,
                                                     String title,
                                                     String description,
                                                     String assetCategoryIds,
                                                     String assetTagNames,
                                                     boolean andSearch,
                                                     int start,
                                                     int end)
            throws SystemException
Deprecated. As of 6.2.0, replaced by search(long, long[], long, String, String, String, String, String, String, int, boolean, int, int)

Throws:
SystemException

search

@Transactional(propagation=SUPPORTS,
               readOnly=true)
Hits search(long companyId,
                                                     long[] groupIds,
                                                     long userId,
                                                     String className,
                                                     String userName,
                                                     String title,
                                                     String description,
                                                     String assetCategoryIds,
                                                     String assetTagNames,
                                                     int status,
                                                     boolean andSearch,
                                                     int start,
                                                     int end)
            throws SystemException
Throws:
SystemException

search

@Transactional(propagation=SUPPORTS,
               readOnly=true)
Hits search(long companyId,
                                                     long[] groupIds,
                                                     String className,
                                                     String keywords,
                                                     int start,
                                                     int end)
            throws SystemException
Deprecated. As of 6.2.0, replaced by search(long, long[], long, String, String, int, int, int)

Throws:
SystemException

updateEntry

AssetEntry updateEntry(long userId,
                       long groupId,
                       Date createDate,
                       Date modifiedDate,
                       String className,
                       long classPK,
                       String classUuid,
                       long classTypeId,
                       long[] categoryIds,
                       String[] tagNames,
                       boolean visible,
                       Date startDate,
                       Date endDate,
                       Date expirationDate,
                       String mimeType,
                       String title,
                       String description,
                       String summary,
                       String url,
                       String layoutUuid,
                       int height,
                       int width,
                       Integer priority,
                       boolean sync)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

updateEntry

AssetEntry updateEntry(long userId,
                       long groupId,
                       String className,
                       long classPK,
                       long[] categoryIds,
                       String[] tagNames)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

updateEntry

AssetEntry updateEntry(long userId,
                       long groupId,
                       String className,
                       long classPK,
                       String classUuid,
                       long classTypeId,
                       long[] categoryIds,
                       String[] tagNames,
                       boolean visible,
                       Date startDate,
                       Date endDate,
                       Date publishDate,
                       Date expirationDate,
                       String mimeType,
                       String title,
                       String description,
                       String summary,
                       String url,
                       String layoutUuid,
                       int height,
                       int width,
                       Integer priority,
                       boolean sync)
                       throws PortalException,
                              SystemException
Deprecated. As of 6.2.0, replaced by updateEntry(long, long, String, long, String, long, long[], String[], boolean, Date, Date, Date, String, String, String, String, String, String, int, int, Integer, boolean)

Throws:
PortalException
SystemException

updateEntry

AssetEntry updateEntry(long userId,
                       long groupId,
                       String className,
                       long classPK,
                       String classUuid,
                       long classTypeId,
                       long[] categoryIds,
                       String[] tagNames,
                       boolean visible,
                       Date startDate,
                       Date endDate,
                       Date expirationDate,
                       String mimeType,
                       String title,
                       String description,
                       String summary,
                       String url,
                       String layoutUuid,
                       int height,
                       int width,
                       Integer priority,
                       boolean sync)
                       throws PortalException,
                              SystemException
Deprecated. As of 6.2.0, replaced by updateEntry(long, long, Date, Date, String, long, String, long, long[], String[], boolean, Date, Date, Date, String, String, String, String, String, String, int, int, Integer, boolean)

Throws:
PortalException
SystemException

updateEntry

AssetEntry updateEntry(String className,
                       long classPK,
                       Date publishDate,
                       boolean visible)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

updateEntry

AssetEntry updateEntry(String className,
                       long classPK,
                       Date publishDate,
                       Date expirationDate,
                       boolean visible)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

updateVisible

AssetEntry updateVisible(String className,
                         long classPK,
                         boolean visible)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

validate

void validate(long groupId,
              String className,
              long[] categoryIds,
              String[] tagNames)
              throws PortalException,
                     SystemException
Throws:
PortalException
SystemException

Liferay 6.2.0