/** * Adds the asset tag stats to the database. Also notifies the appropriate model listeners. * * @param assetTagStats the asset tag stats * @return the asset tag stats that was added */ @Indexable(type = IndexableType.REINDEX) public AssetTagStats addAssetTagStats(AssetTagStats assetTagStats);
@Indexable(type = IndexableType.REINDEX) public DLFolder updateFolder(long folderId, long parentFolderId, String name, String description, long defaultFileEntryTypeId, List<Long> fileEntryTypeIds, int restrictionType, ServiceContext serviceContext) throws PortalException;
/** * Deletes the announcements delivery with the primary key from the database. Also notifies the appropriate model listeners. * * @param deliveryId the primary key of the announcements delivery * @return the announcements delivery that was removed * @throws PortalException if a announcements delivery with the primary key could not be found */ @Indexable(type = IndexableType.DELETE) public AnnouncementsDelivery deleteAnnouncementsDelivery(long deliveryId) throws PortalException;
/** * Updates the announcements delivery in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. * * @param announcementsDelivery the announcements delivery * @return the announcements delivery that was updated */ @Indexable(type = IndexableType.REINDEX) public AnnouncementsDelivery updateAnnouncementsDelivery( AnnouncementsDelivery announcementsDelivery);
/** * Deletes the announcements flag with the primary key from the database. Also notifies the appropriate model listeners. * * @param flagId the primary key of the announcements flag * @return the announcements flag that was removed * @throws PortalException if a announcements flag with the primary key could not be found */ @Indexable(type = IndexableType.DELETE) public AnnouncementsFlag deleteAnnouncementsFlag(long flagId) throws PortalException;
/** * Adds the browser tracker to the database. Also notifies the appropriate model listeners. * * @param browserTracker the browser tracker * @return the browser tracker that was added */ @Indexable(type = IndexableType.REINDEX) public BrowserTracker addBrowserTracker(BrowserTracker browserTracker);
/** * Deletes the user notification event with the primary key from the database. Also notifies the appropriate model listeners. * * @param userNotificationEventId the primary key of the user notification event * @return the user notification event that was removed * @throws PortalException if a user notification event with the primary key could not be found */ @Indexable(type = IndexableType.DELETE) public UserNotificationEvent deleteUserNotificationEvent( long userNotificationEventId) throws PortalException;
/** * Deletes the user tracker path with the primary key from the database. Also notifies the appropriate model listeners. * * @param userTrackerPathId the primary key of the user tracker path * @return the user tracker path that was removed * @throws PortalException if a user tracker path with the primary key could not be found */ @Indexable(type = IndexableType.DELETE) public UserTrackerPath deleteUserTrackerPath(long userTrackerPathId) throws PortalException;
/** * Deletes the user tracker path from the database. Also notifies the appropriate model listeners. * * @param userTrackerPath the user tracker path * @return the user tracker path that was removed */ @Indexable(type = IndexableType.DELETE) public UserTrackerPath deleteUserTrackerPath( UserTrackerPath userTrackerPath);
/** * Deletes the social activity limit with the primary key from the database. Also notifies the appropriate model listeners. * * @param activityLimitId the primary key of the social activity limit * @return the social activity limit that was removed * @throws PortalException if a social activity limit with the primary key could not be found */ @Indexable(type = IndexableType.DELETE) public SocialActivityLimit deleteSocialActivityLimit(long activityLimitId) throws PortalException;
/** * Deletes the social activity limit from the database. Also notifies the appropriate model listeners. * * @param socialActivityLimit the social activity limit * @return the social activity limit that was removed */ @Indexable(type = IndexableType.DELETE) public SocialActivityLimit deleteSocialActivityLimit( SocialActivityLimit socialActivityLimit);
/** * Updates the trash entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. * * @param trashEntry the trash entry * @return the trash entry that was updated */ @Indexable(type = IndexableType.REINDEX) public TrashEntry updateTrashEntry(TrashEntry trashEntry);
/** * Adds the layout revision to the database. Also notifies the appropriate model listeners. * * @param layoutRevision the layout revision * @return the layout revision that was added */ @Indexable(type = IndexableType.REINDEX) public LayoutRevision addLayoutRevision(LayoutRevision layoutRevision);
/** * Updates the asset category property in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. * * @param assetCategoryProperty the asset category property * @return the asset category property that was updated */ @Indexable(type = IndexableType.REINDEX) public AssetCategoryProperty updateAssetCategoryProperty( AssetCategoryProperty assetCategoryProperty);
/** * Adds the asset vocabulary to the database. Also notifies the appropriate model listeners. * * @param assetVocabulary the asset vocabulary * @return the asset vocabulary that was added */ @Indexable(type = IndexableType.REINDEX) public AssetVocabulary addAssetVocabulary(AssetVocabulary assetVocabulary);
/** * Updates the layout set prototype in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. * * @param layoutSetPrototype the layout set prototype * @return the layout set prototype that was updated */ @Indexable(type = IndexableType.REINDEX) public LayoutSetPrototype updateLayoutSetPrototype( LayoutSetPrototype layoutSetPrototype);
/** * Deletes the layout from the database. Also notifies the appropriate model listeners. * * @param layout the layout * @return the layout that was removed * @throws PortalException */ @Indexable(type = IndexableType.DELETE) public Layout deleteLayout(Layout layout) throws PortalException;
/** * Deletes the user notification delivery from the database. Also notifies the appropriate model listeners. * * @param userNotificationDelivery the user notification delivery * @return the user notification delivery that was removed */ @Indexable(type = IndexableType.DELETE) public UserNotificationDelivery deleteUserNotificationDelivery( UserNotificationDelivery userNotificationDelivery);
/** * Updates the user notification delivery in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners. * * @param userNotificationDelivery the user notification delivery * @return the user notification delivery that was updated */ @Indexable(type = IndexableType.REINDEX) public UserNotificationDelivery updateUserNotificationDelivery( UserNotificationDelivery userNotificationDelivery); }
/** * Deletes the plugin setting with the primary key from the database. Also notifies the appropriate model listeners. * * @param pluginSettingId the primary key of the plugin setting * @return the plugin setting that was removed * @throws PortalException if a plugin setting with the primary key could not be found */ @Indexable(type = IndexableType.DELETE) public PluginSetting deletePluginSetting(long pluginSettingId) throws PortalException;