class SoapTagService extends AbstractService implements TagService {

	@Override
	public void setFolderTags(String sid, long folderId, String[] tags) throws Exception {
		SoapFolderService folderService = getFolderService();
		WSFolder folder = folderService.getFolder(sid, folderId);
		if (folder == null)
			return;

		User user = validateSession(sid);
		checkWriteEnable(user, folderId);
		folder.setTags(tags);
		folderService.update(sid, folder);
	}

}