Java Doc for AttachmentDAO.java in » Forum » JForum-2.1.8 » net » jforum » dao » Java Source Code / Java DocumentationJava Source Code and Java Documentation
selectQuotaLimitByGroup(int groupId) Gets the quota associated to some group.
Parameters: groupId - The group id A QuotaLimit instance, or null ifno records were found.
public void
setGroupQuota(int groupId, int quotaId) Associates a quota limmit to some group.
Gets all extensions and its security options,
as well from the groups.
A map instance where the key is the extension nameand the value is a Boolean, indicating if the extension canbe used in the uploaded files. If there is no entry fora given extension, then it means that it is allowed.
isPhysicalDownloadMode
public boolean isPhysicalDownloadMode(int extensionGroupId)(Code)
Gets the download mode by the extension group id
Parameters: extensionGroupId - extension group id true = physical download mode; false = inline download mode
removeAttachment
public void removeAttachment(int id, int postId)(Code)
Rovemos an attachment.
Parameters: id - The attachment's id to remove Parameters: postId - the post id
removeExtensionGroups
public void removeExtensionGroups(String[] ids)(Code)
Removes a set of extension groups.
Parameters: ids - The ids to remove.
Gets the attachments of some message.
Parameters: postId - The post id associated with the attachments. A list where each entry is a net.jforum.entities.Attachment instance.